LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

What library to use to link DSSetHandleSize on LabView 2009 RT

I have a C DLL that uses VISA to return BAR0 registers based upon specific resource names. I want to modify that DLL to pass in a cluster that will be filled in with all resource names from VISA. The cluster is an array of (int, string). To allocate space for the strings within the DLL, I am calling DSSetHandleSize. However, the link is failing because there are no libraries in "C:\Program Files (x86)\National Instruments\Shared\CVI\Extlib\msvc" that contain the definition.  Since I'm using RT, I'm rather constrained; but I thought this would be supported by RT.  I am building on a Windows 7 x64 box and deploying it to a PXI chassis. Any help would be appreciated.

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

It would be best if you post this question on the Real Time forums since you are working with RT.

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

Just guessing here - try linking against lvrt.dll. On my machine the RT versions are under National Instruments\RT Images\Labview\[version].

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