Specifications

sharpVISION™ Camera
sharpVISION SDK Reference
22
3.1.6. SvOpenCamera
SV_ERROR SvOpenCamera( unsigned long cameraId, SV_HANDLE* pHandle )
Return values
SVC_SUCCESS if successful, otherwise
SVC_INVALIDCAMERAID, if the camera ID is not valid.
SVC_UNKNOWNCAMERA, if the camera model is unknown to this version of the driver.
SVC_FIREWIREFAULT, if an error occurred while calling the firewire driver.
Parameters
cameraId
Specifies the ID of the camera to be opened.
pHandle
Specifies the pointer to the variable that receives the camera handle.
Remarks
The routine opens the camera whose ID is in the variable cameraId. The value can be
retrieved calling the SvEnumCameras (see SV_ENUMITEM structure).
See also: SvCloseCamera