ar_define_msg

short ar_define_msg (short board, short channel, short rate, unsigned short start, int data);

Purpose

This routine defines a single 32-bit ARINC 429 message for periodic retransmission at the specified rate.  Once defined, the message rate, content, or assigned channel may be altered via ar_modify_msg.

Parameters

Input

Name

Type

Description

board

short

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

channel

short

(input) Device channel number on which to transmit (valid range is 0 to one less than the installed ARINC 429 transmit channel count).

rate

short

(input) Transmission rate (in milliseconds).

start

unsigned short

(input) Initial delay from the current time until the message will be transmitted for the first time (subsequent transmissions at "rate").

data

int

(input) The raw (32-bit) ARINC 429 message to transmit.

Return Value

Name

Type

Description

status

short

status of the function call, with valid values of:
Any positive value from 0 to 1023 is the unique message scheduler table entry index assigned to this message.
ARS_FAILURE indicates an uninitialized board, invalid board/channel parameter value, or message scheduler table full indication.

References

Transmit Data Processing Functions
Alphabetical Function Index
Hierarchical Function Index

CEI-x30 API Description