MX Foundation 4
|
ARINC 708 Sampling Record. More...
#include <mxf_class_a708.h>
Data Fields | |
uint64 | timeTag |
uint32 | control |
uint32 | rate |
uint32 | errorCount |
uint32 | dataSize |
uint16 | data [128] |
The record structure MXF_A708_SAMPREC is returned by the sampling service with data and status of last record(s) received on the port.
MXF_A708_SAMPREC::timeTag |
Specifies the time when the sampling record has been received by the device. It is an absolute time expressed on the time base set for the device.
MXF_A708_SAMPREC::control |
For receive operation, the control field defines the condition under which the related record data was received.
The control bits are defined as follows:
Bit constant | Description |
---|---|
MXF_A708_RX_REC_CTRL_TOOLONGWORD_ERROR | The received word has more than 2047 bits. The first 2047 bits will be returned |
MXF_A708_RX_REC_CTRL_MANCHESTER_ERROR | Manchester error detected |
MXF_A708_RX_REC_CTRL_BOWSYNC_ERROR | Beginning of word sync error |
MXF_A708_RX_REC_CTRL_EOWSYNC_ERROR | End of word sync error |
MXF_A708_RX_REC_CTRL_NOTENOUGHBITS_ERROR | The received word has less than 1600 bits |
MXF_A708_RX_REC_CTRL_TOOMANYBITS_ERROR | The received word has more than 1600 bits |
MXF_A708_RX_REC_CTRL_BITSCNT_ERROR | Three bit field indicates a number of bits missing in the last received byte (bit count was not multiple of 8 bits). Total bit count received = dataSize * 8 bits - "BitsCnt Error" bits |
MXF_A708_SAMPREC::rate |
Time between the reception of the last two ARINC 708 words.
MXF_A708_SAMPREC::errorCount |
Total error count received. See “Receive control bit” section above for a list of detected errors.
MXF_A708_SAMPREC::dataSize |
Data size in data[ ] array (in bytes; 200 data bytes normally; 1600 bits).
MXF_A708_SAMPREC::data |
ARINC 708 Word. (100 data words normally; 1600 bits).
Note that the label part is automatically inverted by MX Foundation for transmission and reception.