MultiCam Boards Documentation > MultiCam Documentation > MultiCam Reference > Channel Class > Channel Creation

Channel Creation

To create a channel, go through the following three steps.

  1. Create a channel instance.
  2. Associate the channel to a board.
  3. 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

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);