10-11-2022 02:10 AM
Hi, I am interested in using the NI Network Variables that are available in LabWindows/CVI. I spent much time to find out the functionality is available from NI Linux RT, but nothing for me.
I want to use Network Variables between Windows application and NI Linux RT application, Windows application use rad studio with NI Network Variables standalone version, NI Linux RT application use Eclipse.
I got the header file(cvinetv.h) and library(cvinetv.lib), but i can't find cvinetv.so for NI Linux RT.
Thanks!
10-12-2022 09:19 AM
Same, I looked in my install of CVI for Linux, I found the .h but not the .so
10-12-2022 09:38 AM
I also looked in the ni-ubuntu2004firstlook-drivers-stream.deb packages and there's no *netv* in there. I already knew that not only is there no cvi in there, but it's deeply incompatible with a parallel install of cvi for Linux. I wish they'd put cvicc and the runtime engine in there.
10-12-2022 09:40 AM
PS: where did you find cvinetv.lib ? Can't you just statically link with it ?
10-16-2022 09:36 PM
Hi gdargaud, thanks for reply.
You can obtain this API by installing LabWindows/CVI,
but it is not necessary to use the LabWindows/CVI environment.
The header file is available at
C:\Program Files\National Instruments\CVI2010\include\cvinetv.h,
and the .lib file located at
C:\Program Files\National Instruments\CVI2010\extlib\msvc\cvinetv.lib
can be linked in with whatever C development tools you are using.
10-17-2022 06:03 AM
cvinetv.lib sounds like the import library for the Windows DLL or a static Windows library. Under Linux these things are generally named *.a for the static object library archives, and there are no import libraries since the ELF shared libraries work slightly different than Windows shared library imports.
As can be seen here, it really seems a Windows only solution.