How to make group of tags histogram with condition in Ignition perspective module

Dear Team,

I am reaching out to inquire about the possibility of implementing a conditional histogram recording system for a group of tags in our database, using the Perspective Module and Power Chart in Ignition.

To elaborate, we have a set of 10 tags, and we need to record their histogram data only when a specific tag's status changes to 1. This tag's data is sourced from a PLC. The goal is to ensure that the database records the histogram data for all tags in the group only under the specified condition.

In Power chat can we have multiple scales based on tag which we selected through tag browser.

Could you please provide guidance on how to configure the Perspective Module to meet our requirements? Your expertise in this matter.

You could store manually via scripting, system.tag.storeTagHistory | Ignition User Manual

You could also use SQL bridge, which would allow conditions. You could then setup a DB Table History Provider to easily get data into tables etc., DB Table Historian Provider | Ignition User Manual

1 Like

This isn't really a Perspective question, but a historian question. The native historian is not able to record or not record based on conditions, nor can it record groups of tags together (synchronized).

The SQL Bridge module can do both of those things. And queries can be manually constructed to obtain your results from the SQL Bridge's data.