Hi Andrew,
Thanks for your response, and I did try your suggestion. However, I needed to make some modifications since I wanted Labview Write vi to start writing RIGHT AWAY, for 5 secs, and then stop, which is exactly opposite so I used an "inverter" to invert the boolean logic coming out of the "time elapsed" vi to turn on the Labview Write vi.
One thing about this "time elapsed" vi that puzzles me is that it needs to be put into a While loop for it to work, if don't do that, then the elapsed time stays at "0" for some reason meaning it's not counting time at all!! So I had to enclose it within a While-Loop. I have a couple of questions.
1. Why does the "time elapsed" vi need to be working in a while loop? I've tried running the LabView program in a "Run Continuously" mode as opposed to "Run" mode, the elapsed time simply stays at zero.. don't know why..
2. What's the difference running a Labview code at "Run Continuously" mode or just enclose everything inside a while loop and "Run" ?
I've attached my modified script that'll correctly write to file for 5 sec and turn off. It seems so verbose for such a simple task.
Jeff