NI Linux Real-Time Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW Manager (labviewv.lib) support for Linux RT targets?

Solved!
Go to solution

(First posted at http://forums.ni.com/t5/LabVIEW/LabVIEW-Manager-labviewv-lib-support-for-Linux-RT-targets/m-p/319892... , but then I realized this community is a better place to ask)

Hi all,

I have a cRIO 9030 and I'd like write a custom C/C++ shared library for it, to be called from my RT VIs. I'd like to call LabVIEW Manager functions from my custom library.

So far, I've found http://www.ni.com/tutorial/14690/en/ which shows me how to cross-compile an *.so for Linux RT. However, I couldn't find anything about LabVIEW Manager on Linux RT.

If I create such a a library for Windows, I'd include extcode.h and link my library against labviewv.lib. Is there a Linux RT version of labviewv.lib?

Thanks!

Certified LabVIEW Developer
0 Kudos
Message 1 of 3
(3,684 Views)
Solution
Accepted by topic author JKSH

It was covered pretty completely in the linked NI forums thread: your library code should include the needed header to define the functions (extcode.h), then the symbols will be resolved on load as they are being provided by the LabVIEW runtime on the target.

0 Kudos
Message 2 of 3
(2,955 Views)

Yep, the answer came on the other thread while this post was awaiting moderation.

Kudos to all who replied!

Certified LabVIEW Developer
0 Kudos
Message 3 of 3
(2,955 Views)