05-20-2013 06:07 AM
hello,
I have one question, I want one button which can be run/start/stop button. I can't compile the program with "Run when open", because I need the user enter a string and a configuration, however after the user enter a configuration, I want that a START button, and when the user want press the same button to STOP all the program. All without pressing the "Run button (white arrow)". So the sequence it will be:
1- open the ".exe"
2- configure the variables such as: file name, file path, comments.....
3- press START button, and the system will start acquisition.
4- press STOP button and the program stopped and save all the data in a file.
It is that possible? Could anyone help me with it? Or send me and example?
Best regards,
Anna.
05-20-2013 06:22 AM
Try using the invoke node it will give you the solution.
05-20-2013 06:33 AM
Hi,
You can do something like this.
Compile it with "Run when open".
Best regards
Matej
05-20-2013 06:39 AM
One more thing, make sure you read your configuration variables inside the true case of the case structure.
Best regards,
Matej
05-20-2013 07:19 AM - edited 05-20-2013 07:22 AM