rajiv
Posts: 117
Joined: Thu Nov 27, 2014 2:27 pm

Defining events on Total Distance for the day

Mon Jun 18, 2018 6:47 am

I need to define an event which is triggered based on the distance covered by the vehicle in a day ( 00:00 to 23:59). Any idea how this can be achieved ?

User avatar
johan
GpsGate
Posts: 14619
Joined: Wed Aug 04, 2004 10:40 pm
Location: Sweden
Contact: Website

Re: Defining events on Total Distance for the day

Mon Jun 18, 2018 7:36 am

Sample: Script Expression example for daily odometer interval.
http://forum.gpsgate.com/topic.asp?TOPIC_ID=17792

Script Expressions http://gpsgate.com/blogComment/script_expressions
Tips when developing Script Expressions. http://forum.gpsgate.com/topic.asp?TOPIC_ID=18303
Regards,
Johan

GpsGate Support

rajiv
Posts: 117
Joined: Thu Nov 27, 2014 2:27 pm

Re: Defining events on Total Distance for the day

Wed Jun 20, 2018 8:54 am

I want to raise an event in case the vehicle has not covered a certain distance on the previous day. The script example you have suggested can not be easily modified for this requirement. Is there any way out ?

Is it possible to use report.context object and use the values of variables isLastInDay and distance for this purpose ?

Rgds

Rajiv Pande

Return to “GpsGate for Developers”