Hello,
I did a program that call a sub-VI which is doing experiment and have its own timer.
The sub-VI is a while loop and the stop condition of this loop is the elapsed time of my timer.
What I want to do is to be able to get the elapsed time in my main program during the execution of the sub-VI (every second of its execution).
First I assign the elapsed time in the sub-VI as an output of it. But of course the elapsed time is only updated in the main VI only when the while loop has finished. So I tried several solution: property nodes, local variable, global variable.
When I am using global variable, I can see the elapsed time being updated during the while loop when I open the global variable VI. But the result is always the same: in the main VI the elapsed time is only updated at the end of the while loop.
I think that is the global variable is updated every time, I could be able to get its data to my main VI?
Does anyone have an idea?
Thank you,
Meach