ar_define_messages_from_txt_file

short ar_define_messages_from_txt_file (char * cfgFileName);

Purpose

This function defines a series of ARINC 429 messages for periodic retransmission at the specified rate from the supplied text scheduled message definition file generated via the AutoConfig ARINC utility.  See the AutoConfig ARINC User’s Manual for a description of the acceptable Scheduled Message Definition text file format.

Parameters

Input

 

Name

Type

Description

cfgFileName

char *

(input) The complete path and file name defining the Scheduled Message Definition file to be referenced by this routine.  A valid file name suffix can only be “.txt” for a Scheduled Message Definition text file.

Return Value

Name

Type

Description

status

short

status of the function call, with valid values of:
ARS_NORMAL            Success.
ARS_INVBOARD        Invalid or uninitialized board was specified in the text file.
ARS_BADLOAD          Failed to open the specified Scheduled Message Definition text file.
ARS_INVHARCMD      An invalid message scheduler attribute entry was detected in the text file.

ARS_BOARD_MUTEX  Access to the Board Lock timed-out/failed.
ARS_FAILURE            The number of entries requested exceeds the available number of entries in the referenced board’s message scheduler table.

References

Transmit Data Processing Functions
Alphabetical Function Index
Hierarchical Function Index

CEI-x30 API Description