Open XIMEA camera.
Namespace:
AForge.Video.XimeaAssembly: 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
Exception | Condition |
---|---|
AForge.Video..::.VideoException | An error occurred while communicating with a camera. See error message for additional information. |