|
In Windows 2000 or Windows NT how can I set the serial port parameters such as baud rate, parity, stop bits or flow control for my Digi ports through the device manager (Windows 2000) or the controlpanel ports (Windows NT)? In Windows 2000 or Windows NT how can I set the serial port parameters such as baud rate, parity, stop bits or flow control for my Digi ports through the device manager (Windows 2000) or the controlpanel ports (Windows NT)? Most applications pass the all required serial port parameters to COM port via the control block when opening the port. Some applications make assumptions about the default states of the serial ports and do not pass the complete set of parameters which the application requires via the control block.
When using these applications, customers may utilize the mode command to set the port parameters to the parameters the application is expecting.
Example:
If the default baud rate of the Digi port COM3 is set to 1200 baud and the application is expecting the baud rate to be preset to 9600 baud, at a command prompt type: mode com3: baud=9600 .
Use mode /? at a command prompt to see how to set other parameters.
NOTE: To avoid having to rerun the mode command to set the port settings after each reboot, you may wish to put the mode command lines you require in a batch file to run once upon boot up.
|