Function
EN
Version 4.00
@GetNTComPortModemStatus
NTComPort
Syntax
@GetNTComPortModemStatus(OSCOMHANDLE1);
Description
Only for the Engine under Windows!
Current status of a modem on COM port with OSCOMHANDLE OSCOMHANDLE1 query and return.
Return value:
Bit HEX C-Symbol meaning
5 0010 MS_CTS_ON The CTS-line is HIGH
6 0020 MS_DSR_ON The DSR-line is HIGH
7 0040 MS_RING_ON The ring indicator signal is HIGH
8 0080 MS_RLSD_ON The RLSD-signal (DCD) is HIGH
Example: @GetNTComPortModemStatus(OSCOMHANDLE1);
OSCOMHANDLE1:=@OpenNTComPort("COM1");
@LogReport(@GetNTComPortModemStatus(OSCOMHANDLE1));OSCOMHANDLE1:=@CloseNTComPort(OSCOMHANDLE1);
Opens a COM port, queries the modem status from, outputs them to log file and closes it then again.
Note : This text was machine-translated and may contain inaccuracies.
