Reading/Writing to a PI Collective using AFSDK

Discussion created by sean.mcguinness on Jun 5, 2013
Latest reply on Oct 1, 2014 by Mark Langford



I've coded a custom Windows service executable using VBA.NET 4.0 and AF SDK 2.5 which runs a simple calculation on snapshot events every second and writes the output data to a PI tag via AFListData.UpdateValues().


As it stands I'm just grabbing the default PI Server using the PIServers.GetPIServer().DefaultPIServer method, but obviously this only reads/writes to the default server, so I would like to revise the program to read/write from/to the PI Collective instead. Ideally, I would like the output data to be buffered as well.


Could anyone recommend a suitable approach for achieving these two objectives?