Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
SerialPort.GetDTR
Queries whether DTR (data-terminal-ready) flow control is used.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
SerialPort | 3.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No |
MBS( "SerialPort.GetDTR"; 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 whether DTR (data-terminal-ready) flow control is used.See also
- SerialPort.GetDSR
- SerialPort.GetRTS
- SerialPort.GetTag
- SerialPort.GetXON
- SerialPort.Open
- SerialPort.SetDSR
- SerialPort.SetDTR
- SerialPort.SetRTS
- SerialPort.SetTag
- 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