QuercusVL Programming Manual
3.6.2. Methods
IsValid
●
C++:
C:
Returns true if the object contains valid information about a unit, and false is the
information is not valid. Some functions, may sometimes return, void units. In C, this
behaviour is detected as its value will be "0". In C++, however, this method is
necessary because the object, as it is not a pointer, would always be valid.
Reboot
●
C++:
C:
Reboots the unit.
In C, the parameter "h" is a handler of unit (Unit).
GetSnapshot
●
C++:
exposureTime, bool zoom, int maxSize, unsigned char* pImageData, int *imageLen, int
*focus, int *numDetectors, int *detectors, int *numRedLights, int *redLights, int
*inputValues, int *outputValues);
C:
roiBottom, int exposureTime, int zoom, int maxSize, unsigned char* pImageData, int*
imageLen,
*redLights,int *inputValues,int *outputValues)
Makes a snapshot of the unit. Returns a complete status report of detectors, virtual
traffic lights and digital inputs/outputs; as well as a live black and white snapshot JPEG
image of 0.3Mp (640 pixels wide and 480 pixels high).
Returns true if answered successfully, and false otherwise.
The image content and the focus value (current digital focus coefficient) will vary
depending on the value of the input parameters:
Zoom to false, incorrect rectangle: the image obtained corresponds to the entire
•
image captured by the unit. The focus value will not be calculated (-1).
Quercus Technologies
bool IsValid ( )
does not exist
void Reboot ( )
void VL_Unit_Reboot ( int h )
bool GetSnapshot( int roiRight, int roiTop, int roiLeft, int roiBottom, int
int VL_Unit_GetSnapshot(int h, int roiRight, int roiTop, int roiLeft, int
int *focus, int
*numDetectors, int
*detectors,int
*numRedLights,int
34
Need help?
Do you have a question about the SmartLoop TS and is the answer not in the manual?