- Name
-
SetBaudRate -- set baud rate for serial port connection (V8.0)
- Synopsis
-
SetBaudRate(id, baud)
- Function
-
This command can be used to set the baud rate for the serial port connection specified
in
id
. This serial port connection must have been opened using OpenSerialPort() before.
You have to pass the desired baud rate in the baud
parameter. This must be one of
the following special constants:
#BAUD_300:
-
300 bits per second.
#BAUD_600:
-
600 bits per second. (V9.0)
#BAUD_1200:
-
1200 bits per second. (V9.0)
#BAUD_2400:
-
2400 bits per second.
#BAUD_4800:
-
4800 bits per second.
#BAUD_9600:
-
9600 bits per second.
#BAUD_19200:
-
19200 bits per second.
#BAUD_38400:
-
38400 bits per second.
#BAUD_57600:
-
57600 bits per second.
#BAUD_115200:
-
115200 bits per second.
#BAUD_460800:
-
460800 bits per second.
- Inputs
-
- id
- identifier of the serial port connection to use
- baud
- desired baud rate
Show TOC