MX Foundation 4
|
Analog parameters, like conversion period and input range can be read or modified using the mxfAttributeUint64Get(), mxfAttributeDoubleGet(), mxfAttributeUint64Set() and mxfAttributeDoubleSet() functions, passing the handle (device, module or channel) and attribute key-value pair.
See the section Attributes Reference for a description of all supported attributes.
Some other utility functions are used for getting more information about attributes;
Returns the name, type and property of an attribute.
Gets the scope of an attribute; min/max values, resolution.
Returns the attribute list of the specified handle (device, module or channel).
Returns the number of attributes related to a specific handle (device, module or channel).
The following code shows how to configure an ADC module conversion period to 100msec and input range to +/-5V.