serGetDSR (Function) |
Top Previous Next |
serGetDSR returns the state of the DSR signal. This function is only supported on serial ports with control signals (typically serial port 1). The function does not work when hardware handshake is activated (see the serSetHandshake function).
Input: port : SINT (0..127) (default 1) Selects which serial port to use.
Returns: BOOL
Declaration: FUNCTION serGetDSR : BOOL;
Example: INCLUDE rtcu.inc |