I have an AF Element (let’s call it “X”). It has an element attribute called “Element” with Value Type Element. I have another Element “Y” that I want X|Element to be set to. How do I do that using the AFSDK? How do I do that in a AF Builder script? Right now, I can only set it using PI System Explorer, clicking on the “…” button next to…(Show moreShow less)
I'd need to test this as it is slightly unusual to assign an AFElement value type to an attribute. May I ask what you are trying to accomplish/ what problem you are trying to solve? There may be a better approach.
I change a value in PI System Explorer, but PIServer.FindChangedPIPoints always returns null. Do I need to refresh the server object? The PIServer object looks good. But never changes. PIPointChangesCookie cookie = _piPointChangeCookieDict[kvp.Key]; IList<PIPointChangeInfo> changes = piServer.FindChangedPIPoints(int.MaxValue, cookie, out…(Show moreShow less)
Hi, I've built an analysis that iterate through an AF table, get PI tag names and test theirs current value. I was getting the tag name right with an table lookup attribute but i found out that the PI Point attribute don't update its data reference with the new tag name when the analysis call. After some research, System explorer user guide…(Show moreShow less)
I don't think there's a way of doing this with Asset Analytics. Using the AF SDK may be your only option. If I can think of something, I'll come back to this post. How many entries are there in the table?
We have a series of notifications that send after an analysis trigger. The email send fine, but we want to change the state of an out put tag from False to True if the analysis is triggered and proves True. Then reset once it goes back to False. Any ideas guys?
Are you using Notification Rules that are triggered of Event Frames or are you using our Legacy Notification application? Do you want the tag value to change to True when the Event Frame Opens (or the condition in the Legacy Notification is True) or do you want the tag value to change when the email is sent out?
Hello Carrie, The AF SDK Getting Started Guide belongs to those resources which have been purged due to our changes in our GitHub policies. Please refer to Important update to OSIsoft's GitHub Policy. Please see Developing Applications with PI AF SDK and the belonging GitHub repo AF SDK Programming Online Course. If you have additionalPreviewHide preview
It seems that the PI AF SDK (aka PI SDK overlay plus added features), does hide the PI Data Archive connection with an internal mechanism using the PI Network manager (or PI Network subsystem) component. How to efficiently identify issues (aka fail-fast) on this hidden connection without having to wait the long timeout mechanism (like pi server…(Show moreShow less)
As there is no semantic specifications for PI AF SDK, it is quite pointless to discuss about what should be or what is a bug based only on observed behaviors. I just have to write a lot of test cases to gather PI AF SDK behaviors for every PI AF SDK versions and for every PI System versions I want to support.
Lastest AF SDK version OSIsoft PI Data Archive version from 2012, 2016R2, 2017R2 and 2018 Sp2a Purpose: Impact to issues when loading PIPoints (ex: PIPoint.FindPIPoint) and tracking changes (using PIServer.FindChangedPIPoints) Context: a new connection to PI Data Archive member in a collective which is not the Primary. Context: reconnect…(Show moreShow less)
Hello Stephan, You want to query the synchronization status of a PI Data Archive Collective through AF SDK which is currently not possible because not implemented. Please consider submitting an enhancement request at Uservoice.
Hello im trying to retreive attributes(Reason,Change History and Comment) from Af Event Frame. I Have tried solution from this topic Fastest Way to Retrieve Events from AF . But Receiving Null . All of those ef.Attributes[xxx] returns null. I Have set manually in pi explorer comments and checked in. Cheers Kamil