AnsweredAssumed Answered

How to make afsdk calls using VBA in Excel?

Question asked by Pjotr4IPCOSatOsi on Mar 23, 2015
Latest reply on Mar 24, 2015 by Pjotr4IPCOSatOsi

I'm have an Excel workbook that retrieves data from PI using VBA (does some calculations, and the present results in the Excel environment), basically using something like:

 

Dim PIserver As PISDK.Server
 Dim Point1 As PISDK.PIPoint
 Dim MyPIvalues As PIValues
 Set PIserver = PISDK.Servers.DefaultServer
 Set Point1 = PIserver.PIPoints("Sinusoid")
 Set MyPIvalues = Point1.Data.InterpolatedValues("2015-03-12 12:12:00", "2015-03-15 12:12:00", 1000)

Now I need to extend this PIAF atttributes. Does anyone have a similar calling sequence as above for the PIAF case?

 

thanks

 

Peter

Outcomes