AnsweredAssumed Answered

How to get PI Error Messages

Question asked by Argel on Mar 21, 2016
Latest reply on Mar 21, 2016 by Rhys Kirk



Is it possible to get the actual error messages from PI?


For example I have this code:

PIServer piServer = new PIServers()["WRONG-PI-SERVER-NAME"];


On piServer.Connect, if it can't find the specified pi server, it will throw this exception:


My question is, is there a way to get the actual error that PI will throw in this example of an instance. Example, P Server not found, something like that.