int GetInQLen (int COMPort);
Returns the number of characters in the input queue of a COM port. GetInQLen does not change the input queue.
GetInQLen returns an error if you have not opened the port of if you pass an invalid value for COMPort.
Input | ||
Name | Type | Description |
COMPort | integer | A number that indicates the COM port on which to operate. This number is paired with deviceName, which represents the COM port, during the OpenComConfig function call. Default Value: 1—COM1 Valid Range: 1—1,000 |
Name | Type | Description |
len | integer | The current length of the input queue. |