*Counter panel setup

Configuration Article | CA-20211202-MH-02

VDG Sense | Setup | Layouts

Placing a counter panel on layout

The counter panel can be placed in any layout using the Layout manager. Create a new panel and set the type of the panel to "Counter". A layout can have multiple counter panels. The minimum size of the map panel is 120 x 120 pixels.

 

Refresh every (refresh time)

The time between two refresh actions. A value of 10 means that the panel is refreshed every 10 seconds when in operator mode. It is recommended to increase the refresh time if more counter panels are used due to performance reasons.

Continuous

When enabled the start and end time are disregarded. This means the count value respresents all configured events in the database.

Start time / End time

The counter value is a query to the Sense Database with a start and end time. A start time of 09:00 and an end time of 21:00 means that the counter panel will count events from 09:00 to 21:00 on the same day. If the start time is 21:00 and the end time is 09:00 it means it starts counting at 21:00 in the evening and stops counting at 09:00 on the next day.

Counter offset

The count of events can be added or substracted with an offset. A value of -2 will decrease the result of the DB query by 2. A value of 3 will add 3 to the result of the DB query.

It is adviced to change the 'Name' of the panel for easy usage in viewer macros. (see below)

Configuring Increment/Decrement

When first placed in a layout, the counter panel will not respond to events. The panel needs to be configured for which events it should add and for which events should subtract. To do this, select the panel and press button 'Configure Increment/Decrement' to open the dialog to confgure the increment and decrement.

Using counter value to execute macro

The value of the displayed counter result can also be used to trigger a viewer macro. For instance to change the color of the counter panel if a certain value is reached. For this purpose the signal 'CounterEvent' and action 'SetTextColor' should be used. See below for three example on how to use this. The purpose of these examples are to inform operator on the number of people in a room. More actions can be used next to the change color actions.

Example 1: Normal situation

PeopleCounter panel shows value of 5 or less. Counter panel is green.

Example 2: Situation that requires attention

PeopleCounter panel shows value between 5 and 10. Counter panel is orange.

Example 3: Situation is critical

PeopleCounter panel shows value more than 10. Counter panel is red.

Â