Name
GetDTR -- get DTR pin state for serial port connection (V8.0)
Synopsis
state = GetDTR(id)
Function
This command can be used to get the DTR pin state for the serial port connection specified in id. This serial port connection must have been opened using OpenSerialPort() before.

The return value will be one of the following special constants:

#DTR_ON:
DTR pin is set.
#DTR_OFF:
DTR pin is cleared.

Inputs
id
identifier of the serial port connection to use
Results
state
state of DTR pin as a special constant (see above)

Show TOC