05-16-2008 09:50 AM
05-16-2008 09:55 AM - edited 05-16-2008 09:57 AM
05-16-2008 10:27 AM
05-16-2008 10:56 AM
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
05-16-2008 11:27 AM
05-19-2008 04:24 AM
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
05-19-2008 03:41 PM
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
05-20-2008 03:19 AM
05-20-2008 06:44 AM
Are you using any queue or notifiers between the two loops?
In other words, is there a mechanism that affects the other loop?
05-20-2008 06:55 AM