ar_get_rx_count

unsigned int ar_get_rx_count (short board, short channel);

Purpose

The device maintains a count of the number of ARINC data messages received over the interface for each channel since the device was last initialized (see AR_LOADSLV). This routine returns that number. 

If the API routine ar_clr_rx_count has been invoked by the host application prior to this routine’s invocation, the API logs the current value of the message count and returns the difference between that value and the value read from the device upon invocation.

Parameters

Input

Name

Type

Description

board

short

(input) Device Number of the board to reference, (valid range is 0-15).

channel

short

(input) Specifies which receive channel this routine is to access.  Valid range is 0 to one less than the installed ARINC 429 receive channel count.

Return Value

Name

Type

Description

count

unsigned int

(output) current count of ARINC messages received on the specified channel.

References

Receive Data Processing Functions
Alphabetical Function Index
Hierarchical Function Index

CEI-x30 API Description