C# Class ExamplesLibrary.ReadFromAFExample

Retrieving values from AF Attributes is best done in bulk, in particular, if any of the data is coming from the PI Data Archive. By bulk retrieving the data, the number of round-trips to the PI Data Archive are reduced. This example uses the AFAttributeList to illustrate how to retrieve attribute values in bulk. We will retrieve the current vaues for the Process Feedrate and Steam Flow attributes for all Compressor template elements and print to console. This example is very similar to the PartialLoadElementsExample.
Inheritance: IExample
Datei anzeigen Open project: osisoft/PI-AF-SDK-Basic-Samples

Public Methods

Method Description
Run ( ) : void

Method Details

Run() public method

public Run ( ) : void
return void