Specify data flow control method to use
You can configure
FlowControl to be
then data flow control (handshaking) is not used. If
then hardware handshaking is used to control data flow. If
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. To learn more about hardware and software handshaking, refer to Use Serial Port Control Pins.
You can return the value of the CTS pin with the
You can specify the value of the RTS pin with the
and you specify a value for
that value might not be honored.
If you set the
FlowControl property to
a serial object, and a hardware connection is not detected, the
fprintf functions will return an error message.
This occurs if a device is not connected, or a connected device is
not asserting that is ready to receive data. Check you remote device's
status and flow control settings to see if hardware flow control is
causing errors in MATLAB®.
If you want to check to see if the device is asserting that
it is ready to receive data, set the
Once you connect to the device check the
there is a problem on the remote device side. If
there is a hardware
FlowControl device prepared
to receive data and you can execute
Although you might be able to configure your instrument for both hardware handshaking and software handshaking at the same time, the toolbox does not support this behavior.
Serial port, VISA-serial
No flow control is used.
Hardware flow control is used.
Software flow control is used.