Thanks for the ideas guys, just to clarify it is important that my IO loop is suspended and not stopped, I should have mentioned that the IO loop is infact a state machine in itself, and it is important that it remains in the correct state while the other subVI is called. Is semaphore suitable for this?
Thanks
mstudio
Thanks for that Andrey, I'll give that a try. On a slightly different note, I tried putting a "wait for front panel activity" function in my UI loop, but I found that this seemed to suspend both loops - is that what I should expect, or did I do something wrong?!
mstudio
Did you implement the example shown with the semaphore and added the "wait for FP activity" to it?
If so, then both loop would be affected since the bottom loop is "locked out" by the semaphore.. That is if the semaphore was activated before the wait.
Can you post what you have done?
RayR
Are you using any queue or notifiers between the two loops?
In other words, is there a mechanism that affects the other loop?