08-08-2013 02:25 AM
Hi,
I am developing a VI that need open an ASCII file. The whole VI is contained in a While loop, except the file path VI (otherwise, the user is continuously asked which file he wants to open ...), but I would like to be able to change the ASCII file I want to read while running. How can it be done?
Thanks a million.
Solved! Go to Solution.
08-08-2013
02:32 AM
- last edited on
11-11-2024
05:21 PM
by
Content Cleaner
@isaac.fr wrote:
I am developing a VI that need open an ASCII file. The whole VI is contained in a While loop, except the file path VI (otherwise, the user is continuously asked which file he wants to open ...), but I would like to be able to change the ASCII file I want to read while running. How can it be done?
Use STATE MACHINE. And you can have different states corresponding to:
1. Selecting a File
2. Reding File
3. Updating GUI
4. Blah Blah
5. Blah Blah
.
.
.
and last Exit state.
08-08-2013 02:48 AM - edited 08-08-2013 02:48 AM
See this.. Hope this will help..
As soon as file will change inside while loop you can perform the read operation
08-09-2013
02:41 AM
- last edited on
11-11-2024
05:22 PM
by
Content Cleaner
Hello Isaac,
I don't know if you have access to Self Paced Online Training, but this also might prove useful:
http://ni.com/self-paced-training
If you don't have an Active SSP, then the following pages will also prove to be useful:
https://learn.ni.com/learn/article/labview-tutorial (maybe too basic)