Jump to content

Yaw Mensah

  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by Yaw Mensah

  1. Thank you for your replies. https://github.com/ni/niveristand-scan-engine-ethercat-custom-device/ seem like it's not supported for LabView on Linux. The goal is to use any random linux computer as an ethercat-master.
  2. The NI Industrial Communication for EtherCAT driver is only supported for windows. I will look for other possibilities. Maybe somebody have already tried to interface a Ethercat dll before and i can get some good suggestions.
  3. When I try writing to a named pipe i get error 1. But reading from the pipe works fine. I have already set the pipe to allow read/write acess with "chmod 666". Is there something else i can do.
  4. I need to develop a LabView Ethercat-Master to exchange data with a ethercat- slave. I have looked into the IgH Ethercat- Master and the Simple Open EtherCAT Master Library. The next step is to find out which Library is best suited to be used to developed the LabView functions. If there is a better library for this task or have you have already done something like this free to reply.
  5. There is an example application that acquires an image and streams it to the display. With minor changes i could send those images to the pipe.
  6. I want to write a c application the acquire images send it to the pipe. On the orther side of the pipe, i would than use the read.vi to read the images in labview.
  7. I am trying to read images from my Gige camera, but on LabView Linux Imaqdx is not available. So i tried wrapping the vendors Gige implementation. But i had some problems regarding passing handles and the callback function to receive the images. If someone have experience regarding image- aquisition without imaqdx or know a different way, i would be grateful for your suggestions.
  8. Is it possible to call a static library in Labview, without calling it through a shared library? Thank you in advance for your replies.
  9. Thanks for all your suggestion and the recommended references. Due to your help i was able to make a wrapper for some function in opencv 3.2. It is possible to use both c and c++ elements. Just needed to handle the name mangling and compile with a c++ compiler. Thank you all very much.
  10. Thank you very much. Do you know a reference targeting Labview on linux for this matter. Wouldn´t i avoid this whole mess by only using an Opencv version with a c api?
  11. Does anyone know the exact version when opencv droped the c api.
  12. Calling a function or use of a datatype from <opencv2/opencv.hpp> result in a name mangling or undefined variable issues.
  13. I'm using labview on Linux, which does not support dotnet. So EmguCv is not an option. I thought about only using the C API in opencv to avoid name mangling and undefined variables issues, but the later version of opencv doesn't support C API. i'm now stuck at figuring out how to call the c++ function in a c calling conventtion. example code: #include <stdio.h> #include <opencv2/opencv.hpp> using namespace cv; using namespace std; extern "C"{ int displayimage() { Mat image(400,400, CV_8UC3, Scalar(0,0,255)); image = imre
  14. I am trying to create to shared library with opencv to acess a picture. I have no experience on this topic. If anyone have a referece or example-code that can help me develope an understanding i would be very thankful. Rigth now i have created a shared libray to display a picture. But i get the error that Mat variable is not defined when it is called in labview. I will be thankful for any suggestions.
  15. Thank you very much. Call Library Function Node doesn't change the name and calls the fuctions as desired.
  16. I have created a simple shared library with an add function. When I try to call it with the Call Library Function Node, it always change the name, e.g. add() to Z2addii(). In the Error is always the same error. Call Library Function Node 'libtestshared.so.Z2addii: not found in library. When i change the functionname in the shared library to Z2addii the Call Library Function Node then calls the Z3Z2addiiii. But when i compiler a c-programm which uses the shared library i get the desired output. I will be grateful for suggestions.
  17. It works now. In Addition to installing everything i needed libxinerama1:i386 und libgl1:i386. Those two can be installed with apt-get install. Thank you for your suggestions.
  18. Is there a way to convert the 32-Bit rpm to deb so they can installed?
  19. file /usr/local/JKI/VIPM/vipm /usr/local/JKI/VIPM/vipm: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.33, BuildID[sha1]=ff35d7adc7d9ef4e1ee0b41f6d67085e2c22dbe7, stripped file /usr/local/JKI/VIPM/support/*.so /usr/local/JKI/VIPM/support/lvanlys.so: ELF 32-bit LSB pie executable, Intel 80386, version 1 (SYSV), dynamically linked, stripped /usr/local/JKI/VIPM/support/lvzlib.so: ELF 32-bit LSB pie executable, Intel 80386, version 1 (SYSV), dynamically linked, with debug_info, not stripped After tha
  20. In the folder there different files for different architecture. For example I would delete nicurli-15.1.0-f0.i386.rpm but install nicurli-15.1.0-f0.x86_64.rpm and nicurli-15.1.0-32-Bit-f0.x86_64.rpm. If i leave nicurli-15.1.0-f0.i386.rpm there alien report wrong architecture and doesn´t convert.
  21. I am trying to install the package manager, vipm-17.0.2018-linux, for LabView on Debian Linux and it is a total mess. I copied the folder /JKI and all the contents to /usr/local. And installed the rpm files in the LabVIEW2015SP1RTE_Linux folder by converting them with alien to deb files. I removed the 32-Bit rpm files before converting them. When i try to execute run it doesn´t find the libraries. I will be grateful for any suggestions.
  22. I have checked the LabView version and it was the full version not the pro version. After installing the pro version appbuilder works just fine. Here is how i installed it using alien and dpkg. mount lv2020pro-linux.iso /media/cdrom0 cd /media/cdrom0/ sudo mkdir /home/ll/Downloads/Software/labviewpro sudo cp -r * /home/ll/Downloads/Software/labviewpro/ cd /home/ll/Downloads/Software/labviewpro/ sudo rm ni*i386.rpm sudo alien -k -c *.rpm sudo -s dpkg -i labview-2020-core_20.0.0-1_amd64.deb dpkg -i labview-2020-desktop_20.0.0-1_amd64.deb dpkg -i labview-2020-exe_20.
  23. It is a LabView Professeional. The Iso contained an Insataller for Mac and Linux. The installation on a Mac went good and the option "Application" was available. But on Linux, Debian Buster, the option is not available.
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.