Specifications

sharpVISION™ Camera
sharpVISION SDK Reference
90
7.2.3. IdtSvEnumCameras
[nResult, nItems, svArray] = SharpML (‘IdtSvEnumCameras’)
Inputs
None
Outputs
nResult
Specifies the return error code of the function (0 if the function is successful, otherwise not 0)
nItems
Specifies the number of detected cameras
svArray
Specifies the array containing the IDs of the detected cameras
Remarks
The routine enumerates the active cameras and return an array filled with the detected
cameras IDs. This routine must be called before IdtSvOpenCamera to find out which
cameras are available. The nItems variable contains the number of detected cameras. If any
error occurs during the cameras enumeration, the nResult variable contains an error code.
See also: IdtSvOpenCamera