05-02-2012 07:48 AM
Attached is a block diagram that is still a little bit of a work in progress, it is going to be a program for calibrating accelerometers and sound level meters. The thing is, for each device there may be any number of axis or filter bands to test, so the routine that is shown will have to be run several times. The way it is written now, the second time I run the routine, the XY graph (hilighted in red) that plots the data will still have the previous plot on it. There is a "reset" boolean input to the XY graph and if I wire a true constant to it, then it resets after each individual data point, so that won't work. I need a way to reset the XY graph with a button that I can push on the front panel, possibly in the producer loop, so that I can clear the graph and save the next run to a new file. I would rather not have to create multiple XY graphs that clutter up my front panel either.
05-02-2012 09:18 AM
What if you simply wire a button to the reset terminal? With latch action it will read TRUE once, reset and switch back.
05-02-2012 10:31 AM
Ha, sometimes it's hard to see the simplest solutions. That sounds like it should work, thanks.
05-02-2012 11:06 AM
05-02-2012 11:22 AM
Thanks Ben64, thats another good idea I didn't even think of.