TApxComPort.DTR

TApxComPort

property DTR : Boolean

Default: True

Determines the current state of the "data terminal ready" (DTR) signal.

Some types of remote devices require that this signal be raised before they transmit. For example, the default configuration of many modems is not to transmit data unless the PC has raised the DTR signal.

The following example lowers the DTR signal after opening the port and later raises it again:

ApxComPort := TApxComPort.Create(Self);
ApxComPort.Open := True;
ApxComPort.DTR := False;
...
ApxComPort.DTR := True;

See also: RTS