LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Write to text file on request

Solved!
Go to solution

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!

 

0 Kudos
Message 1 of 3
(2,533 Views)
Solution
Accepted by topic author MikeDahl

Change the button's mechanical action to "Latch When Released".  It's a right-click option on the front panel button.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 3
(2,526 Views)

Thanks, work like a charm! Very simple solution 😉

0 Kudos
Message 3 of 3
(2,519 Views)