Machine Expert > V2.1 > Software > Librerie, Modellis e Esempi > Librerie > CODESYS Libraries > CAA Can Low Level Extern Library Documentation > CAN Low Level > Functions > Diagnostic Information > GetTransmitQueueLength (FUN)

GetTransmitQueueLength (FUN)

FUNCTION GetTransmitQueueLength : CAA.COUNT

Returns number of messages in transmit queue waiting for being processed by CAN Minidriver. Diagnostic Information can be also read by GetDiagnosis.

InOut:

Scope

Name

Type

Comment

Return

GetTransmitQueueLength

CAA.COUNT

number of messages in transmit queue.

Input

hDriver

CAA.HANDLE

handle of CAN interface

peError

POINTER TO ERROR

optional pointer to error enum