Visualize data from OSIsoft PI Server
The PI Viewer allows you to graphically search and select tags on an OSIsoft® PI Server, then plot data from those tags.
Open the PI Viewer App
To open the PI Viewer app, at the MATLAB® command line type:
piClient is the OSIsoft PI client created with the
View Data from OSIsoft PI Server Tags
piclient object and open the PI Viewer for
reading tags from the OSIsoft PI Server.
piClient = piclient("pi-host-55"); viewer(piClient)
Select the tags you want to read from, and click the right-arrow to add them to the right-hand column.
If you want to limit the date range, click the Start Date field and End Date field. A calendar pops up for you to select the start and stop dates.
Select the type of graphs you want to view:
Click to plot all data points on a common time axis.
Click to generate a matrix of plots, displaying histograms and scatter plots by data groups, in a manner similar to the
The PI Viewer display might look something like this:
Introduced in R2022a