Open XIMEA camera.

Namespace:  AForge.Video.Ximea
Assembly:  AForge.Video.Ximea (in AForge.Video.Ximea.dll) Version: 2.2.4.0 (2.2.4.0)

Syntax

C#
public void Open(
	int deviceID
)

Parameters

deviceID
Type: System..::.Int32
Camera ID to open.

Remarks

Opens the specified XIMEA camera preparing it for starting video acquisition which is done using StartAcquisition()()() method. The IsDeviceOpen property can be used at any time to find if a camera was opened or not.

Exceptions

ExceptionCondition
AForge.Video..::.VideoExceptionAn error occurred while communicating with a camera. See error message for additional information.

See Also