MX Foundation 4
MXF_A629_SAMPREC Struct Reference

ARINC 629 Receive Sampling Structure. More...

#include <mxf_class_a629.h>

Data Fields

uint64 timeTag
 
uint32 control
 
uint32 rate
 
uint32 errorCount
 
uint32 dataSize
 
uint16 data [258]
 
uint16 reserved [2]
 

Detailed Description

Field Documentation

uint64 MXF_A629_SAMPREC::timeTag

Specify the time when the data record has been received by the device. It is an absolute time expressed on the time base set for the device.

Examples:
ar629_error_injection_detection.c, ar629_error_injection_detection.cs, ar629_updating_data_sampling.c, and ar629_updating_data_sampling.cs.
uint32 MXF_A629_SAMPREC::control

This bit field gives information about the received record.

Bit Constant Meaning
MXF_A629_RX_REC_CTRL_STRING_BUFFER_OVERFLOW An overflow condition has been detected on the preceding wordstring.
MXF_A629_RX_REC_CTRL_STRING_CRC_ERROR A CRC error was detected in the incoming wordstring.
MXF_A629_RX_REC_CTRL_STRING_SOF This wordstring is the first of the message.
MXF_A629_RX_REC_CTRL_STRING_INTERNAL_TRANSMIT This wordstring has been transmitted by the module.
MXF_A629_RX_REC_CTRL_STRING_DATA_SYNC_ERROR An invalid data sync has beed detected in the incoming wordstring.
MXF_A629_RX_REC_CTRL_STRING_CRC_ENABLED CRC check is enabled on this wordstring.
MXF_A629_RX_REC_CTRL_STRING_LABEL_MANCHESTER_ERROR A manchester error was detected in the label of the incoming wordstring.
MXF_A629_RX_REC_CTRL_STRING_LABEL_PARITY_ERROR A parity error was detected in the label of the incoming wordstring.
MXF_A629_RX_REC_CTRL_STRING_DATA_MANCHESTER_ERROR A manchester error was detected in the data of the incoming wordstring.
MXF_A629_RX_REC_CTRL_STRING_DATA_PARITY_ERROR A parity error was detected in the data of the incoming wordstring.
MXF_A629_RX_REC_CTRL_STRING_EOS_ERROR The wordstring length is more than 258 words.
Examples:
ar629_error_injection_detection.c, ar629_error_injection_detection.cs, ar629_updating_data_sampling.c, and ar629_updating_data_sampling.cs.
uint32 MXF_A629_SAMPREC::rate

Time between the reception of the last two records expressed on the timebase (microseconds or nanoseconds). The maximum is about 4 seconds in nsec or 4000 seconds in usec.

Examples:
ar629_error_injection_detection.c, ar629_error_injection_detection.cs, ar629_updating_data_sampling.c, and ar629_updating_data_sampling.cs.
uint32 MXF_A629_SAMPREC::errorCount

Total error count. See control field for a list of detected errors. Increment by one even if there is more than one error in the message.

uint32 MXF_A629_SAMPREC::dataSize
uint16 MXF_A629_SAMPREC::reserved[2]

Reserved for future use.

Updated 10/23/2023