I am controlling an external device (amateur radio) from the RS-232 port, using a specific software. I am using the DTR line for this, but my problem is that this pin goes high by default when I exit this software and return back to Windows XP, which is not what is desirable for the external device.

Is there any way I can set the default RS-232 pin levels/states, when the port is not in use by my device control application? Is this an option in Windows or is there some software that allows me to do this?

Re: Control of default RS-232 pin levels? by Maxim

Maxim
Thu Jul 22 11:24:46 CDT 2004

There are lots of Win32 functions to control the serial port like
SetCommState.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com


"Kristinn Andersen" <Kristinn Andersen@discussions.microsoft.com> wrote in
message news:D6B9CD75-A5ED-4130-80D4-9D2F74524754@microsoft.com...
> I am controlling an external device (amateur radio) from the RS-232 port,
using a specific software. I am using the DTR line for this, but my problem is
that this pin goes high by default when I exit this software and return back to
Windows XP, which is not what is desirable for the external device.
>
> Is there any way I can set the default RS-232 pin levels/states, when the
port is not in use by my device control application? Is this an option in
Windows or is there some software that allows me to do this?