01-21-2013 01:29 AM
- Since the program will run only one interation after you push "Start", you can add the save functions at the end of the program. Not that your program will stop and you have to start it all over again.
in which way can i do it?
01-21-2013 04:43 AM
Wire the Datalog to a Save to text file.
/Y
01-21-2013 04:45 AM
but i wanna a button 🙂 i don't want always save my data in file...and i can't use event structure
01-21-2013 04:48 AM
Then put the save file in a case structure. 🙂
/Y
01-21-2013 05:01 AM - edited 01-21-2013 05:02 AM
You can do your task in various ways. However, if you want to minimize code changes, consider putting at the end of the existing code a further while loop similar to the one managing the measurement start. In the new loop, the conditional terminal should be connected to the OR of the Save button and a new Stop button outputs. If Save is selected, create the output file (in a case structure) and exit; if Stop is selected, just exit.
Not the best code I could think of, but certainly meets the boss' requirements ![]()
01-21-2013 05:06 AM
can you show me please?
i know that for you it's obvious, but i'm learning labview from not-so-much 🙂 i used always event case
01-21-2013 05:31 AM
It's very easy indeed:
01-21-2013 06:29 AM
thanks 😄
01-21-2013 07:45 AM