Thank you very much Patrice I will look into this.
Where do I find ANSDK?
Are you asking for PI AF SDK (which replaces PI SDK) or AN SDK (PI Notifications library)?
I am looking for AN SDK
Your previous question was related to PI SDK. I've branched your question for AN SDK into a new one and will move it over to PI .NET Framework (PI AF SDK) forum.
Namespace OSIsoft.AF.Notification is part of AF SDK. You need to install PI AF Client and reference OSIsoft.AFSDK in your Visual Studio project. Please don't forget to download and install PI Notifications Developer Tools and PI Asset Framework (AF) Developer Tools. These small setup kits will install the help files like AFSDK.chm, ANSDK.chm, PINotificationsProgrammersGuide.chm as well as IntelliSense support for Visual Studio.
Thank you Gregor. But I am looking for AN SDK not AF SDK
Well, there is no ANSDK... as Gregor pointed out.
To use the ANSDK you need to install the PI Notifications Client. Then reference the assemblies OSIsoft.PIAnalytics.Common and OSIsoft.PIAnalytics.SDK. These are installed in the GAC, but should also be in the folder C:\Program Files (x86)\PIPC\Analytics\PublicAssemblies
Well, now we all seem to be confused about what is meant by the ANSDK, let's take a look at the Assemblies, NameSpaces and help-files we have.
Now looking at the help files, there is AFSDK.chm and ANSDK.chm, adding some confusion:
So, the closest you would call ANSDK is the OSIsoft.AN namespaces in the OSIsoft.PIAnalytics.SDK assembly as documented in the ANSDK.chm. Hope this helps!
Yes ANSDK is the Notifications SDK. The label ANSDK is only used in two places, AFAIK. That chm file and the user guide/release notes have something like "ANSDK Library Reference: The ANSDK library is a Microsoft .NET assembly that provides structured access to PI Notifications functionality." but it doesn't explain anything beyond that. I supposed there might be KB articles that refer to it as ANSDK as well. You will have to reference the Common assembly as well since there are classes exposed in the SDK that use types from Common. I was trying to save people some confusion and extra steps when they get an error about having to reference Common as well.
Retrieving data ...