Lonnie Bowling

Retrieving Bulk Values

Discussion created by Lonnie Bowling Champion on May 5, 2010
Latest reply on May 6, 2010 by spilon



Using the PI SDK, I need to use the fastest method available to get current or historical values for a group of tags.  I want to make as few round trips as possible.  I have used point.data.snapshot but that is for a single tag and creates a trip to the server (at least the first time).  Ideally, I would like to send a collection of points, or even better a query for that collection, to the server and receive a collection of points + values all in as few round trips as possible.  Any suggestions?  I have dug through the boards and the SDK documentation, but have not been able to find an example of what I need.