MX Foundation 4
|
For accessing a physical discrete channel, a logical handle to the channel is required by the programming services.
The channel handle is a reference to the physical channel holding the physical port resources.
In order to obtain an handle for the discrete channel regardless of the devices installed, an enumeration using the sequences of services mxfSystemDeviceAllGet(), mxfDeviceModuleAllGet(), and mxfModuleChannelAllGet() specifying as parameter MXF_CLASS_DISCRETE
must be performed.
The example below shows how to setup a programming environment for discrete IO handling.