Specifications

sharpVISION™ Camera
sharpVISION VISION SDK
97
7.3.5. IdtSvConfigure
[nResult] = SharpML (‘IdtSvConfigure’, nCameraId, nFormat, nBinning, nRoiX,
nRoiY, nRoiWidth, nRoiHeight, nExposure, nContrast, nBrightness)
Inputs
nCameraId
Specifies a valid camera ID
nFormat
Specifies the value of the image format (Gray8, Gray16).
nBinning
Specifies the value of the binning (1x1, 2x2, 3x3, 4x4).
nRoiX, nRoiY, nRoiWidth, nRoiHeight
Specifies the values of the ROI.
nExposure
Specifies the value of the exposure time in µs.
nContrast
Specifies the contrast [0,4095].
nBrightness
Specifies the brightness [0,4095].
Outputs
nResult
Specifies the return error code of the function (0 if the function is successful, otherwise not 0)
Remarks
This function writes all the configuration parameters to the camera. If any error occurs during
the operation, the routine returns an error code in the nResult variable, otherwise it returns 0.
Note that for several parameters (nBinning, nRoiWidth, nRoiHeight and nExposure) , setting
their value to 0 means to set them to the default value. For ex. If you set 0 to exposure, you
obtain a value of 16384 for exposure.
See also: IdtSvSetParameter