Specifications

sharpVISION™ Camera
sharpVISION VISION SDK
21
3.1.5. SvEnumCameras
SV_ERROR SvEnumCameras( PSV_ENUMITEM pItemList, unsigned long
*pItemNr )
Return values
SVC_SUCCESS if successful, otherwise
SVC_FIREWIREFAULT, if an error occurred while calling the firewire driver.
Parameters
pItemList
Specifies the pointer to an array of SV_ENUMITEM structures.
pItemNr
Specifies the pointer to the variable that receives the number of detected cameras.
Remarks
The routine enumerates the cameras connected to the computer and fills the SV_ENUMITEM
structures with information about the cameras detected. This routine must be called before
SvOpenCamera to find out which cameras are available. The pItemNumber variable must
specify the number of structures in the pItemList array and receives the number of detected
cameras.
See also: SvOpenCamera