I have a application in that one loop runs continuously, when I call that loop it should pause the iteration and when I call that loop it should resume the iteration. How can Implement??
Can any one help me,,,,?
Solved! Go to Solution.
Not clear , can you explain it better or attach any VI or picture of block diagram.
Try with notifiers...!! By which communication can be done between two independent loops...!
Thank you for reply,,,,
Please refer the below vi. To explain my concept I have used while loop you can use any other loop also. But your using that loop should continuously run.
Thanks for your reply,,,,,,,,,,,
Can you implement and upload any sample vi for me,,,,,
keep the value in uninitialize shift register and read from there.
It is solution only for what you have shown in picture.
Do you want anything else.
You don't want to pause and resume the while loop.
You want some part of your program to pause and resume.
You can make a state machine in which pause does not execute your code and resume starts executing your code from where you left. Use shift registers to hold your data.
another thing if you just want to implement pause and resume you can use timeout events with value -1 and some time.