IC Imaging Control .NET

ICImagingControl.InputChannel Property

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:
[VB.NET]
Public InputChannel As String
[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:

[VB.NET]
Dim Inp As InputChannel Inp = IcImagingControl1.InputChannels(0) IcImagingControl1.InputChannel = Inp.Name
[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

Get in touch with us


About The Imaging Source

Established in 1990, The Imaging Source is one of the leading manufacturers of industrial cameras, frame grabbers and video converters for production automation, quality assurance, logistics, medicine, science and security.

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

Automated Imaging Association ISO 9001:2015 certified

Contact us