Need help on exception handling in PI AFSDK 2.4

Discussion created by vashavijay Champion on Sep 24, 2013
Latest reply on Sep 26, 2013 by lZheng

Dear All,


   I need a help in PIAF sdk 2.4. I am getting many exceptions when I am trying to query PIAF elements. But I am unable to catch those exceptions in my windows service (Visual studio) by using try catch block. I was checking in PIAF references and found out we have PIException (Example NotSupportedException) class available in PIAF server but which only supports in PIAF 2.5. But I have PIAF 2.4 has been installed on server.Kindly let me know how to handle exceptions?


Exception Details: NotSupportedException unhandle by user code :- Data was not available for attribute 'AF Value': Data was not available for attribute 'Value1': GetValues not supported for the relative time specifier