• English
  • Deutsch

IC Imaging Control .NET

ICImagingControl.InputChannels Property

ICImagingControl.InputChannels Property

Returns a collection of available input channels for the current video capture device.
public InputChannel[] InputChannels;

Run time only, read only. Only available when a device is open and valid.


This example displays all available input channels in a combo box. If no input channels are available, the text "n/a" will be displayed in the combo box. In this case the combo box will be disabled. The combo box for the input channels is named "cboInputChannel" in this example.

cboInputChannel.Items.Clear(); if( ICImagingControl1.InputChannelAvailable ) { // If input channels have been found, add them to the combobox. foreach( InputChannel Item in ICImagingControl1.InputChannels ) { cboInputChannel.Items.Add(Item.Name); } cboInputChannel.SelectedIndex = cboInputChannel.Items.IndexOf(ICImagingControl1.InputChannel); cboInputChannel.Enabled = true; } else { // No input channels have been found. cboInputChannel.Items.Add("n/a"); cboInputChannel.Enabled = false; cboInputChannel.SelectedIndex = 0; }

A complete example of how to get the video capture device properties can be found in the Making Device Settings chapter.

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

<< ICImagingControl

Get in touch with us

About The Imaging Source

Established in 1988, The Imaging Source is one of the leading manufacturers of industrial cameras, video converters and embedded vision components for factory automation, quality assurance, medicine, science, security and a variety of other markets.

Our comprehensive range of cameras with USB 3.1, USB 3.0, USB 2.0, GigE, MIPI interfaces and other innovative machine vision products are renowned for their high quality and ability to meet the performance requirements of demanding applications.

ISO 9001:2015 certified MVTEC | Edge AI + Vision Alliance | EMVA

Contact us