LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DTR State

I am able to bring up the DTR state property node on my simple serial.vi template. I managed to set it to 0 by wiring a 0 numeric constant to one side of it but this approach is not working now. Is there another way of setting DTR state to 0. What is the sequence also? Resource Name- Propert Node- VISA Serial is this correct?
0 Kudos
Message 1 of 2
(2,547 Views)
I had a problem like this a while ago when I switched VISA versions on a computer.

I eventually got it to work by wiring a -1 to the DTR line instead of 0. Don't ask me why it worked, it just did. I have asked in the serial forum why this is, but I've never heard a reason.

As far as I know, -1 is simply an unknown (maybe uncontrolled) state whereas 0 forces 0, and 1 forces 1. Perhaps -1 allows other software / hardware to still take control of the DTR line. Your guess is as good as mine though.....

Give it a try.

Hope this helps

Shane.
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)
Message 2 of 2
(2,540 Views)