Welcome to our little community of PI Geeks
Client side you need to install PI Asset Framework (AF) Client 2014 available at vCampus Download Center in category "PI Asset Framework". For development purpose, please also install PI AF Developer Tools 2014. This small package mainly installs the help file which is a very useful resource and will be located at %PIHOME%\Help.
Before installing any PI Software on a virgin OS, please install OSIsoft Prerequisites Package. vCampus Download Center should have the latest version in category "Prerequisites".
Please note that a personal development PI System is included with your vCampus subscription. We recommend installing and using it for development purpose rather than developing against a production PI System.
I hope this answers your question and doesn't raise too many new ones but please continue asking if you have questions. Happy coding!
An AF Server is not a prerequisite for using the AF SDK for accessing PI Data Archive beginning with AF 2012.
Hi Gregor and Steve,
Thank you all for your answer.
Yesterday I have installed PI Asset Framework (AF) Client 2014 (v188.8.131.5243) and evaluate whether we can shift from PI SDK to PI AF SDK
for our new project. After installation, there are two set of AF SDK libraries which located at C:\Program Files\PIPC\AF\PublicAssemblies
and C:\Program Files\PIPC\AF\PublicAssemblies\4.0.
Initially, I try the first one in C:\Program Files\PIPC\AF\PublicAssemblies but I found it is not the full version of library (e.g. It do not contain
"OSIsoft.AF.PI.PIServer" class which can be found in the Help File "C:\Program Files\PIPC\HELP\AFSDK.chm". Then I try the second one from
"C:\Program Files\PIPC\AF\PublicAssemblies\4.0" but it gives error as below:
"The primary reference "OSIsoft.AFSDK, Version=184.108.40.206........could not be resolved because it was built against the ".NETFramework, Version=v4.5"
framework. This is a higher version than the currently targeted framework ".NETFramework, Version=v4.0".
Since we are using Microsoft Visual Studio 2010 in our company so .NET 4.5 is not supported until our company has upgraded our Visual Studio to VS 2012
or higher (which our company do not yet has plan to do so.). I would like to ask is it possible for OSISoft to recompile the "OSIsoft.AFSDK.dll" and
other related libraries in .Net Framework 4.0 (which is a option setting in Visual Studio 2012/2013, not required to move the project to open in Visual Studio 2010)?
Thank you very much for your consideration.
Unfortunately we cannot do that as some of the core parts of the AF SDK 2014 (v2.6) is optimized for .NET 4.5. Please consult the release notes for the other requirements.
Another option for you is to use AF SDK 2012 (v2.5) which still does provide the PI namespace and only requires .NET 4. However, be aware that you would be missing out on the improvements and fixes provided in v2.6.
Thank you for your prompt reply.
May you provide me the download link of AF SDK 2012 (v2.5) since it is not available in vCampus Download Center?
I will forward your request to the vCampus team.