Jump to content

Linearize to decimal points and show in bargraph

Recommended Posts

Good afternoon.
I use Vision 130 and I'm doing bit linearization for 0 to 10 bar pressure and showing value in hm.
The linearization rounds the values I noticed in the bargraph and I would like to show numerical value in decimals.
Which is more advantageous, show it in a graph or in numbers in terms of practicality or beauty in the HMI.

Quando utilizo bargraph este automaticamente divide os pontos de 0 a 10 bar?

Link to comment
Share on other sites

  • MVP 2023

When working with integers you can increase precision by multiplying by the factor of 10 to give you your desired precision. For example, if you want the linearization result to be displayed to one decimal precision, you can linearize from 0-100 instead of 0-10 (if the range was 3-17 you would linearize from 30-170). Then you just set up your bar graph from 0-100 and you can display on the HMI showing the result with a decimal place (the HMI element allows for that).

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.