DSRHolding

This property determines the state of the Data Set Ready (DSR) line. Typically, a modem sends a DSR signal to its attached computer to indicate that the modem is ready to operate.

Syntax

object.DSRHolding

Parameters

object
Object expression that evaluates to a Comm control.

Return Values

The following table shows the return values for the DSRHolding property.

Value
Description
True Data Set Ready line high
False Data Set Ready line low

Remarks

The DSRHolding property is unavailable at design time. It is read-only at run time.

When the DSR line is high (DSRHolding = True) and has timed out, the Comm control sets the CommEvent property to comEventDSRTO (Data Set Ready Timeout) and invokes the OnComm event.

This property is useful when writing a Data Set Ready/Data Terminal Ready handshaking routine for a Data Terminal Equipment (DTE) machine.