MX Foundation 4
|
Flex Analog Sampling Receive Record. More...
#include <mxf_class_flexanalog.h>
Data Fields | |
uint64 | timeTag |
uint32 | control |
uint32 | rate |
uint32 | errorCount |
uint32 | dataSize |
uint64 | dataMask |
uint16 | data [64] |
This record structure is used to receive (sampling) Flex Analog data.
MXF_FLEXANALOG_SAMPREC::timeTag |
Specifies the time when the data record has been received by the device. It is an absolute time expressed on the timebase set for the device.
MXF_FLEXANALOG_SAMPREC::control |
Future use.
MXF_FLEXANALOG_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.
MXF_FLEXANALOG_SAMPREC::errorCount |
Not used.
MXF_FLEXANALOG_SAMPREC::dataSize |
Number of bytes received in data array.
MXF_FLEXANALOG_SAMPREC::dataMask |
Mask of received channel in data array. Correspond to KMXF_FLEXADC_MODULE_CHN_SELECTION.
MXF_FLEXANALOG_SAMPREC::data |
Array of ADC code read. This array is packed and goes with the dataMask. The first index goes with the first bit set to one in the dataMask, the second index with the second bit set to one in dataMask, and so on. The ADC code can be converted to a voltage value with mxfFlexAdcDataConvert().