PISDK PIVALUES Summaries Method

Discussion created by bazzit on Aug 4, 2012
Latest reply on Aug 6, 2012 by rdavin





_SummariesValues As PISDK.PIValues = _point.Data.Summaries(myarraylist.Item(0).item(0), myarraylist.Item(mycount - 1).item(0), BoundaryTypeConstants.btAuto, ArchiveSummariesTypeConstants.asAverage, 1, CalculationBasisConstants.cbTimeWeighted, Nothing)


Can you please take a look at the Overload arguments and correct it for me.


I am getting a runtime error on CalculationBasisConstants.cbTimeWeighted  that says: 'PISDK.PIValues'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{F293A83A-D998-11D3-853F-00C04F45D1DA}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).