Channel Creation
To create a channel, go through the following three steps.
- Create a channel instance.
- Associate the channel to a board.
- Select the connector.
Channel Instance Creation
The channel is created with the McCreate or McCreateNm function.
The By-Ident Method
McCreate(MC_CHANNEL, &m_Channel);
The By-Name Method
McCreateNm("CHANNEL", &m_Channel);
Maximum number of Channels
- At any time, up to 2048 MultiCam channels can exist in a single process.
- At any time, up to 64 MultiCam channels can exist on a Domino or Grablink board.
- At any time, up to 256 MultiCam channels can exist on a Picolo board.
Channel-Board Association
The targeted board is identified by one of the 4 channel parameters: DriverIndex , PciPosition, BoardName or BoardIdentifier.
Example
McSetParamInt(m_Channel, MC_DriverIndex, 0);
Connector Selection
For boards with multiple camera connectors, it is required to set the channel parameter Connector.
Note. For boards having multiple topologies, it is required to define the BoardTopology before the first channel creation on this board.
Example
McSetParamInt(m_Channel, MC_Connector, MC_Connector_VID1);