AnsweredAssumed Answered

Any advise on how to create blank PIPoint reference?

Question asked by srikanth.nadikatla on Nov 29, 2016
Latest reply on Dec 9, 2016 by srikanth.nadikatla

Hi,

 

Any advise on how to create blank PIPoint reference?

 

 

I am trying to set a PI tag as an attribute of the AF element through below powershell code snippet. Creating a PIPoint reference from Test PI server and then modifying configuration string .

It works perfectly fine if TestPIServer is accessible. Is there any way we could create an empty PIPoint reference which works even if we don't have access to TestPIServer?

 

$Element.Attributes["testattribute"].PiPoint = [OSIsoft.AF.PI.PIPoint]::FindPIPoint("\\TestPIServer\SINUSOID")                    

$Element.Attributes["testattribute"].ConfigString = "\\ActualPIServer\pitag"

 

Regards,

Srikanth

Outcomes