MX Foundation 4
|
HDLC parameters such as bus speed, word parity and loopback can be read or modified using the mxfAttributeUint64Get(), mxfAttributeDoubleGet(), mxfAttributeUint64Set() and mxfAttributeDoubleSet() functions by 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 utilities 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 example code below shows how to configure an HDLC channel speed by changing the value of the internal HDLC CLOCK.
The example code below shows how to change the bit encoding and FCS for a given channel.