Power Chart best practices/methods questions

Hi, novice user here.
I'm building a system to replace our old HMI system which includes ~50 trends. These trends each have from 4-10 pens. Operations wise we like the ability to select a trend and have the associated pens populate.

I was thinking that I could have a single trend view with a Power Chart and a drop down menu to select the name of the trend then based on the selection in the menu have the pen name and data pulled from (table/array)

I am not sure what the best way to build that array is, can I import a .csv?

Is there a better way? Whats typical best practice? Are there any pitfalls I might be missing?
Thanks.

Your reusable view approach should work without issue, and is commonly how Ignition interfaces are designed.

If you already have a DB set up to store the data, I would just add another table to hold the trend configurations. Pull from that to build the array for the power chart when the user selects from the dropdown.

You can use a CSV but you'll need to keep in mind that perspective only has access to the Gateway's filesystem.

One 'gotcha' to look out for is that historical tag paths differ slightly from tag paths that you use regularly in Ignition.

Hi @christophermomose,

Please take a look to the following Exchange ressource
Edge adhoc trend build by myself

Adhoc trend build by Matthew raybourn

Both of them are technically the same except for one point. The backend for the trend configurations storage is done in a database for Matthew’s version and mine is done inside tags (this make it compatible with edge version of Ignition).

Let me know if you need any explanations about those resources

Regards

Thanks for sharing these. Are you able to save edited names for the pens with these? Or are these pulling the name from the tag all the time?

at first drop, the pen name will be generated based on the tagpath. but after you van rename the pen like you want. this ressource just include a nice way to save load trend configuration. but the rest are the standard feature of the power chart.

Thanks @Arnaud_Declerck I think that Ad Hoc will work for me.

1 Like