A number of people have told me that using the VISA Property Node.vi is the way to go. It appears to have more functionality than the Device Control/Status.vi.
The VISA Property Node.vi does allow control of lines as expected, but . . . . when reading the status of a line that line's status is changed.
I was not expecting that.
I have a very simple sequence with frame 1 having a single VISA Property Node with two elements that sets RTS and DTR.
Frame 2 has a 3 second wait.
Frame 3 has another VISA Property Node with 4 elements to read the status of CTS, DCD, RTS and DTR.
When I run this I can see DTR change for 3 seconds then change back to where it started.
Any thoughts on how to check status without changing it? Or do I need to do another set status using the read result as it's input. That seems like a kludge.
Thanks,
Brooke Clarke, N6GCE
Subject: Details on use of Device Control/Status.vi From: "Brooke Clarke" <[EMAIL PROTECTED]> Date: Wed, 31 Mar 2004 11:19:29 -0800
Hi:
I'm writing an application where I need to be able to bit bang serial port output lines and check the status of serial port input lines in LV 5.1.
In the vi.lib\instr\_sersup.llb folder there is the serial line control.vi and it uses two sub VIs to allow controlling the DTR and RTS lines by using the "open serial driver.vi which can be opened and figured out plus the Device Control/Status.vi which is a yellow vi and can not be opened.
I have the feeling that with the proper inputs to Device Control/Status.vi it would be possible to read the status of the serial port input lines CTS and DCD.
Does anyone have details on using the Device Control/Status.vi?
Thanks,
Brooke Clarke Rack and Stack Systems (800) 700-TEST = 800 700-8378
