Devices.Item Property

Returns the Device at the specified position.
Syntax:
Public Item(Index As Long) As Device
Parameter Description
Index

Specifies the Index of the Device to return. The Index must lie in the range [1, Devices.Count ], otherwise an error occurs.

Limitations:

Read only.

Example:

This Basic example selects the first available device:

Dim DevCol As VideoFormat
Set DevCol = ICImagingControl1.Devices
ICImagingControl1.Device = DevCol.Item( 1 )

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

See also: Devices, Device, Devices.Count, Devices.FindIndex

<< Devices