Pretty interesting stuff,I'm sure that ML and AI are big drivers and seeing academic adoption is not a big surprise. I think there are a lot of people going after data science degrees. Thanks for sharing! Lonnie
Are there any plans to extend AF Formula Based Attributes so that they can use the functions found in AF Analytics? I'd like to be able to have attributes that take advantage of TagValue functions and time functions. For instance, suppose I have a future value tag 'prediction' that I am writing predicted values into. I have exposed 'prediction' as…(Show moreShow less)
Hi Marc, They are both client side calculations. One caveat of the analysis data reference is that the entire analysis (all variables) will be calculated each time the data reference is queried. I wouldn't put a lot of different expressions within the same analysis that are unrelated and outputting to different attributes with an analysis…
Can you please let me know how can i change the retrival values for the default pi points. Currently some points are changing values for every 30 secs. I want to see the value changing for every sec.Ca
Hi Sreenivasulu, The default PI points use the Random and Ramp Soak interfaces. You can check out the manual for more information here. To directly answer your question, Location4 determines which scan class a particular tag from these interface uses. You can set your scan classes using PI Interface Configuration Utility. If you want more…
Dear, I am using VBA to program some screens inside the PI ProcessBook, I need to develop a code where I search when determiner value was displayed in the TAG and returns the Date / Time of the event. Is it possible to do this query via VBA?
Hi Matheus, Your tag will need to have the STEP attribute turned ON. You can then use the PE function FindEq with IPICalculation.Calculate in PI SDK to get the timestamp value. Example of PE: FindEq('cdt158', '*-1h', '*',55.85729)
Hi piuser101, If you mean that you are expecting a new file to be written each time, then that won't happen as your variable i is not changing. It will keep overwriting the old file so you can check that the last modified time has changed.
Hi shehroz, A function like this can help you get the index number. Function index(a As Entries, name As String) As Integer
For Each b In a
i = i + 1
If b.Label = name Then
index = i
a is the entries of the PIW file name is the name of the entry
I'm working on converting an old VB6 ProcessBook add-in to C#.Net. One of the problems I ran into is that the add-in works closely with a specific display, where it calls specific functions in the display VBA code. In VB, I can just cast the display to Object and call the function like this: Dim o as Object set o = application.ActiveDisplay…(Show moreShow less)
Just after I gave up and sent an email requesting to do this in VB instead of C#, I figured it out... Just had to cast the display object to dynamic so it'll do late binding: PBObjLib.Display d; d = application.ActiveDisplay; ((dynamic) d).someFunctionDefinedInDisplay(); I guess I was over complicating things! Thanks for your help!!
I create element relative display by following this video: https://www.youtube.com/watch?v=2WnimYJ1hRE Now I’m confused how to open relative elements from PI Process Book screen buttons rather using elements of interest of PI AF. Can anyone please suggest how i can call relative displays from buttons
Hello Shehroz, I see that in addition to this thread you also concurrently opened more than one ticket. Links within those tickets that may be shared publically are: Download ProcessBook VBA Programmers Reference KB01082 - VBA sample code to pass the element context across displays Changing mimics in full view without selecting in AF…
Hi everybody, we are planning to write data to some attributes through AF SDK and get some dependent (natural trigger) analysis to run when this values are written. I have been making some tests using PI System Explorer (with PI Buffer Subystem - I checked and the write is being buffered) and, when I write a snapshot value using PSE, this…(Show moreShow less)
Hi Wang, Here is the link to download it. If you are unable to see it, this indicates that your SSO account doesn't have sufficient permissions. In that case, you can talk to your account manager about this. https://techsupport.osisoft.com/Downloads/All-Downloads/PI-Server/PI-AF/Localized-Kits