LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Instrument I/O Assistant

I'm using Labview 7.0 on Windows 2000. I'd like to use the "Read and
Display" template to test communication with an serial A/D unit.
The A/D board needs an "Enter" (carriage return) command to accept
instructions and return data. But the Instrument I/O Assistant only accepts
normal keyboard commands. I also tried the various "termination character"
settings. Is there a way to send hex commands like 13h with the assistant?

Regards, Michael
0 Kudos
Message 1 of 2
(2,540 Views)
If you select '\r' as your termination character, then the command sent will be sent with an appended carriage return, or 0x0D (decimal 13). You can confirm what the actual write buffer is by using NI-Spy, then you can see if the '\r' is being appended to the write buffer. If it looks like the buffer is correct and your instrument is still not responding, you might check the serial settings for the com port; it can be difficult to get those settings correct for serial instruments.
0 Kudos
Message 2 of 2
(2,540 Views)