Hello,

I'd like to know what are the typical analyzes of the PI System and PI ProcessBook and how I can perform iterative procedures/methods on them.

For example, using a previously calculated value from a routine to perform another calculation on the same routine or even using the returned value on a different routine. I want something like what happens in a filter algorithm (an example). Does PI System Explorer or ProcessBook have some kind of limitations for doing that?

Is there any built-in functions for doing iterative calculations? Do I need to use tags/attributes for storing the intermediate values? Can I generate parameters for using on another routines? Would a custom data reference be a solution?

One of my goals is being able to use such routines to display trends on ProcessBook.

Any ideas or tips on doing iterative procedures on the PI System would be great.

Version Information:

PI System Explorer 2016 SP2 32-bit edition

PI AF Server 2.8.0.7444

AF SDK 2.8.2.7626 .NET:v4.0.30319

PI ProcessBook 2015 R2 3.6.0.82

It's hard to give specific recommendations without more information about what you're trying to do. Depending on the complexity of your calculation, you may be better off writing your own custom data reference or AFSDK application. Neither PI AF nor PI ProcessBook natively support iterative methods/FOR loops. You can work around this with an AF analysis that contains multiple expressions, where each expression is a single iteration. This would only work if you use the same number of iterations each time and the number of iterations is reasonably small. Does that help?