Function EN Version 4.00

@GetNTComPortInQueCount

NTComPort

Syntax

@GetNTComPortInQueCount(OSCOMHANDLE1)

Description

Only for the Engine under Windows!

Returns the number the bytes that are available at the time of the call to retrieval with @ReadNTComPort were available.

Example: @GetNTComPortInQueCount(OSCOMHANDLE1)

OSCOMHANDLE1:=@OpenNTComPort("COM1");
@LogReport(@GetNTComPortInQueCount(OSCOMHANDLE1));
OSCOMHANDLE1:=@CloseNTComPort(OSCOMHANDLE1);

Opens a COM port, returns the number the available bytes in the log file from and closes it then again.

Note : This text was machine-translated and may contain inaccuracies.