I am looking for some working VS projects that I can download and run.
The features I need are:
1) Creating new tags programmatically
2) Writing data to these tags.
Can anyone help?
Have you checked out the 3 videos on the right hand side of vCampus Training Center, titled "General PI SDK Programming 1, 2, 3"?
I am looking for code that compiles and runs out of the box.
i.e. a starting point that i can use to develop my own applications.
It appears these videos reference code but I don't see it anywhere.
On the same Training Center page check out the PI Application Development course material. There is a booklet and bunch of code snippets attached. You can check out the ones under chapter 7 (PI SDK). Hope it helps.
You may also take a look at the white paper "Optimizing your PI SDK Applications" and the webinar "Deeper in PI SDK (Calculations, Event Pipes and Application Identity)". Although they are more complex, I recommend you to take a look.
The website has changed and I don't see this link anymore. Is there an updated link?
That was a link to the code that goes with the videos.
It looks to me as if the download has been moved. Please accept our apology for the inconvenience and try this link.
The link does not have any valid zip folder or sample codes. can you please send an updated link?
The PI SDK is considered deprecated.
Deprecating the PI SDK
Please use the AF SDK for new developments as this is our flagship PI Developer Technology that is the most feature rich and has the most performance. A getting started guide to this can be found here.
New AF SDK guide for beginners
Retrieving data ...