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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...