Implementing PISDK.PIServer.PointSources

Discussion created by RJKSolutions on Dec 3, 2008
Latest reply on Apr 4, 2014 by jorgewong

Does OSI have a plan for implementing a PointSource object within PISDK?  You have obviously thought about it as the empty PointSources object is there.


Currently I have written my own PointSource object to do what clients require (looking at data on a pointsource level rather than individual PI tags) but it would be nice to have the object available from OSI.


So imagine the he collection is:




The individual pointsource is:






PIServer Srv = SDK.Servers["ServerName"];
PointSource PntSrcC = Srv.PointSources["C"];
Int32 PntCount = PntSrcC.PointCount;

I am aware this can be achieved using "PIServer.GetPoints" and specifying "pointsource='C'" to get a PointList object but it would be better sat within the core of a PIServer object.  I have a whole list of useful methods that could be included for a PointSource.