going on with the course 'Developing Applications with PI AF SDK', I found the next Problem.
Where can I find the OSISoft.AF.Asset.DataReference.Rollup.dll mentioned in the course.
Thanx again in advance.
You should be able to find the files here. There is a whitepaper and supporting files (with code) https://techsupport.osisoft.com/Downloads/All-Downloads/All-Groups/All-Products/All-Categories/Current-Version/data%20reference/
Note that the rollup here is just an example, but is not an optimal implementation. For actual rollups in practice/production, we recommend using PI Analysis Service rollups instead.
See Daphne's answer here.
Side note: this data reference was created before OSIsoft released any out-of-the-box functionality for asset calculations - namely, Asset Based Analytics. Here is a tutorial that might be interesting to you:Not authorized to view the specified discussion 1499
For production use, we highly recommend using Asset Based Analytics whenever possible.
thanks to both of you. I've downloaded an build the project and it works :-)
I can't find a working download link, can be updated for debugging?
No. This old rollup data reference was offered over a decade ago to (1) provide an example of the inner workings of a data reference, (2) produce something to calculate rollups since this feature was missing in AF. Elsewhere you have stated that you took the online AF SDK course. This course discusses (2) and explains that Asset Analytics is used to produce rollups, and does it better since it saves the calculation back to a PIPoint for much, much better performance than the data reference. The online course also mentions that the sample CDR was not an official, production-grade release, whereas Analytics absolutely is.
If your argument is that you want to see the rollup CDR for (1) above, again I would refer you to the online course which has a very good, and practical example of a data reference.
Rollup data references are horrible at performance. And data references should never be the first thought of "I need to add something to AF that isn't there". I would encourage you instead to learn more about how to generate the rollup in Analytics.
Retrieving data ...