Contents
Strategic Partner Links
Sepasoft - MES Modules
Cirrus Link - MQTT Modules
Resources
Knowledge Base Articles
Inductive University
Forum
IA Support
SDK Documentation
SDK Examples
Sepasoft - MES Modules
Cirrus Link - MQTT Modules
Knowledge Base Articles
Inductive University
Forum
IA Support
SDK Documentation
SDK Examples
The Reporting Module comes with some additional components that can be used with the Vision components to help you configure and filter your data, and view reports. These extra components are found in the Component Palette under Reporting: Report Viewer, Row Selector, Column Selector, File Explorer, and PDF Viewer.
Note: These components will not be visible on the Component Palette unless the Reporting Module is installed.
Each of these components are described below along with examples of how they can be used and how to configure them.
The Row Selector component allows users to filter a dataset based on unique values of one or more columns. Each level in the sorting tree is based on these properties. The user will see a dynamically generated expandable tree that groups their data by any number of choices. As a user clicks down the tree, objects bound to the dataset will indicate the filtered data.
A common way to filter the data is by time. For example, you can feed the Row Selector an input dataset that represents a large time range, and have it break it up by Year, Month, and Day. Then you can power a report with the output dataset that lets the user dynamically create reports for any time range. When configuring the Row Selector for the first time, you'll notice some default Date filters in the Row Selector Tree Customizer to help you quickly configure and filter raw data by time. If you don't want to filter your data by time, then simply delete the default filters and create your own.
See the Appendix for more information on the Row Selector.
A Row Selector has two important properties: Data In and Data Out. The Row Selector component filters the data in the Data In property and pushes the filtered result to the Data Out property.
Let's configure a Row Selector to filter on some raw data. (This example uses a Power Table component which gives you the option of using some sample test data, or you can create your own data).
Drag a Row Selector on to your window. With the Row Selector selected, click the binding icon on the Row Selector's Data In property, select the Property Binding Type and bind it to the Data property in the Data In Table, and click OK.
Data In Table
This example uses the Date column to filter on the Month, Day, and Time combination.
Here are a few more Row Selector examples:
The Column Selector is similar to the Row Selector except that instead of filtering rows, it filters out entire columns from the output dataset. Each column from the input dataset is shown as a checkbox and allows users to show or hide variables in the datasets via the checkboxes, then outputs the resulting dataset. The Column Selector allows users to choose which columns in a dataset they wish to use. If an object is bound to the Column Selector it will update itself whenever a user checks or unchecks a column. This allows users to dynamically show or hide Table columns, "pens" on a graph, data in a Report Viewer, or any other component set up to use a dataset.
See the Appendix for more information on the Column Selector.
Just like the Row Selector, the Column Selector also has the same two important properties: Data In and Data Out. The Column Selector filters the data in the Data In property and pushes the filtered results to the Data Out property.
Let's configure a Column Selector to filter on some columns of employee data. (You can use a Power Table component which gives you the option of using some test data, or creating your own data like we did in the example below).
Drag a Column Selector on to your window. With the Column Selector selected, click the binding icon on the Data In property at the bottom of the Property Editor, select the Property Binding Type and bind it to the Data property in the Data In Table, and click OK. The Column Selector will display a list of all the columns that are available in the dataset, and the Data In Table displays all the raw data.
The PDF Viewer allows you to take PDF files and embed them into your Ignition Client. This can allows you to view PDF documents without having to leave the Ignition Client, perfect when running a client at full screen, or to view any reports that were saved in PDF format.
The File Explorer component displays a file system tree structure that allows users to navigate around various folders. It can be rooted to any folder including shared network folders, and can filter file types by their file extension like 'pdf.' The File Explorer is typically used in conjunction with the PDF Viewer component in order to create a PDF viewing window. This is very useful for viewing documents from within a project.
Let's setup the File Explorer and the PDF Viewer to create a window to view a PDF documents.