MX Foundation 4
|
Accessing a physical ARINC 717 channel requires a handle to the channel.
A channel handle is a reference to a channel holding a physical resource (port). The channel handle is the first argument to be passed to many MXF channel oriented functions.
To get the handle to an ARINC 717 physical port regardless of the installed devices, use the mxfModuleChannelGet() function by specifying the physical port index.
The mxfModuleChannelAllGet() function with the chnClass
argument MXF_CLASS_A717
can also be used.
If MXF_DEVICE_ALL
is specified with the mxfSystemDeviceAllGet() function, all handles of detected devices are returned.
On the MULTI ENHANCED module, an ARINC 717 channel can be configured on another channel class by default. To configure a channel to ARINC 717, an initialization callback set with the mxfSystemInitAttributeUint64CallbackHandler() function must be used. It is a good programming practice to avoid relying on the default channel class value (or any other attributes for that matter) and set it to the desired value.