SETPORT |
|
|
The SETPORT command sets communications parameters of a serial port.
Format
SETPORT port {BAUD rate} {BITS bits.per.byte} {PARITY parity} {STOP.BITS stop} {BRIEF}
where
The port must not be open in the application when this command is executed.
If only port is given, the current settings of the port are reported.
On some systems, it may be necessary to change the permissions on the device driver to make it accessible to users.
Example
SETPORT COM1 BAUD 9600 BITS 7 PARITY ODD STOP.BITS 1
See also: |