• Fetch archived values of tags over a time range and perform average

    Hi,  I want to fetch archived values of tags based of frequency over a time range and perform average on those values. I tried in two ways as below. But I am getting error saying "Object reference not set to an ...
    last modified by Rituparna
  • CDR (Custom Data Reference) for assign Element Category

    I went thru AF SDK Couse, https://pisquare.osisoft.com/community/Learn-PI/developing-applications-with-PI-AF-SDK it was really excelent, but i cant figure out how to make an CDR (Custom Data Reference) for assign...
    last modified by frluis
  • PI AF Version for development

    OK, so I'm going to write a small app to read my PI data and maybe later some AF data.    a. My PI server (also my AF server same box) has AF SDK version b. My development box has the same...
    last modified by DanielPesch
  • DataLink read, write values SMT DataArquive

    Hello All   The pitulval function code, I noticed that before WRITE for the SMT DataArchive, we need to first READ the TAGs to confirm whether or not SMT DataArchive exists values for such TAGs in their timestam...
    last modified by Douglas
  • PIServer is missing from OSIsoft.AF.PI namespace

    I am developing an application using VB.Net and OSIsoft AF SDK. I would like to use the PIServer and PIServers classes but, in the version I have (2.6.2), they are absent from the expected namespace. Am I missing an a...
    last modified by MarcBreton
  • Fail simple PI API base code

    Hello,   I have to use the PI API for a project.   Since the example code had been removed, I recover an older example on the internet. It connects with piut_connect Piut_netserverinfo and piut_isconne...
    last modified by TDurand
  • Can AF-ExportXml export entire database?

       We have a need to copy an entire AF database from our Production environment to our Test environment for testing new AF.  We can't use the PI Connector because we want EVERYTHING copied, and PI ...
    last modified by taterhead247
  • AFSDK analysis creation error

    Hi,   I am creating analysis using AFSDK and I have successfully create few of them but while creating one of the analysis i am getting below error:   Unrecognized configuration setting 'ScanClass :' in 'S...
    last modified by Rituparna

    PI PROCESSBOOK Crash error   I am developing dashboard on PI PROCESS Book 2015 R2 SP2A but its crashing less then a minute I uninstall the same and try with different version but its giving me same error
    last modified by Arjun_Wayse
  • How to make pi datalink function resize it's array automatically  ?

    We have PI DATALINK function which generates data in every min.  However, I get this message in the last  cell ( resize to show all values) . I do the resizing manually by clicking apply ...
    last modified by Skyblue
  • How to get compress-data using PISDK

    Hi All,   Could you please help me get get compressdata using PI-SDK.   Data required in the below format       66QA103B 17-Apr-19 18:30:00 8.2 18-Apr-19 00:30:00 11 18-Apr-19 08:20:0...
    last modified by BBS318
  • Different Time Formats When Using SelectedFields Parameter

    I am querying the web API to get a list of event frames from an asset database (assetdatabases/{webId}/eventframes)   If I query it without the 'selectFields' parameter, the event frame StartTime and EndTime val...
    last modified by rodp
  • What would be the best method to find all attributes that use a specific UOM.

    If someone created a specific UOM and used it somewhere within a database that has lots of elements and attributes. What would be the best way to find those attributes (attribute path). Can this easily be done with A...
    last modified by Francis2
  • Delete Value with PIWEBAPI

    Hi All,   Is that possible to delete value(s) with the PI Web API?   Thanks in advance Regards Bertrand
    last modified by Lasternas
  • PI SDK compatible avec Windows 10 ?

    Bonjour,   j'aimerais savoir si le kit de developpement permet une compatibilité avec l'environnement Windows 10 ?
    last modified by srichter
  • I want to build a list in ProcessBook VBA and export to an Excel file?

    I would like to create a list of tagnames on a display and export them to an Excel file.  I suppose a generic .txt file would work too.  I cannot figure out how to open Excel via ProcessBook VBA however, muc...
    last modified by gfmalek
  • Getting error - The function evaluation requires all thread to run

    HI All,   Getting the below error in C#.Net using PI SDK error || The function evaluation requires all thread to run Code || piPtVals = piPtData.InterpolatedValues2(sDateTime, sEndTime, strStep, "", PISDK.F...
    last modified by BBS318
  • PI OLEDB [-11091] event collection exceeded the maximum allowed

    My PI OLEDB SQL statement is: "select top 1 time,value from picomp2 where tag='P1:PI11350' and time > '01/01/2008' and value > 363.0 order by time asc"   I got "[-11091] event collection exceeded the max...
    last modified by wentang
  • AFListData.UpdateValues

    Hi,   New to the PI system and AF but coming from the RDBMS world!   We are currently investigating the feasability to rewrite an old SQL-based system (where times series data resides in Oracle), to a syst...
    last modified by ovenyg
  • Manual Values Entry Bulletin

    Hello,   The vba Excel script is an example to use the PIPutVal function (reference to file piexam32.xls) to write typed values, (laboratory values), with number of TAGs (in this example eleven TAGs: TAG1, TAG2,...
    last modified by Douglas