QuercusVL Programming Manual
●
GetRealTimeInformation
C++:
RealTimeInfo GetRealTimeInformation(int detectorId)
C:
int VL_Unit_GetRealTimeInformation(int h,int detectorId)
Returns the last real time event of the specified unit.
In C++, if there is no real time event for the specified detector, returns an invalid one
(see IsValid from RealTimeInformation class).
In C, the parameter “h” is a handler of unit (Unit).
In C, if there is no real time event for the specified detector, returns null.
In C, when the element is no longer needed, the function
VL_RealTimeInformation_Release must be called (see Release method from
RealTimeInformation class).
●
SetUnitTasks
C++:
bool SetUnitTasks(bool *sendInputChanges)
C:
int VL_Unit_SetUnitTasks(int h, int *sendInputChanges)
Sets the status of unit tasks. The unit will inform the central system about the changes
in digital inputs, if sendInputChanges is true, if false not.
Returns true if the query was successful, or false otherwise.
In C, the parameter “h” is a handler of unit (Unit).
●
SetDetectorTasks
C++:
bool SetDetectorTasks(int id, bool enableSummaries, bool
enableIncidences, bool sendSummaries, bool sendIncidences, bool
sendRealTimeInformation)
C:
int VL_Unit_SetDetectorTasks(int h, int id, bool enableSummaries, bool
enableIncidences, bool sendSummaries, bool sendIncidences, bool
sendRealTimeInformation)
Sets the status of the indicated (id) detector tasks.
Returns true if the query was successful, or false otherwise.
In C, the parameter “h” is a handler of unit (Unit).
●
GetUnitTasks
C++:
bool GetUnitTasks(bool *sendInputChanges)
C:
int VL_Unit_GetUnitTasks(int h, int *sendInputChanges)
Quercus Technologies
37