Setting up Alarm Journal Table to Filter on Date Range
- Ignition offers several types of date pickers under the Calendar tab of the Component Palette. This example uses the Date Range component. The start date and end date are built into the Date Range component so you can select the Start Date and End Date all in one place. Drag the Date Range component from the Component Palette to your window above the Alarm Journal Table.
- To link the Alarm Journal Table component to the Date Range component, select the Alarm Journal Table component, click the Start Date binding icon. Click the Property binding type, and select the Start Date for the Date Range component. Click OK.
- Now, do the same for the End Date. Click the End Date binding icon, bind it to the Property binding type, and select the End Date for the Date Range component. Click. OK.
- By linking the Alarm Journal Table and the Date Range components together, as soon as the operator changes the Start Date and End Date on the Date Range component, Ignition automatically updates the Alarm Journal Table and all the alarm events within that time period.
- Click on Preview Mode and you will see alarm events within that time period.
You can also zoom in or out on specific time periods to see the alarm events that exist in the alarm history table.
It is very easy to filter alarm events based on time. It’s important to note that the Alarm Journal Table fetches data only when the window is first opened and when the start or end date change. To see new alarm events come into the table, use the slider to change the dates.
You can make the alarm events show as red bars in your Date Range component if you bind the Data Density property.