| External Interfaces/API | ![]() |
Specify the data flow control method to use
Description
You can configure FlowControl to be none, hardware, or software. If FlowControl is none, then data flow control (handshaking) is not used. If FlowControl is hardware, then hardware handshaking is used to control data flow. If FlowControl is software, then software handshaking is used to control data flow.
Hardware handshaking typically utilizes the Request to Send (RTS) and Clear to Send (CTS) pins to control data flow. Software handshaking uses control characters (Xon and Xoff) to control data flow. Refer to Controlling the Flow of Data: Handshaking for more information about handshaking.
You can return the value of the CTS pin with the PinStatus property. You can specify the value of the RTS pin with the RequestToSend property. However, if FlowControl is hardware, and you specify a value for RequestToSend, then that value might not be honored.
| Note Although you might be able to configure your device for both hardware handshaking and software handshaking at the same time, MATLAB does not support this behavior. |
Characteristics
| Read only |
Never |
| Data type |
String |
Values
{none} |
No flow control is used. |
hardware |
Hardware flow control is used. |
| software |
Software flow control is used. |
Properties
| ErrorFcn | InputBufferSize | ![]() |