====GTHist==== The **GTHist** function is part of the [[Trigger]] class. It allows you to perform a simple 'greater than' comparison that includes hysteresis, to prevent your [[condition function|condition function]] from //flickering// on and off when values are near thresholds. ===Parameters=== ^Name^Description^ |value|The value you want to compare| |threshold|The threshold you want to compare against| |span|The amount of hysteresis| ===Example=== lambda o: o.GTHist(o.Value(),200,10) //In this example **condition function**, the value is being compared against '200'. When the value goes over 200, the output changes to True. // //It will **continue** to output True until the value drops to 190 (the **threshold** minus the **span**)// ===Return=== The function returns **True** or **False** ===See Also=== [[LTHist]]