PI Developer Technologies
Welcome to the
PI Developer Technologies
feedback page!
This forum covers the PI AF SDK, PI Web API, PI OPC DA and HDA Servers, and the PI SQL family. We created this forum to hear your ideas, feature suggestions and feedback. Please suggest your most important features and design change ideas on this site, and vote for your favorite ideas.
Please note that your ideas and comments posted here are visible to all other users.
- For bugs, please open a case with OSIsoft Tech Support through myOSIsoft Customer Portal (https://my.osisoft.com) instead of sharing them on this site.
- For documentation feedback and bugs, please report to documentation@osisoft.com instead of sharing them on this site.
-
Add .NET Core support for AF SDK
Please add support for .NET Core to the AF SDK. Currently only full .NET Framework is supported.
67 votes -
Expose methods to retrieve messages from the PI Message log to PI AF SDK
Add methods to retrieve messages from the local and remote PI Message Logs where remote can refer a PI Data Archive node or any remote PINS.
Because the EventLog Class in .NET Framework provides access to local and remote Event Logs, offering the AF (Server) Event Log through PI AF SDK is not necesarry.
24 votes -
Expose PI Network Manager Statistics via AF SDK
As of now, we can get PINetMgr statistics via PowerShell command Get-PIConnectionStatistics. # of users familiar with AF SDK are more than with PowerShell.
It will be nice feature addition in AF SDK, and usability will also increased.19 votes -
Backfill/Recalculate over future data
The ability to backfill an analysis using an end time in the future. This would read data from future inputs and write the results as future values.
16 votes -
AF SDK and Web API on Linux OS'es
With Microsoft supporting .NET Core on Linux operating systems such as RHEL, SLES Ubuntu, CentOS, and Debian.
https://docs.microsoft.com/en-us/dotnet/core/about
https://docs.microsoft.com/en-us/dotnet/core/linux-prerequisites?tabs=netcore2xThey are even supporting SQL Server on Linux OS'es.
I don't know the dependencies of the AF SDK nor the Web API, but if they can use .NET Core; it would be nice to have the AF SDK and Web API available for Linux based OS'es.
14 votes -
Offer AF SDK as a Nuget package
To help with quicker deployment, having AF SDK as a nuget package would speed up development and lower barrier to developing against a PI System.
10 votes -
Tag Creation
As a developer of custom applications that use the PI AF SDK, I'd like to be able to easily determine if an attribute based of an attribute template is configured for tag creation. Currently the AF Attribute Template class does not have this property. The current work around is to look at the configuration string which is less efficient.
9 votes -
AF SDK Async Data Methods for multiple AFAttributes
Expose interfaces for asynchronous data method calls (ex. InterpolatedValues, PlotValues, RecordedValues, Summaries) that:
1. Take an asynchronous enumerable ofAFAttribute
s as input
2. Output an asynchronous enumerable of results
3. Throttle the calls made to PI Data Archive so that it does not overwhelm itThe use case is to be able to make end-to-end asynchronous data method calls on a set of AFAttributes.
7 votes -
PI AF SDK Linux Support
As we know there are 2 major competitor for cloud technologies that is Microsoft and Linux destros. If we want to use Linux docker image or PCF Linux image to connect AF SDK, we don't have any provision for this as of now because AF SDK does not support Linux OS. If we support this then most of cloud customer attracts to use AF SDK in their organization.
5 votes -
af sdk PIPointQuery should allow multiple use of filter name per AND condition, so ranges can be searched
Currently the PIPointQuery cannot contain a filter condition with same filter name twice per AND condition of the query string.
PointId:>5 AND PointId:<10.
This would cause an error.
Therefore filtering for a certain range is annoying as both result lists then have to be compared for common elements, workaround for the AND in above condition.
Enhancement:
Introduce a "BETWEEN" operator for the filter condition.
Allow multiple use of filter names in the same AND condition.
4 votes -
Support AFSDK in Windows Container
how to do it: https://pisquare.osisoft.com/community/developers-club/blog/2018/05/21/spin-up-af-client-container
statement re: not currently supported: https://pisquare.osisoft.com/message/138235-is-there-a-way-to-create-an-afsdk-docker-container
3 votes -
Have an option for the PIPointList.RecordedValues Method to exclude the current value if now (*) is specified as the end time
With the PIPointList.RecordedValues Method, using an end time of * will include the current value. This is unexpected when the method "Returns a list of compressed values for the requested time range from PI."
2 votes -
Provide ability to specify ID (Guid) when creating elements or attributes
Provide ability to specify ID (Guid) when creating elements or attributes in AF via the AF SDK.
When replicating data from an external system to AF, we need to be able to use the same GUID that has already been established. This will allow us to easily query data from PI Web API because the GUIDs can be directly translated into WebIDs without having to perform lookup queries first.
2 votes -
AF SDK Calls using the AFValues.GetValues should include an index of result events, this is to allow direct location of replacement events
The PIPoint.ReplaceValues method requires a replacement of every event in the timerange, however it also may reorder or miss events with the same time stamp. The issue is that if the client wants to replace only a certain event, but must find that event - the replacement is for all the events at that timestamp and the method doesn't seem to allow for precise replacement of a value.
The use case is programmatic correction of operator manual entry error, where multiple events have the same timestamp.2 votes -
Search on multiple Categories in AFSearch
Several customers have asked for ability to search on multiple categories. I understand from developers that a generic OR in AFSearch can be quite expensive, but allowing for search filter Category to support Equal or IN should not be expensive.
2 votes -
Return Elements with Bad Values with AFSearch
As a programmer, I would like to search for and return elements with attributes that contain bad values using the AFElementSearch Class in the AF SDK.
2 votes -
support server side aggregation in AFSDK
I would like to aggregate multiple tag values in a server side operation using naturally scheduled or sampled intervals in some form similar or extending FilteredSummaries.
Most common case is finding the maximum aggregate of two or more tags.
It's not practical to rely on Analysis for adhoc use cases.
2 votes -
Sort list of tags returned by AF SDK's FindPIPoints() method
Add a method that can be used to sort the IEnumerable<PIPoints> returned by AFSDK's FindPIPoints() method. This method should allow the option of sorting on any desired PI Point Attribute.
1 vote -
afattributesearch expose value timestamp as fields
Maybe I'm missing it, but after performing an AFAttributeSearch I would like to use the binning extensions for summaries or aggregate periods, much like the EventFrame examples. However the fields exposed by AFAttributeSearch do not include the actual event timestamp.
Can OSIsoft either update examples on how this is possible (sadly all examples are across eventframes whose search does expose datetime fields in StartTime/EndTime), or enable retrieval of Timestamp as a field for AFAttributeSearch?
1 vote -
Expose most of PI-SMT functionalities to AF-SDK
I have to admit that I am surprised and disappointed not seeing any real good administration methods in the AF-SDK. Of course there is Powershell but what I would really want is a nice way of getting all the information I see in SMT and more within C#. There are so much valuable information we could gather and analyse. We could also automate tasks etc...
1 vote
- Don't see your idea?