 ksherlock
		
			ksherlock
		
		
		
		
		
		
		
		
	
			02-10-2015 03:56 AM
i am using Daq assistant and i am using peak detector to get the maximum of the peak.
My problem is i want to hold that maximum value till i get the next value which higher than previous maximum value. please help
 crossrulz
		
			crossrulz
		
		
		 
		
		
		
		
		
	
			02-10-2015 07:05 AM
Use a **bleep** register to hold your maximum value. Then use Max & Min with this stored value and the new maximum to keep the larger of the two.
 Henrik_Volkers
		
			Henrik_Volkers
		
		
		
		
		
		
		
		
	
			02-10-2015 08:47 AM
@crossrulz wrote:
Use a **bleep** register to hold your maximum value. Then use Max & Min with this stored value and the new maximum to keep the larger of the two.
Shift register ..... and know the question is what crossrulz wrote and what the 'auto correction' made out of it 😄 😄
02-15-2015 11:22 PM
crossrulz
Appreciate your idea. But still i am finiding difficulty in holding the old value to match with the next high value.
 Dennis_Knutson
		
			Dennis_Knutson
		
		
		
		
		
		
		
		
	
			02-15-2015 11:54 PM