MX Foundation 4
|
FlexDIO parameter attributes such as sample rate and others can be read or modified using the mxfAttributeUint64Get() and the mxfAttributeUint64Set() 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 to get 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 set attributes for a discrete input channel.