From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Extracting data on demand from a running while loop

Solved!
Go to solution

Hi all,

 

Can somebody please help with the attached VI. Basically I want to add another button and everytime this button is pressed I want the data inside the loop to be written once into the spreadsheet and not anytime before. I want the loop to continuely run.

 

Please try and help with a sample VI. I am pretty new and have problems finding the right functional blocks :).

 

Best regards,

 

Maiz

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

Use a push button inside of the loop.  Put the to code to save the data inside of a case structure inside of the loop.


GCentral
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,217 Views)

Thank you! appreciate your help.

 

Best regards,

 

Maiz

 

 

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