I have two report data sources, an alarm journal and a tag history query.
In my report I have a table that has the eventTime, itemName, eventState which are keys from the alarm data source. In the fourth column of this table, I would like to retrieve a tag from the historical database for the length during production, to note at what length the alarm occurred.
Should I write a script or use a nested query under the alarm_journal or something else entirely to be able to retrieve the length at each specific eventTime.
Cheers