AnsweredAssumed Answered

Linking an on screen value to a scroll bar

Question asked by jimd2320 on Jul 7, 2017
Latest reply on Jul 11, 2017 by Kenji Hashimoto

Hello all,

 

I usually try and nut these things out myself but I'm having a Friday moment...

 

I have 5 values that are calculated at the PLC end at midnight each night that show a percentage of time that each value (a control constraint) was active. I've made a pie-chart using arcs and scripting, but what I would like to add to this is a scroll bar that the user can move to display the pie-chart for different days.

 

The chart sits in a page populated with 'live' data, so using the playback toolbar is not a good option.

 

So far I might be headed down the completely wrong track, but I have added a PICALC expression that uses TagVal('tagname','*-xd'). I can manually change the 'x' to 0,1,2,3 etc, but is there a way to link the ScrollBar1 value to the PICALC to fill the 'x'?

 

Thanks in advance.

Outcomes