AnsweredAssumed Answered

using AFSDK output the Max of one tag to the value of another

Question asked by robert.low on Nov 24, 2015
Latest reply on Nov 25, 2015 by pthivierge

I am trying to do the .Net code below

 

        afval1 = New AFValue

        afval1.Timestamp = mynewdate

        afval1.Value = myReportNbr.Summary(myaftimestr, AFSummaryTypes.Maximum, AFCalculationBasis.TimeWeighted, AFTimestampCalculation.Auto).Max

        myRxPINbr.UpdateValue(afval1, AFUpdateOption.Insert, AFBufferOption.DoNotBuffer)

 

but get an error assigning the value. How do you set the value of one tag = the Maximum of another?

Outcomes