Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter TwelveInternet Functions (continued)

SerialGetRxQueueCount Function

Overview

The SerialGetRxQueueCount function returns the number of unread characters in the receive queue.

Syntax/Parameters

Syntax

int = SerialGetRxQueueCount ( handle hSerial );

Parameters

hSerial

A handle to a Serial Port Object.

Return Value

Returns an int containing the number of available characters or a formatted error code on failure.

Remarks

The Rx queue count does not count any characters loaded by the SerialRxLine, SerialRxBlock or SerialRxString that may be in the buffer but failed because of a time-out.

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic