07-06-2005 12:56 PM
07-06-2005 01:06 PM
06-18-2014 07:50 PM
This thread is old now, but this helped me tremendously. It was just what I needed!
I am passing in a .txt and .csv files to run various scenarious/profiles on our VI. A contractor constructed our system and it's pretty complex, so going in and altering it would be pretty arduous. I also can't change it while it runs tests, and I don't think they really want me to change it at this point anyway.
My lines looked like this: ... "Step, 2, if, (Cycle_Count MOD 5),"Run_Script, C:\script1.txt", else, if, (Cycle_Count MOD 2), "Run_Script, C:\script2.txt", else, "Run_Script, C:\script3.txt"
Step, 3, Wait_Until, Profile_Complete" ...
After a lot of scratching my head to try to get an elseif statement to work, this did it for me. The syntax is a bit different because of how everything is set up, but it's basically the same thing.
Many thanks!