LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

POSIX in LabWindows/CVI?

Hi Folks,

 

I am porting a Shared Object from the Linux/C world to Windows. I would like to use LabWindows/CVI for this. The shared object makes use of some POSIX headers. (Specifically <sys/types.h> <sys/time.h> and some others.)

 

After reading here I see that LabWindows is strict ANSI C and does not include POSIX headers.

 

What do people do in this case?

 

The two suggestions I have read in the forums are to use another compiler or get the missing files from another source.

 

I would rather use LabWindows/CVI, so any suggestions on where to get the files I need? Any other suggestions?

 

Thanks!

0 Kudos
Message 1 of 2
(3,180 Views)

Hi Clendon,

 

It sounds like you probably found this forum post, which describes why POSIX is not supported by CVI. The easiest solution is to compile what you need into a .dll as Bilal described. Then you can use those functions in the CVI environment.

 

Cheers,

KyleP
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(3,163 Views)