Error when using TagTot in PI AF

Hello,

I am getting an error when trying to use the function TagTot. From the screenshot attached, when Variable1 is added along with the Expression, the following error is returned after clicking on Evaluate.

Attempt by method 'OSIsoft.AN.PerformanceEquation.Evaluation.PENode.ValidateDataMethod(OSIsoft.AF.Asset.AFAttribute, OSIsoft.AF.Data.AFDataMethods, System.Action`1<OSIsoft.AF.Analysis.AFAnalysisException>)' to access method 'OSIsoft.AF.Asset.AFAttribute.IsSupportedDataMethod(OSIsoft.AF.Data.AFDataMethods)' failed.

This is the first time that I am trying to use the TagTot in a Analyses. Any support on this error message would be greatly appreciated. I've also included a screenshot with the PI AF version.
PI AF TagTot function error.png
.
PI System Explorer version.png
 

Thank you,

Emerson

Parents
  • Did you try a configuration with my recommendation where you use the variable 'ShiftStartTime' (your variable 1) instead of the tag value 'Shift Start Time' that I think I see in Var3, maybe Var4, and Var5?

    Looks like the error relates to OSIsoft.AF.Asset.AFAttribute.IsSupportedDataMethod so I'd think that means related to the data method of the the calculation on either a tag being calculated (current state) vs a variable AF attribute (what would be used if you swap to 'ShiftStartTime' ) being calculated.

Reply
  • Did you try a configuration with my recommendation where you use the variable 'ShiftStartTime' (your variable 1) instead of the tag value 'Shift Start Time' that I think I see in Var3, maybe Var4, and Var5?

    Looks like the error relates to OSIsoft.AF.Asset.AFAttribute.IsSupportedDataMethod so I'd think that means related to the data method of the the calculation on either a tag being calculated (current state) vs a variable AF attribute (what would be used if you swap to 'ShiftStartTime' ) being calculated.

Children