03-10-2009 05:52 AM
Hi guys,
Bit of an odd question, but is there any VI in labview or function that flags up a bool output (true/false) if something increments? I have a Adder that gets one value from the input of the while loop (from the side using a Shift register) and another comes from a array. This all works perfectly and the output goes up (1,2,3,4... etc) so nothing wrong with my circuit :D!
I've tried to do it in C using a script node but it just says ON so i dont think itll work. I need it to go on and off, or just stay off if it doesnt sense the number going up.
Any ideas?
Cheers.
03-10-2009 06:30 AM
There is a vi "Change Detector"
Report if input has changed since previous call.
Freeware from Moore Good Ideas, www.mooregoodideas.com.
03-10-2009 07:18 AM
03-10-2009 09:02 AM
Here is an example of how to use this vi. Each time you increment the value, the indicator changes to True, then back to false on the next iteration.