Currently setting up some trends, using the Easy Chart component. On FTView SCADA, there’s a trend template functionality, which basically means I can set up a trend with all my pens, all my axes, all my other parameters etc etc, and then save it as a template. Rinse and repeat. So then, I create one window with a trend object, and just give the user a means of selecting between multiple templates.
In ignition, I know I can use cell update binding to dynamically select pens, or axes, or whatever. But I’m not sure of the best/simplest way to achieve the same “template” functionality.
So far, my best idea is to create a custom property for each parameter that needs to be loaded as part of the template. Then when I click a button to select a different trend, I run a script to modify the custom parameters. I’m sure I could make this work, but it seems like a lot of effort, and not especially intuitive to add new trend “templates” as I’m basically editing a script freehand to do so, rather than using a normal-looking configuration window and then clicking “Save As”, a la FTView. It also means that certain things, e.g. the max number of pens, would have to be fixed rather than completely dynamic.
Any other ideas?