It is currently Fri May 17, 2013 10:19 pm




Post new topic Reply to topic  [ 4 posts ] 
 Level Indicator Display Overlay. 
Author Message
Lieutenant
Lieutenant

Joined: Wed Jun 02, 2010 7:32 am
Posts: 72
Post Level Indicator Display Overlay.
Hi,

I was just wondering if there was a way to turn off the display overlay appearing on a level indicator if the level is is over 100% or under 0% with out using the clamp mode on the tag. I have a client request to see if this is possible. I have investigated this and so far there would appear not to be an option to do so and i just want to know for definite before I go back to the client.


Wed Sep 28, 2011 5:12 am
Profile
Moderator
Moderator

Joined: Sun Apr 02, 2006 2:46 pm
Posts: 1974
Location: Sacramento, CA
Post Re: Level Indicator Display Overlay.
Well, what I would do is just clamp the value through binding. You can bind the level indicator to the following expression:
Code:
if({Path/To/Tag} > 100, 100, if({Path/To/Tag} < 0, 0, {Path/To/Tag}))

_________________
Travis Cox
Inductive Automation
Technical Support Rep.


Wed Sep 28, 2011 6:44 am
Profile WWW
General
General

Joined: Tue Mar 24, 2009 9:14 am
Posts: 660
Location: Hudson, MI
Post Re: Level Indicator Display Overlay.
Travis.Cox wrote:
Well, what I would do is just clamp the value through binding. You can bind the level indicator to the following expression:
Code:
if({Path/To/Tag} > 100, 100, if({Path/To/Tag} < 0, 0, {Path/To/Tag}))


Then, if you need the "real" value or percentage, you can put that in a numeric display put on top of the tank.

I attached a window for you to play... umm... I mean research and develop with. :wink:


Attachments:
TankLimit.vwin [8.07 KiB]
Downloaded 50 times

_________________
Jordan

Duct tape is like The Force. It has a light side, a dark side, and it holds the universe together.
Wed Sep 28, 2011 9:00 am
Profile
Lieutenant
Lieutenant

Joined: Wed Jun 02, 2010 7:32 am
Posts: 72
Post Re: Level Indicator Display Overlay.
Thanks for that Guys, I am going to have a play around with that now but it seems to be exactly what i was looking for.


Thu Sep 29, 2011 1:09 am
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron