MX Foundation 4
MXF_ANALOG_SAMPREC Struct Reference

Analog Receive (Sampling) Record. More...

#include <mxf_class_analog.h>

Data Structures

union  data
 Contains the float or raw value. More...
 

Data Fields

uint64 timeTag
 
uint32 control
 
uint32 rate
 
uint32 errorCount
 
uint32 reserved
 

Detailed Description

This Analog record structure is needed when receiving (sampling).

Examples:
adc_sampling.c.

Field Documentation

uint64 MXF_ANALOG_SAMPREC::timeTag

Specifies 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:
adc_sampling.c.
uint32 MXF_ANALOG_SAMPREC::control

Not used.

uint32 MXF_ANALOG_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.

uint32 MXF_ANALOG_SAMPREC::errorCount

Not used.

uint32 MXF_ANALOG_SAMPREC::reserved

Reserved for future use.

Updated 10/23/2023