QuercusVL Programming Manual
C:
void VL_OnSummary(int hSummary)
Event launched for a real time event. The parameter “summary” receives event data
(check “Summary” class).
In C, the parameter “hSummary” is a handler of Summary. If you need to keep
hSummary element out of the function scope, VL_Summary_AddRef should be called to
add a reference (see method AddRef from Summary class), and VL_Summary_Release
to remove the reference and free the allocated memory, when it is no longer needed
(see Release method from Summary class).
●
OnNotification
C++:
void OnNotification(Notification notification)
C:
void VL_OnNotification(int hNotification)
Event launched for a real time event. The parameter “hNotification” receives event data
(check “Notification” class).
In C , the parameter “hNotification” is a handler of Notification.
In C and C++, the parameter Notification is only valid inside function scope.
●
OnInputChange
C++:
void OnInputChange(Unit unit, int bit, bool value)
C:
void VL_OnInputChange(int unit, int bit, bool value)
Event launched when a programmed input (and configured to report changes) of the
I/O board changed its value. The parameter “unit” refers to the unit where the event
has been launched. The parameter “bit” is the bit number (starting from “0” ) that
changed and “value” is the new value (true if active, false otherwise).
3.5. Units Class
Collection of system
units.
3.5.1. Properties
●
Count
C++:
int Count ( )
C:
Does not exist, check VL_System_get_Units_Count ( ) from System.
Number of units in the system.
Quercus Technologies
30