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: 

Saving data using a button

Solved!
Go to solution
Solution
Accepted by topic author FAMOS357

Okay this might be what you are asking for.  If the button goes from False to True, then we need to prompt for the path to save to.  Otherwise if it is already true, then we use the last selected path.  If it is false then there is no logging so the path isn't used.  Attached is what I meant, and what I was refering to when I mentioned when I said:

 

@Hooovahh wrote:

Alternately you could browse for a new path when you click the button, but then keep the selected path in a shift register and use that path until the user presses the button again.


 

Message 11 of 12
(800 Views)

Thank you, it works good. Unfortunately, it asks always two times where to save the file, but I think I can solve this

0 Kudos
Message 12 of 12
(775 Views)