ICImagingControl.InputChannel Property

Returns or sets the input channel of the current video capture device. Available input channels can be enumerated using the InputChannels collection, which can be retrieved with a call to ICImagingControl.InputChannels.
Syntax:
[C#]
public string InputChannel;
Limitations:

Only available when a device is open and valid.

Remarks:

When the input channel is invalidated, the default input channel is selected, which depends on the current device.

The input channel depends on the current video capture device. So changing the ICImagingControl.Device property, will invalidate the input channel.

Note that input channels may not be supported on all video devices. While a frame grabber usually has several inputs to choose from, a camera that is connected directly to a USB or FireWire port will not have this feature. The Imaging Control's ICImagingControl.InputChannelAvailable can be used to determine whether input channels are supported.

Input channels may be set in live mode.

Sample:

This example selects the first channel supported by the current video capture device:

[C#]
InputChannel Inp = ICImagingControl1.InputChannels[0]; ICImagingControl1.InputChannel = Inp.Name;

Selecting devices, input channels, video norms and video formats is shown in the Making Device Settings chapter.

See also: ICImagingControl, ICImagingControl.InputChannelAvailable, ICImagingControl.InputChannels, InputChannels

<< ICImagingControl