Error in function Adapter_SIMA_Tier1() at line 470. Error Message: Unrecognized function or variable 'ThresholdAccum'.