May I know where I could find a mapping list between the following functions in DataLink and PI SDK, since I am trying to convert the users' Excel files into a system?
I wouldn't know of a table mapping PI DataLink functions to correspondent PI SDK calls would exist. PI DataLink uses PI SDK but I believe dependent on the function one configures in PI DataLink different code is executed behind the scenes.
I recommend looking into PI SDK Programming reference (%PIHOME%\Help\pisdk.chm) for PIValues with regards to PIArcVal() and IPICalculation with regards to PIAdvCalcDat() and PISampleDat().
Because I understand you are asking with regards to a new application, I recommend using AF SDK 2.5 instead of PI SDK. There are 2 sets of libraries shipping with AF SDK 2.5, the legacy one compiled against .NET Framework 2.0 and the so called Rich Data Access (RDA) library which is compiled against .NET Framework 4.0. Please consider using the RDA AF SDK library in order to create a "future proof" application. When you install the "PI AF Developer Tools 2012" kit available at vCampus Download Center -> Category "PI Asset Framework", you install the required libraries and documentation.
There are several recent discussions and blog posts dealing with development against AF SDK 2.5. Please see e.g. Rick's blog post and the video series created by Lonnie.
I now try to use the following mapping.
PIArcVal() -> PIPoint.Data.ArcValue
but some parameters are different.
Or in another way, is it possible to connect PI DataLink instead of PI SDK for the programming?
So, I could use the same function to convert the functions.
Please allow me referring you to the Introduction section of the PI DataLink User Manual. Any usage beyond the described scope is not supported.
Hi Gregor, thank you
Retrieving data ...