- Name
-
SetFlowControl -- set flow control for serial port connection (V8.0)
- Synopsis
-
SetFlowControl(id, flow)
- Function
-
This command can be used to set the flow control 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 flow control mode in the flow
parameter. This must be one of
the following special constants:
#FLOW_OFF:
-
Do not use any flow control.
#FLOW_HARDWARE:
-
Use hardware flow control using CTS/RTS.
#FLOW_XON_XOFF:
-
Use software flow control using XON/XOFF handshaking.
- Inputs
-
- id
- identifier of the serial port connection to use
- baud
- desired flow control type
Show TOC