LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to create a linux shared library in c language to use with labview

Can someone please tell me how can I create a linux shared library, to use in labview?

I will be creating 3 shared libraries, 1 for serial communication, 1 for battery status, and the last one, to detect the computers power changes, such as shutdown, restart, hibernate,sleep, logoff.

Please give me some information, so I can start coding.

Thanks.

0 Kudos
Message 1 of 9
(3,234 Views)
What are you planning to use to create the shared libraries? LabVIEW or some other programming language?
0 Kudos
Message 2 of 9
(3,220 Views)

I'm trying to make these shared libraries in c/c++.

0 Kudos
Message 3 of 9
(3,213 Views)
Then you are posting to the wrong place.
0 Kudos
Message 4 of 9
(3,204 Views)

where should I post?

0 Kudos
Message 5 of 9
(3,199 Views)
To a Linux board. That would seem pretty obvious to me.
0 Kudos
Message 6 of 9
(3,193 Views)

thanks.

0 Kudos
Message 7 of 9
(3,190 Views)

Outside of actually making the code you want to call, there is integrating it into LabVIEW. For that you'll want to start here: 

https://decibel.ni.com/content/docs/DOC-9076

0 Kudos
Message 8 of 9
(3,181 Views)

Hello,

 

Once your libraries are built, here's a discussion thread that may help you when calling the libraries.

 

https://forums.ni.com/t5/LabVIEW/Programming-a-c-application-which-is-calling-a-so-built-by/m-p/3087...

 

Michel

0 Kudos
Message 9 of 9
(3,143 Views)