LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Linux - Problem: Importing Shared Library - Meilhaus 1208 FS-Plus

Hello there,

 

I have a problem with importing a shared library. For a test system I want to use a hardware from Meilhaus (RedLab 1208FS-PLUS). With Windows everything works as I imagine it.
But I would like to run the complete system under Linux (cost, stability, etc...).

 

Unfortunately only headers and .c files are provided for this. From the .c file I could already create a .so file. At least I think I succeeded.
(gcc -shared -o usb-1208FS-Plus.so -fPIC usb-1208FS-Plus.c)

 

LabVIEW also recognizes all the functions. But when importing it fails at the stdint.h file or the recognition of the variable types. But I wonder why LabVIEW does not find the stdint.h file. Even if I specify paths, there is always an error message. However, manually specifying the file types works.

 

So the library is created. But no function is executable. The problem is: "undefined symbol".

 

VI Error.png


Unfortunately I don't know much about libraries, Linux and C stuff.

I have provided some screenshots and the files in the attachment.

 

Does anyone have experience with this and can help me?

 

Many thanks in advance

Tony

 

openSUSE 15.2

LabVIEW 2020

Meilhaus RedLab 1208 FS-PLUS

 

 

0 Kudos
Message 1 of 1
(695 Views)