A functional global, which will look at the current value, compare it to the previous, and if the new value is greater, signal that fact, and replace the previous value with the new value. You probably want the comparison to have a range, or a threshhold, so that it has to have increased by a certain amount before this all occurs, also are you only concerned in increasing? If you signal were a slow sinusoidal one you would register increases all the way up one side of the waveform, then once the peak was reached no more data would be saved, unless of course the amplitude increased. Do a search on functional globals, Action Engines, to see what I'm refering to as a storage mechanism.
PutnamCertified LabVIEW Developer
Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5
![](https://forums.ni.com/attachments/ni/130/3688/1/smallcard.jpg)
LabVIEW Champion