Top  | Previous | Next

Cell Update Binding

The Cell Update binding enables you to easily make one or more cells inside a dataset dynamic. This particularly useful for components such as the Linear Scale or the Easy Chart, that store configuration information inside datasets.

 

For example, when you configure indicators on a Linear Scale component using that component's customizer, the indicators that you set up are stored in  the "Indicators" property on the scale. Suppose you wanted high-setpoint and low-setpoint indicators on the scale that weren't simply static values, but actually bound to a SQLTag indicating the realtime high and low setpoints. In order to do this, you'd set up a Cell Update binding on the Linear Scale's Indicators property. You would configure two cell bindings - one for the low setpoint indicator's Value column, and one for the high setpoint. You would then bind these to the appropriate tags.

 

As another example, let's say you had an Easy Chart on a window that displayed 5 pens representing the history of a Compressor: running status, amperage, rpm, output pressure etc. Using SQLTags Historian, you had simply dragged the 5 applicable tags onto the Easy Chart. But now you want to use that same Easy Chart to dynamically display the same 5 pens of any of the many compressors in your system. To do this, you could pass the compressor number into the window as a parameter, and use it to calculate the tag path of the folder containing the pens. Then set up a Cell Update binding on the Easy Chart's "Tag Pens" property, dynamically altering the pens' tag paths. Now you have a generic chart window that can be used for any compressor.

 

Note that this binding type is only applicable for Dataset-typed properties.