3 Replies Latest reply on Jul 27, 2014 6:58 PM by Marcos Vainer Loeff

    Pi System down and Buffering

    kkolli

      I have a service which writes archive values to PI Collective using PI Buffering system.

       

      If the PI system is down for some reason, is there a way to still be able to send data to the PI buffering system, so that when the PI System comes back online, the buffering system will be able to start offloading the buffered data?

        • Re: Pi System down and Buffering
          kkolli

          Is it - AFBufferOption.BufferIfPossible?

           

          But I thought that was the default value. 

            • Re: Pi System down and Buffering
              ekuwana

              Hi Keerthi,

               

              AF SDK Buffering to PI Server/Collective utilizes PI Buffer Subsystem. If security is configured for the PI Buffer Subsystem then by default the data writes will be buffered.

               

              Please download and install PI AF Developer Tools 2014 from PI Asset Framework category at vCampus Download Center. You will find AF SDK Reference (AFSDK.chm) at %PIHOME%\Help\. In the "Contents" page, please check the "AF SDK Buffering" section (under "AF SDK Reference") . There are also examples in some of the buffering -related methods in that AFSDK.chm file.

                • Re: Pi System down and Buffering
                  Marcos Vainer Loeff

                  Hello Keerthi,

                   

                  There is an overload for PIPoint.UpdateValues method from PI AF SDK 2.6 whose third parameter is an OSIsoft.AF.Data.AFBufferOption object which refers to an enumeration value that specifies buffering option.

                   

                  If you take a look at the PI AF Developer Tools, as suggested by Eddy, you will read the following remark:

                   

                  "For successul update through Buffer, this method requires that PI Buffer Subsystem needs to be correctly pre-configured with PI Buffer Manager.

                   

                  Update through Buffer will be fanned to Collective members."

                   

                  Hope it helps!!