Not able to make pressure change units

Hi there
Installed Steel series, got most of it working OK. But not the Units on pressure is not changeable
Here the site:
http://wj2.mittkontor.no/steel/gauges-ss-basic.htm Changing the pressure untis hpa, inHG and so on is not possible. (Version 2.5.10)
I have another site:
http://vallobat.no/index.php?option=com_content&view=article&id=71:vallo-vaeret&catid=80:batrelatert&Itemid=279 (version 2.5.9)
Here it works OK. I’m not able to what what I have done wrong…

Console in FF says : “TypeError: fromFunc is not a function”
Anyone that can spot my error?

best regards

erik

Yep, your pressure units are “kpa” in the customeclientraw file - they should be “kPa”, have you hard coded that string, or is that what WD is outputting?

WD :slight_smile:
As fas a I know at lest. I’m no good at coding. Upgraded WD to 308 build today.
Where does WD pick this value form?

edit: did a manual edit in customclientraw fra kpa to kPa and as You stated: works. But does WD read this from a definitionfile?
Edit2: Adjusted WD to use hPa, will see if it works

best regards
erik