Page 1 of 1

Can't get server odometer value

Posted: Fri Mar 29, 2019 9:48 am
by gn02054810
Hi all ,

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

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


Pls help :cry: :cry:


Thankyou

Re: Can't get server odometer value

Posted: Fri Mar 29, 2019 10:45 am
by johan
You cannot get this value in a Device mapper Script.

You can however get it in a Script Expression.

Re: Can't get server odometer value

Posted: Sat Mar 30, 2019 6:05 am
by gn02054810
Hi Johan ,

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

something wrong ?


Thanks