LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

outp() doesn't work in CVI for LVRT

Hello,
I am trying to write a simple, no frills driver (as a DLL to be used in LVRT) for a generic Analog I/O board (PC/104 based, so it's an ISA bus). But when I select "LabView RT" or "Instrument Driver" as a target for my DLL, functions like outp() and outpw() produce link errors. Is there a simple and quick way to access I/O ports in this environment?
Thank you.
0 Kudos
Message 1 of 4
(3,737 Views)
No, the low level driver support is not available under LV RT. CVI accomplishes this functionality by providing a generic driver for Windows to do these kernel level functions. This driver can't be used on the RT OS. I don't know of any way to do this under LV RT. You definately don't have a way to do it from CVI, but there may be a way in LabVIEW RT. You might want to post this question to the LV RT forum to see if there is a way from LabVIEW.

Best Regards,

Chris Matthews
National Instruments
0 Kudos
Message 2 of 4
(3,737 Views)
Thanks, Chris!
On the same note, is there a way to use functions like viPoke() and viOut() without going through full blown VISA development process?

Thanks.
0 Kudos
Message 3 of 4
(3,737 Views)
I'm not sure what you mean by the full blown VISA development process. To use viPoke() and viOut() you would have to have a valid VISA session to your resource which would mean a few more function calls to configure and close the connection. I haven't used VISA for low level communication though, so I'm not sure exactly what it would involve.

Chris
0 Kudos
Message 4 of 4
(3,737 Views)