Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Are dlls compatible with the compact rio?

I would like to use the instrument drivers for a Chroma 63201 electronic load on my 9014 model compact rio.

 

I tried to load them and recieved this error message:

 

Failed to download chr6320x IVI Error Converter.vi
LabVIEW:  Failed to load shared library chr6320x_32.dll:chr6320x_GetError:C on RT target device.
Deployment completed with errors

 

Is it possible to load a dll on the rio, or do I need to write my own drivers which are compatible with the rio.

 

Thanks much, 

Phil

0 Kudos
Message 1 of 6
(4,241 Views)
I don't think you would be able to run the DLL on the RTOS. What exactly are you trying to do? How are you communicating with the device?
Message Edited by Adnan Z on 09-03-2009 04:06 PM
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 2 of 6
(4,239 Views)

Hi Adnan,

 

Thanks for the input.  I am communicating to the device with the rs 232 port on the compact rio.  I can alternatively just use the rs 232 command set provided with the Chroma load, I was hoping though that I could make use of the instrument drivers to save some development time.

 

Phil

0 Kudos
Message 3 of 6
(4,232 Views)
You just need to be sure if the DLL has been compiled for the Real Time OS. Otherwise, it wouldn't work.
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 4 of 6
(4,229 Views)

Hello,

 

The reason is that the VxWorks RTOS on the 9014 requires libraries to be .out format rather than .dll. See this KB:

http://digital.ni.com/public.nsf/allkb/81D1172E3C28A5E4862575CC0076A230?OpenDocument

 

Thanks,

 

Anna K.

National Instruments
0 Kudos
Message 5 of 6
(4,204 Views)
Check out the related links at the bottom of the above KB as well for more information.
National Instruments
0 Kudos
Message 6 of 6
(4,203 Views)