About PortController
Introduction
Purchasing PortController
Redistributing PortController
License Agreement
Support
Getting Started
How to Use PortController
Using PortController with Visual Basic
Using PortController with Visual C++
Using PortController with Delphi
How to Use Events
Handling Events in Visual Basic
Handling Events in Visual C++
Handling Events in Delphi
PortController Sample Projects
Reading and Writing Binary Data
Handling PortController Errors
Reference
Properties
BaudRate Property
Break Property
BytesUsedRQ Property
BytesUsedTQ Property
Cd Property
Cts Property
DataBits Property
Dsr Property
Dtr Property
DtrDsr Property
EnableReadOnEventChar Property
EventChar Property
Parity Property
PortHandle Property
PortName Property
Ring Property
Rts Property
RtsCts Property
StopBits Property
XonXoff Property
Methods
ClearRQ Method
ClearTQ Method
Close Method
GetErrorStatus Method
Open Method
Read Method
ReadBinary Method
Write Method
WriteBinary Method
SendXoff Method
SendXon Method
Events
BreakSignal Event
CdToggle Event
CtsToggle Event
DataReceived Event
DsrToggle Event
Error Event
EvtCharReceived Event
Ring Event
TQEmpty Event

RtsCts Property

Enables/Disables and returns RTS/CTS hardware handshaking status.

Syntax

Visual Basic

object.RtsCts [ = value ]

Visual C++

object.GetRtsCts()

object.SetRtsCts(value)

Delphi

object.RtsCts [:= value ]

Part Description
object An object expression that evaluates to a PortController object.
value A boolean value representing the state of RTS/CTS handshaking.

Example

Visual Basic

'Set RTS/CTS
myPortController.RtsCts = True

'Get RTS/CTS
Dim rtsCts As Boolean
rtsCts = myPortController.RtsCts

Visual C++

// Set RTS/CTS
m_myPortController.SetRtsCts(true);

// Get RTS/CTS
BOOL rtsCts = m_myPortController.GetRtsCts();

Delphi

// Set RTS/CTS
myPortController.RtsCts := Ord(True);

// Get RTS/CTS
var RtsCts: Boolean;                  // declare variable in the proper place.
RtsCts = myPortController.RtsCts <> 0;

Remarks

None

Default

False

Returns

The boolean value TRUE if RTS/CTS handshaking is on, FALSE otherwise.

Errors

None

See Also

DtrDsr, XonXoff