• Attribute ConfigString

    I have created elements based on a template that has PI Point data reference attributes which uses substitution parameters.  I would write .Net code using the AF-SDK to retrieve the attributes' PI Points.  I...
    last modified by MELang
  • Trend Custom DataReference

    Hi, I created a data reference works fine, but when i use in a ProcessBook Trend, the line in the trend doesn't change like a PIPoint trend     Somebody knows to solve this problem?   Methods getValues...
    last modified by vitorfarias
  • additional properties for an attribute

    Hello,   I was wondering if there's a way to add new properties to AF attributes. The goal is to have additional name and description fields to store a french name and description.   Any ideas of how we...
    last modified by ssavignac
  • Capture updated AF Values from Processbook VBA

    Hello,   I have written a few macros for one of our processbook displays that read in AF values from our AF Database, performs a calculation, and then manipulates the display based on the results (highlights a tr...
    Dag Reppen
    last modified by Dag Reppen
  • Displaying AF Attributes on ActiveView

    Hi Guys,   I was looking at the Webnar for VB.Net and Activeview and started to write code to pass the PI Tag from the Attribute to the ActiveView object.  I know in Processbook, you can display AF Attribute...
    last modified by PIAdminUnison
  • Data Reference AF

    Hi,   I am developing a Data Reference should work as equal the PI Point Data Reference but, i want to do some calculations...   example:             i need to get a...
    last modified by vitorfarias
  • Retreiving Event Frame in SQL Server

    good afternoon,   looking for comments, idea, advices.   very simple example that i want to accomplish. ultimately it's more than that, but it's illustrating the case. let's say i want to use a sql stored pr...
    last modified by ygalipeau
  • Custom Delivery channel - Accessing Attribute value

    I have created a new delivery channel.   I have trouble accessing the Attribute value.   I tried various classes from PI AF SDK, like AFNotificationContent, AFNotificationContentResult, AFNotificationConte...
    last modified by kkolli
  • Child element templates

    Is there a way to create 2 element templates with a composition relationship between them such that when you create and element from the parent template, both elements get created "automatically"? I'm interested in do...
    last modified by rmarcell
  • Finding Attributes that support SetValue

    At the moment I use the FindElementAttributes method to retrieve an AFAttributeList with some specific search criteria to narrow down the search.  I then parse the AFAttributeList for Attributes that support SetV...
    last modified by RJKSolutions
  • Creating AF tree from CSV file

    Hi all,   I have a csv dump from one of our other systems with 117,000 records.  Each record(line) is unique but one field in the record may point to a parent, which is another record in the file.  This...
    last modified by PIAdminUnison
  • Using Substitution Parameters

    good afternoon,   is it possible to link an event frame attribute to a pi tag with substitution parameter, base on the referenced elements of the event frame. let me explain: i have an event frame template (react...
    last modified by ygalipeau
  • Displaying Exception in PI System Explorer

    When I raise an exception from my Data Reference, I don't want to see the "System.ApplicationException" and the stack trace in PI System Explorer.   Anybody knows how to do this?   Thanks.
    last modified by JoelBrabant
  • Getting AF analysis back filling progress through AF SDK?

    Hi,   All versions are from 2018 SP2A version. In PI System Explorer, in Analyses tab it's possible to right click analysis and do "Backfill/Recalculate". After doing that is there a way to retrieve th...
    last modified by Jagan
  • Trying to Pull List of PIPoint's Referenced in AF Database

    I am trying to pull a list of all PI Points that are referenced by any attribute within an AF database, but the approach I'm using is giving me an error, saying that the query is too complex and not supported by the s...
    last modified by gfmalek
  • Problem creating PI Point with AFSDK 2.6

    Hi, All,   I am trying to create PI point using AFSDK 2.6, but the following error pops out, can anyone help with this?  // Store the data back to PI Data archive        &#...
    created by Jiahui07
  • PI AF SDK - Get Most Recent Event Frame

    Question: Using the PI AF SDK, what is the most efficient way to search for the most recent Event Frame instance associated with a given list of Elements or Notification Rules?    Background: I am working...
    last modified by Mattpdrexel
  • AF SDK Context question

    Quick question here:   I am trying to use the GetAttributes method with the AF SDK, and am told that it "does not exist in thus context."  Not sure where it would be, as here is my "using" block:   us...
    last modified by Todd.McQuiston
  • What is executing the AFDatareference?

    Please educate me on the fundamentals here, where is the code (i.e. GetValues etc.) for AFDataReference actually executed once I registered the plug-in against an AF server?    Is it on the client machine or...
    last modified by kqin
  • PI Notifications Programatic SMTP Configuration

    Hello all!    I have a requirement for a project that I can't quite seem to get the answer to, and thought that here is the best place.    I have a .NET application which is using the AF SDK to t...
    last modified by tsanders