4 Replies Latest reply on Dec 13, 2010 9:10 PM by sFung

    ProcessBook Add-In (New Dataset) - Setting the Description

    sFung

      I wrote a Dataset Add-In that goes out to an SQL database to grab data so that I can see the data trended in ProcessBook.  The Add-In works great except I can't get the descriptions on the trend set correctly.  The NamedValues passed into the GetColumnAttributes function only has Type, Zero, Span, Stepped, and UOM, but not Description.  I tried adding a NamedValue (name=Description, value=some description) to the NamedValues, but it didn't help.  I think it can be done, according to the IDataProvider3 GetColumnAttributes Method page in ~PIPC\HELP\en\pipbvb.chm.....

       

      Does anyone know how to set the Description for a new dataset?

       

      The Add-In implements PBObjLib.IDataProvider3, and is written in VB.Net 2008.  I have ProcessBook 3.2.0.0; PI-SDK 1.3.6.364.

       

      Thanks in advance!  

       

       

       

      1464.temp.PNG <- The descriptions on the bottom are all blank