QuercusVL Programming Manual
5, only the first numRedLights positions will be written. The detectors will be located
following the same configuration order . Possible values: 0 "red state", other value "any
other state".
int *inputValues: status of the 2 digital inputs. Each one of the first 2 bits corresponds
to the status of an input, being the least significant bit for the input zero. Possible
values: 1 enabled, 0 disabled.
int *outputValues: status of the 8 digital outputs. Each one of the first 8 bits
corresponds to the status of an output, being the least significant bit for the output
zero. Possible values: 1 enabled, 0 disabled.
In C, the parameter "h" is a handler of unit (Unit).
ActivateOutput
●
C++:
C:
Enables the digital output "bit" for the "time" specified in milliseconds.
In C, the parameter "h" is a handler of unit (Unit).
GetIOValues
●
C++:
C:
Informs about the status of the digital inputs and outputs. Each one of the first 2 bits of
intputValues and 8 bits of outputValues corresponds to the status of an input/output,
being the least significant bit for the input/output zero. Possible values: 1 enabled, 0
disabled.
Returns true if answered successfully, and false otherwise.
In C, the parameter "h" is a handler of unit (Unit).
GetVersion
●
C++:
C:
Returns the firmware version of the unit.
In C, the parameter "h" is a handler of unit (Unit).
Quercus Technologies
bool ActivateOutput(int bit, int time)
int VL_Unit_ActivateOutput(int h, int bit, int time)
bool GetIOValues(int &inputValues,int &outputValues)
int VL_Unit_GetIOValues(int h, int *inputValues, int *outputValues)
VersionInformation GetVersion()
int Unit_GetVersion(int h)
36
Need help?
Do you have a question about the SmartLoop TS and is the answer not in the manual?