MX Foundation 4
|
Discrete Receive Sampling record. More...
#include <mxf_class_flexdio.h>
Data Fields | |
uint64 | timeTag |
uint32 | control |
uint32 | rate |
uint32 | errorCount |
uint32 | reserved |
uint64 | data |
uint64 | edge |
This record structure is returned by the sampling service.
uint64 MXF_FLEXDIO_SAMPREC::timeTag |
Specify the time when the sampling record has been received by the device. It is an absolute time expressed on the timebase set for the device. The time tag may also be disabled with the KMXF_FLEXDIO_MODULE_RX_TIMETAG_ENABLE attribute.
uint32 MXF_FLEXDIO_SAMPREC::control |
Not used.
uint32 MXF_FLEXDIO_SAMPREC::rate |
Time between the reception of the last two records expressed in the resolution of the process time base (usec or nsec). The maximum is about 1 sec; 4000000 in nsec or 4000 seconds in usec. If time tag is disabled, the rate will always be set to 0.
uint32 MXF_FLEXDIO_SAMPREC::errorCount |
Not used.
uint32 MXF_FLEXDIO_SAMPREC::reserved |
Reserved for future use.
uint64 MXF_FLEXDIO_SAMPREC::data |
Discrete data.
uint64 MXF_FLEXDIO_SAMPREC::edge |
Discrete edge capture word. Bit set to one in this field means that the corresponding discrete line changed state. The first record after the activation of the receive operation will have this field set to 0 to give the initial state of the discrete lines.