Differences between revisions 1 and 9 (spanning 8 versions)
Revision 1 as of 2012-08-29 23:52:27
Size: 746
Editor: AA6YQ
Comment:
Revision 9 as of 2012-08-30 00:13:21
Size: 1567
Editor: AA6YQ
Comment:
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
 1. in a '''CMD window''', execute the following commands: You can reset a serial port's RTS and DTR signals on Windows startup by creating a ''Windows Batch File'' containing the appropriate command, and then creating a ''Window Shortcut'' to this Batch File in the {{{Windows Startup Folder}}}. To reset COM3's RTS and DTR signals, for example, use '''Windows Notepad''' to create a Batch File named {{{RESETCOM3.bat}}} that contains
Line 7: Line 7:
   a. {{{set devmgr_show_nonpresent_**devices=1}}}
   a. {{{cd c:\windows\system32}}}
   a. {{{start devmgmt.msc}}}
{{{MODE COM3; dtr=off rts=off}}}
Line 11: Line 9:
 1. in the '''Device Manager''' window that appears after step 1.c,
   a. in the '''View''' menu, select '''Show Hidden Devices'''
   a. click on the + or triangle to the left of Ports to display a list of all present Ports
   a. click the Port you wish to delete, and strike the '''Delete''' key
   a. when asked, confirm your intention to delete the Port
----
On Windows XP, the pathname of the {{{Windows Startup Folder}}} is
Line 18: Line 11:
[:TransceiverControl:Transceiver Control] {{{C:\Documents and Settings\%username%\Start Menu\Programs\Startup}}}

where {{{%username%}}} is the username you used to log in to Windows.

On Windows 7, the pathname of the {{{Windows Startup Folder}}} is

{{{C:\users\%username%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup}}}

To create the required Shortcut, run two instances of '''Windows Explorer'''. In the first instance, navigate to the folder in which you created {{{RESETCOM3.bat}}}; in the second instance, navigate to the {{{Windows Startup Folder}}}. Then depress-and-hold the ALT key while dragging {{{RESETCOM3.bat}}} from the first instance of Windows Explorer to the second; when you release the left mouse button, a shortcut to {{{RESETCOM3.bat}}} will appear in the {{{Windows Startup Folder}}}.


[:TransceiverControl:Getting Started with Transceiver Control]

[:Multimode_Setup:Setting up CW, Phone, PSK, and RTTY Operation]

Resetting a Serial Port's RTS and DTR Signals when Windows Starts

de Joe W4TV

You can reset a serial port's RTS and DTR signals on Windows startup by creating a Windows Batch File containing the appropriate command, and then creating a Window Shortcut to this Batch File in the Windows Startup Folder. To reset COM3's RTS and DTR signals, for example, use Windows Notepad to create a Batch File named RESETCOM3.bat that contains

MODE COM3; dtr=off rts=off

On Windows XP, the pathname of the Windows Startup Folder is

C:\Documents and Settings\%username%\Start Menu\Programs\Startup

where %username% is the username you used to log in to Windows.

On Windows 7, the pathname of the Windows Startup Folder is

C:\users\%username%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

To create the required Shortcut, run two instances of Windows Explorer. In the first instance, navigate to the folder in which you created RESETCOM3.bat; in the second instance, navigate to the Windows Startup Folder. Then depress-and-hold the ALT key while dragging RESETCOM3.bat from the first instance of Windows Explorer to the second; when you release the left mouse button, a shortcut to RESETCOM3.bat will appear in the Windows Startup Folder.

[:TransceiverControl:Getting Started with Transceiver Control]

[:Multimode_Setup:Setting up CW, Phone, PSK, and RTTY Operation]

[:GettingStarted:Getting Started with DXLab]

ResetCOMDTRRTS (last edited 2018-07-04 19:41:50 by AA6YQ)