Skip to content

Object Model Value Panel

Minty Trebor edited this page Dec 29, 2023 · 11 revisions

The Object Model Value panel allows the display of any available value from the machine model.

Machine Model Panel

The panel has three parameters :

  • Model Value Prefix - Set static text to describe the value in your layout.
  • Model Path - the full json path of the object model value.
  • OM Value Expression - Perform basic math functions on the OM value. Uses the Mathjs library to perform calculations. Use ##VALUE## to use the OM Value in the calculation.

In addition you can hide the panel boarder, select the text orientation, set the panels background colour, add a text prefix to the value, set value text colours, and set an Icon / Icon Size / Icon Colour.

To get the required Model Path use the Lookup Object Model button, or the object model browser plugin.

Object Model Browser

Note : Not all model values are available all the time. If you input a bad path or the path is not currently found in the model you will see ### instead of the value. Model paths that follow a format of xxxxxx[#].xxxxxx eg heat.heaters[0].current, may have to be altered to xxxxxx.#.xxxxxx eg heat.heaters.0.current to display correctly