gn02054810
Posts: 8
Joined: Thu Jun 14, 2018 1:04 pm

Can't get server odometer value

Fri Mar 29, 2019 9:48 am

Hi all ,

var Odometer = fields.get('_Odometer',0);

above text can't get the odometer value , any solution ?


Pls help :cry: :cry:


Thankyou

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

Re: Can't get server odometer value

Fri Mar 29, 2019 10:45 am

You cannot get this value in a Device mapper Script.

You can however get it in a Script Expression.
Regards,
Johan

GpsGate Support

gn02054810
Posts: 8
Joined: Thu Jun 14, 2018 1:04 pm

Re: Can't get server odometer value

Sat Mar 30, 2019 6:05 am

Hi Johan ,

var Odometer = fields.get('_Odometer',0);
event rule Script Expression also can't get the server odometer.

something wrong ?


Thanks

Return to “GpsGate for Developers”