Hi

Is it possible to do calculations using the AF SDK targeting .NET 3.5?

I am trying to retrieve data similar to a Pi ProcessBook - it has a DataSet - PI Calculation as follows:

Pi Tag or expression: 'Tag1 Total.Median'+'Tag2 Total.Median'+'Tag3 Total.Median'+'Tag4 Total.Median'+'Tag5 Total.Median'

Calc Interval: 10m

Interval Sync Time: 00:00:00

Value Columns Name: Value

Stepped Plot: Yes|No

Thanks

Hello Ashok,

AF SDK has this feature only if you are targeting at least .NET 4. In this case, the method AFCalculation.CalculateSummaries under the OSIsoft.AF.Data namespace is able to perform some calculations as shown in the example below:

Nevertheless, could you to please describe what are you actually trying to do with more details? Where is your data stored? Is it stored on a PI Server or different databases through AF Table Lookup Data Reference? We might be able to find a different solution for your problem.