Hello,
I'm building a display with bar graphs that blink when meeting multistate thresholds. I would like to do two things:
1) Allow the thresholds to change based upon a pi calc or tag
Example: 'tag' = 400
Upper limit = 'tag'*1.02 = 408
Lower limit = 'tag'*.98 = 392
Then, if 'tag' changes to 450, the thresholds for the bar graphs change accordingly
(ETA: I have already made a PI Calc in Data Sets to do the calculation; I would just like to use that tag as the thresholds - meaning, where the symbol changes state)
2) Create a button that turns off blinking for each separate bar graph. (ETA: To be more specific, When the bar graph changes state by the tag value passing a threshold, I would like it to blink until a button is pushed. But when the value goes back into it's "normal" state, I will need blinking turned back on for the "alarm" state so it can blink again if the threshold is passed at a later time.)
I would also need the point attribute limits to be updated when the tag value updates. For example, tag = 400, HL = tag*1.05 and LL = tag*.95. (ETA: Basically, I would like the range of the bar graphs to update as the tag updates)
I know these can be done in VBA, but I'm having difficulty getting it to behave like I desire.
Thanks for any help,
Kevin