| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
SerialPort.GetCTS
Queries current CTS mode.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| SerialPort | 3.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No |
MBS( "SerialPort.GetCTS"; PortReference ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| PortReference | The reference number of the port. You get this number from SerialPort.Open when you open the port. | $port |
Result
Returns current value (0 or 1) or error message.
Description
Queries current CTS mode.If enabled, the CTS (clear-to-send) signal is monitored for output flow control.
Than if CTS is turned off, output is suspended until CTS is sent again.
See also
- SerialPort.GetDSR
- SerialPort.GetDTR
- SerialPort.GetRTS
- SerialPort.GetTag
- SerialPort.GetXON
- SerialPort.Open
- SerialPort.SetCTS
- SerialPort.SetRTS
- SerialPort.Setup
- SerialPort.SetXON
Release notes
- Version 12.3
- Implemented SerialPort.GetCTS, SerialPort.GetDSR, SerialPort.GetDTR, SerialPort.GetRTS, SerialPort.SetCTS, SerialPort.SetDSR, SerialPort.SetDTR, and SerialPort.SetRTS for Linux.
Blog Entries
This function is free to use.
Created 18th August 2014, last changed 30th May 2022
MarkDown version: SerialPortGetCTS.md