Searching the online documentation I found that you may have pseudo-dynamic historical tags configured for your Tag Historian Query on your reports. And I say pseudo because a fixed set of tags must be configured.
This works when all of the devices share the same set of tags, but what if they don’t? What to do then?
If I created a single report and use indirection (as suggested in the docs), I would have to manually create three tags and replace the oven number with a parameter I’d bind to the report. But this would mean that Ovens 1, and 2 would show tags that don’t even exist for them (Z2, and Z3 for Oven 1, and Z3 for Oven 2).
Does this mean that I definitely have no other choice but to create a report for each oven?
On the other hand, I’ve been considering manually querying historical information from the database, retrieving data from two tables as needed (in case I am using monthly partitions, and wanted to retrieve data from the final days of one month, and the first day of the subsequent month), and plot that onto the XY Chart. But then, how to format the date values on the X axis from “Epoch” onto human-readable dates?
I guess I forgot to mention that I intend to plot the historical data onto a Timeseries Chart.
I am thinking about using system.tag.queryTagHistory on my Script Data Source. But the Pens on any charting component appear to be static (or pseudo-dynamic).
I’m not able to dynamically bind pens to any of them. Unless I am missing something or maybe Ignition does not currently offer a way to handle this scenario.
Could I bind the Pens via the configureChart function?
The actual pens are static, but as of 7.9.7 the configureChart function does have access to the other datasources on the report - so it would be possible to manually bridge between Ignition datasets and JFree datasets. Not trivial, but possible.