AnsweredAssumed Answered

Connect PI Data Archive via PI ACE code

Question asked by Paurav Joshi Champion on May 17, 2016
Latest reply on May 18, 2016 by pthivierge

We are trying to connect to PI Data Archive, in PI ACE code.


Code snippet is as follows:

Dim myPIServers As PIServers = New PIServers
Dim myPIDataArchive As PIServer = myPIServers("<PI_Data_Archive_name>")


When we debug the ACE code, at that time we found that the value of PIDataArchive is coming as "PIServer {93} Becasue this evaluation could cause side effects, it will not be executed untill enabled by user" .


We can connect to Data Archive via PI SMT and it is connecting as piadmin, so we doubt that there is access issue.


I know we are missing something, but unable to figure out that. These are two different machines, one is PI Data Archive and the other is on which the code is running.


Do anybody goes through via same hurdle?



Paurav Joshi