Hi,
I am new to Ignition and just trying to do some simple things. Is there an easy way to show the value of a stock cylindrical tank instead of a percentage? I have a whole bunch of these types of questions but I’ll start here.
Thanks,
Jason
Hi,
I am new to Ignition and just trying to do some simple things. Is there an easy way to show the value of a stock cylindrical tank instead of a percentage? I have a whole bunch of these types of questions but I’ll start here.
Thanks,
Jason
Hi Jason,
(On the assumption that you’re working on a Vision window)
With the tank selected, in the property editor, uncheck “Show Percentage” and check “Show Value”.
If you can’t see those properties in the list, then click the little funnel at the top of the property editor (to change what properties you can see) and change it to “Standard” or better.
You’ll notice that the tank still shows the max capacity next to the value. Personally, I don’t like that, so when I’ve used these in the past I just unchecked both, and put a label over top of the tank, and then dragged my tag onto both the tank and the label.
In Perspective, I don’t see the same properties available. I’d just uncheck “valueDisplay/Enabled” and put a label on it.
ok, thanks. I am in Perspective so those options aren’t there. Thanks for the quick response.
Not with the standard Cylindrical Tank, no.
You could easily do the following to display a value of your own:
CoordinateContainer.props.mode
to a value of percent
.CylindricalTank.position.x
and y
to a vlaue of 0
.CylindricalTank.position.width
and height
to a value of 1
.CylindricalTank.props.valueDisplay.enabled
to a value of false
.Label.position.x
to a value of 0
.Label.position.y
to a value of 0.45
.Label.position.width
to a value of 1
.Label.position.height
to a value of 0.1
.center
.Label.props.text
to CylindricalTank.props.value
.Great, thanks again all. Half the problem being new to this is I don’t know what I am missing. I knew I couldn’t find what I was looking for I’m just not sure where else things can be hiding.