Page 1 of 1
Generic Serial Hardware Interface - Set DTR
Posted: Mon Sep 27, 2004 12:23 pm
by dlock
Would it be possible to add an option to keep DTR set when not using flow control. My device only responds when when DTR is set but it doesn't use any flow control.
Posted: Mon Sep 27, 2004 1:02 pm
by ScottBot
Have you tried just setting the
DTR Flow Control option to
Enabled?
The actual meaning of these settings is:
- Disabled - Disables the DTR line when the device is opened and leaves it disabled.
- Enabled - Enables the DTR line when the device is opened and leaves it on.
- Handshake- Enables DTR handshaking.
Posted: Wed Sep 29, 2004 5:22 am
by dlock
Scott,
thanks for the reply. I tried this and it worked, not sure why this didn't work the first time.
Does the Command Terminator only work with Sent Data or can it work with Received Data as well? The device I am trying to model sends a continuous stream of monitoring data with each sample terminated by LF CR. I have managed to pick out my data through tunning of the Repsonse Time out (down to 50ms) but an input terminator would be more accurate.
The device I have sucessfully modelled is the Quasar Temperature Logger (see
http://www.electronic-kits-and-projects.com/3145.htm) I need to do some further work with the Device Properties and the VBScript that processes the inbound data stream and then I'll post the results in the Plugin forum.
Thanks again. Darren.
Posted: Wed Sep 29, 2004 12:49 pm
by ScottBot
Darren,
No the terminator will only be appended to sent data. In your example, I can see how an input terminator would work better than the command timeout setting. Hopefully you should be able to parse it out correctly using a VBScript.