Jobs on Counters

Jobs on Counters

Counters of three types are used in the gTrack tracking system: counters of GPRS traffic, mileage, and engine hours. They can be set up in the unit properties of the unit on the General tab.

Jobs about counters allow you to automate the saving of the values of the counters, and also adjust the accounting of mileage, engine hours and GPRS traffic.

Mileage Counters

With this type of job, you can save the current value of the mileage counter, reset it to zero or any other value, and save it as a parameter in the message.


To set a new value or reset the counter, select the Set new value for mileage counter option and enter the desired value below. The counter will obtain this value each time when the job is executed. Depending on the resource settings, different measurement systems can be used.

Mark the Store counter value as parameter of unit data message checkbox to save the counter value as a parameter in the data message (a sensor with this parameter should be created for the unit). It can be used to get initial and final mileage for trips. When entering the parameter name, it is advisable to use underscores instead of spaces. It is recommended to store the counter values while the unit is parked, for example, once a day at night.

The Store counter value in unit event history can be used to store the current mileage counter value. It is especially recommended if the counter is subject to zeroing according to the job.

Engine Hours Counters

This type of job is similar to the previous one, but it is applied to the engine hours sensors.


Check the Store counter value as parameter of unit data message box to save the current value of the mileage counter as a parameter in the message, which allows to subsequently create an engine hours sensor on its basis. When entering the parameter name, it is advisable to use underscores instead of spaces. For more accurate calculations it is recommended to store the counter values during the parking of the vehicle, for example, once a day at night.

The Store counter value in unit history checkbox is responsible for storing the value, and in its field a new value (in hours) that will be applied to the counter after the job is completed is entered.

Attention!
This type of job can be performed successfully only if at the moment of its execution the user who is the creator of the resource to which the job belongs has the Edit counters right to a unit.

If you save the values of traffic, mileage, engine hours or counters in the unit history, they are recorded in the system as registered events, which allows you to display them in the Events or Chronology reports later. Saving the value of the counter as a parameter in the message occurs in the unit database in such messages as Data Message, while the hourly rate is displayed in seconds, and the mileage value, depending on the unit settings, is in meters or feet.

GPRS Traffic Counters

This job is designed to:

  1. regularly automatically reset the traffic counter;
  2. store GPRS traffic counter value in the unit history, which allows you to receive reports on the traffic consumed.


Indicate the status of the Store counter value in unit history option. If the option is activated, each traffic reset is registered in the system, and then you can generate a report on events or report on traffic to see traffic consumption. If the option is not activated, resets are not registered as an event.

The Reset GPRS traffic counter option is used to reset the counter to 0 when the job is performed.

Each of two options can be used both individually and together with each other. When we check both boxes, we get a job that will reset the counter oon the specified schedule, and the reset value will be stored in the history.


    • Related Articles

    • Counters

      Access required: Edit counters — to edit current values of counters and calculation methods. Parameters for counters are adjusted on the General tab. Counters are widely used in the system — in online monitoring, as well as in reports. Three types of ...
    • Jobs

      A job is a set of actions to be performed on a predefined schedule. A job can be command execution, sending reports by e-mail, changing access to units, etc. To configure jobs, open the 'Jobs' panel choosing a corresponding name in the top panel or ...
    • Configuring Jobs

      To make manipulations with jobs, you should have at least one resource with the access right 'Create, edit, and delete jobs'. To create a new job, press the 'New' button. In the dialog choose job type: Execute a command over unit(s), Change access to ...
    • Events

      All events registered by the system (including violations) can be shown in the report on events. There are different ways to add events to the unit history: Using notifications if themethod of delivery is Register event for unit. Manually using the ...
    • Unit ACL

      A user can obtain the ability to see a unit on map, track its state (speed, sensor values, etc.), change its properties, execute commands, generate reports about its activity, use unit in jobs and notifications, etc. Standard access rights have been ...