Hi there, could I ask which sdk's you reference and what namespaces you include? I can't get the osisoft.af.pi.piserver nor osisoft.af.pi.pipoint objects to resolve.
I keep having trouble using "pi sdk" resources through the AF sdk - only way this works is the pisdk from 2016 with way different methods. Just reinstalled the lastest of both.
- PISystems myPISystems = new PISystems(); - yes through the afsdk with using OSIsoft.AF
- PISystem myPISystem = myPISystems.DefaultPISystem; - yes through the afsdk with using OSIsoft.AF
- PIServer myPIServer = PIServer.FindPIServer(myPISystem, piServerName); - this doesn't work. it offers PI3Server, but that doesn't include a FindPIServer method
- PIPoint myPIPoint = PIPoint.FindPIPoint(myPIServer, piPointName); - same here. the only way for me to use PIPoint is using the pisdk, and that doesn't include a FindPIPoint method
What am I missing? this has got to be basic stuff.