The PI Analysis Recalculator Manager is a tool to make easier to perform selective analyses recalculations on large AF systems. It was built to help users quickly finding and selecting the analyses of interest for either backfilling, recalculation or change of the analyses status (enable / disable).
With this tool, users can retrieve the analyses list based for a target element (including or not the element child elements). Also, they can use combine the root element search with the utilization of analyses filter path to perform a more selective search.
The search returns a list of analyses for the specific search criteria. You can sort the list by analyses path, name, status, template or scheduling information, allowing you to easily select the analyses for either backfilling or recalculation.
Scenarios where this tool would be helpful:
- You have to select a subset of analyses from an extensive list of analyses, where doing manually in PI System Explorer would be very time consuming
- You need to perform recalculation of analyses which outputs are stored in an older version of PI Data Archive (prior to 2016 R2), where the explicit deletion of tag values would be required.
This tool is not indented to replace the analyses the Management plugin of PI System Explorer. You will still need the Management plugin to check the analyses backfilling status.
Similar functionality should be available out-of-the-box in AF 2.9.
The application requires the following PI components:
- PI AF Client 2016 R2
- PI Analysis Service 2016 R2
- PI Server 2010 or greater
You can obtain the source code in this GitHub repository.
The code has been written with Visual Studio Professional 2015.
Check the attachments below.
Due to PI Square licensing limitations, the PI AF Client 2016 R2 installer was not packaged with this install kit. Make sure you install the latest PI AF Client version prior to running this application.
The application can be accessed from the application help menu. If you prefer, you can download a pdf version of the document from this page's attachments.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Some functionality provided in this software leverages the code provided by Rick Davin, published in March 22, 2015 in the following tutorial: “A faster way to get PIPoints from a large list of AFAttributes”.
Thanks also to Keith Fong on pointing out the new Analysis class method used for backfilling that was used in this program.
Feedback / Improvements
If you find issues, or would incorporate a new feature in this tool, please feel free to post your comments. Also, if you prefer, feel free to access the gitub repository and fix bugs or implement any feature that you think would be useful.