1 of 1 people found this helpful
I am sorry and must admit I don't know it for sure but I believe this will not happen.
PI SDK is announced for deprecation. It is currently in maintenance which means, bugs are fixed but no new features are added.
Also these days Event Frames is what we suggest for Batch processes. You may be interested in the document about PI Batch to Event Frame migration.
thank you for your response.
Here, there is no plan (yet!) to move every servers from Batches to Event Frame.
But I could eventually use features from AFSDK.PI namespace. Do you have an example to do what I need: queries like:
"select ... from ... where CustomPropertiesA = "value" "
Thanks again, and regards.
I am afraid AF SDK is not a solution in your case. Neither OSIsoft.AF.PI nor any other namespace offers access to the PI Module Database (MDB) which is where the PI Batch Database lives. Access to the MDB is one of the seldom use cases PI SDK is still the only available option. No only because PI SDK is announced for deprecation, I would really encourage moving to Event Frames. Maybe other Batch customers can share their experience with the Migration process and help getting things moved.
While the functionality of a SQL-like PIBatchDB.Search is not available, there exist methods in PI SDK which allow to query PIBatchDB. Please see this example in the PI SDK Programming Reference.
I'm aware of the function, PIBatchSearch thank you.
'For sure, migrating to Event Frame would solve lot's of issues I have to deal with: I'm pushing for it, but I'm afraid it's not yet on agenda.
For now, I will use function PIBatchSearch on an arbitrary time span, and will do the filtering in my application.