Kaio, Let me clarify my previous response. We currently do not support AF SDK applications running in a container. While you can install AF SDK in a container, as you have pointed out, but the applications that use the AF SDK may or may not work properly.
I have an Event Frame Generation analysis that works off of equipment status change, i.e. running or stopped. This equipment, when running properly, will run for days/weeks/months without stopping. I want to end this event frame either when the equipment is stopped or (let's say) 24 hours has elapsed. Is there an easy way to capture the…(Show moreShow less)
Agree with Jim here. Either look back at your start condition and use that as your end condition, or craft a specific start & end trigger that always ends after 24hrs and use Step mode EventFrame triggers.
There is a blog post that shows how to use AFSDK with Python. PI and Python? PIthon! (Rafael Borges created it) Sometimes I provide training courses in OSIsoft Japan office and some customers wanted to use python to get data from PI. For connecting PI from python, PI Web API can be used. Using PI Web API with Python Though AFSDK is also works as…(Show moreShow less)
Hello Gabriel, Please consider posting questions as new questions. If you scroll up a few posts, you will find my post indicating how this is done. What exactly do you refer to with "timed data". Please clarify this when creating your question.
If the attribute uses the PIPoint data reference, I personally would use attribute.Data.UpdateValue. However, in a majority of cases where the attribute has a data reference, the data is already provided by that data reference so I would question whether I really need to update the source data. If the attribute is static, that is does not have…
Hello, Could someone give us some feedback on this one? SEEQ is encountering the following error periodically when trying to do a signal request from PI for 2 weeks worth of data on a one minute scan tag. The problem happens intermittently on different tags, but there doesn't appear to have with these PI tags and their data as when I revisit…(Show moreShow less)
Hi, We are using the DoNotBuffer option when writing data. In this test, AFValues is a list of 100 float values. Just for this test, I query the recorded values right after the update. In most cases the recValues object will contain less than 100 records, like 95-99. var timeRange = new AFTimeRange("T-1d", "T"); AFErrors<AFValue> errors =…(Show moreShow less)
Gregor, I would take caution with reading the snapshot value to determine if the write was complete. If a synchronous call is being completed and no buffering is used, the snapshot value should always be the last value written for in-order data. The main issue is the event-queue cannot be read by PI Clients and data disappears! The snapshot…
Hello Matthias Teich, I have branched your post into a new question even related to the other discussion. The latest PI Web API release doesn't implement access to PI Analysis Service. I have checked existing enhancement requests at Uservoice for the PI Web API but didn't find anything related. Raymond Verhoeff's reply to the other…
Hi, I currently have an event frame analysis set up which has a valve status PI tag ("Open" or "Closed") input, and uses the NumOfChanges function to calculate the number of times the valve is opened over a 24 hour period. An issue i'm having is that the valve tends to occasionally oscillate quite fast between open and closed, so I would like…(Show moreShow less)
I have an application that is using AFSDK to access PI Data archives. If I want to use AFSDK 2.10.5, will I still be able to connect to all the older versions of PI Data Archive? Is there any documentation that shows what versions of AFSDK work with what versions of Data Archive? Adrian
We have to cyclically and from multiple callers query data from PI-AF. We create a new PISystem for every call but use the implicit connection (from here: Connecting to a PI AF Server) with no explicit .Connect() or credentials like this: var piSystems = new PISystems(); var piSystem = piSystems[_assetServer]; var afDatabase =…(Show moreShow less)