MX Foundation 4
MXF_ANALOG_SAMPREC::data Union Reference

Contains the float or raw value.

#include <mxf_class_analog.h>

Data Fields

float value
 
uint32 rawValue
 

Field Documentation

float MXF_ANALOG_SAMPREC::data::value

Analog value in floating point representation. Use this field when the KMXF_ANALOG_MODULE_ADC_DATA_FORMAT attribute is set to VMXF_ANALOG_MODULE_ADC_DATA_FORMAT_FLOAT.

Examples:
adc_sampling.c.
uint32 MXF_ANALOG_SAMPREC::data::rawValue

Analog raw value. Use this field when the KMXF_ANALOG_MODULE_ADC_DATA_FORMAT attribute is not set to VMXF_ANALOG_MODULE_ADC_DATA_FORMAT_FLOAT.

Updated 10/23/2023