11-06-2012 12:22 PM - edited 11-06-2012 12:52 PM
Hello
I have been struggling with the "write to text file" in the button part of the attached .vi
I want to be able to tell my program that when I press the Boolean-button it should collect 1 sample point only from the mean.vi - Right now I have managed to make a Boolean-button that starts the data collection and then I have to push the button again when I "think" that now I have collected one data point using the case structure.
Can somebody help me to make the program collect one data point only when I press the Boolean-button?
Thanks!
Solved! Go to Solution.
11-06-2012 12:39 PM
Change the button's mechanical action to "Latch When Released". It's a right-click option on the front panel button.
11-06-2012 12:51 PM
Thanks, work like a charm! Very simple solution 😉