Perhaps someone can send an example which works on myRIO. communication with devices connected to serial port supports 64-bit Linux supports Delphi. I also tried it with a dll file in the same folder but it didn't help. Delphi and C++ Builder component for serial communication. I guess that I have to edit my c++ code to export my function (symbol). Would be very happy if anyone can help me. I've tried a lot things to solve this problem but I couldn't find a solution. To correct this error, right-click the Call Library Function Node and select Configure from the shortcut menu. Setting the properties for the "Call Library Function Node" (see screenshots 4-7)Īfter I run this VI i get this error message: LabVIEW: (Hex 0圆27) The function name for the. creating a VI that calls this library from Labview with a "Call Library Function Node" (see screenshot3)ĥ. putting this file on myRio (path: /usr/local/lib/)Ĥ. building a shared library (.so) from my c++ project in Eclipse (with Cross GCC)ģ. This page is an attempt to help explain these settings and show you how to configure a serial port in Linux correctly. When dealing with the termios.h header, there are many finicky settings buried within multiple bytes worth of bitfields. writing a c++ file in Eclipse (see screensot 2)Ģ. Unluckily, using serial ports in Linux is not the easiest thing in the world. For testing reasons I want to have a function that adds 2 values and gives the result.ġ. I tried already these Tutorials and Advices but I didn't find a solution:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |