serGetDCD (Function) |
Top Previous Next |
serGetDCD returns the state of the DCD 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 serGetDCD : BOOL;
Example: INCLUDE rtcu.inc |