06-26-2006 05:43 AM
06-26-2006 06:06 AM
06-27-2006 11:16 AM
Hi,
Error 1111 means "Release Semaphore called on a semaphore that was not currently acquired". You can find more information on errors by right-clicking on the error number and selecting "explain error". Taking a quick look at your code, there is no dataflow enforced between your subVIs and your main VI. It is possible that the main VI could finish and destry the semaphore while your subVIs are still trying to use it. I am also not sure that you want to acquire and release the semaphore inside the while loops in your subVIs. Usually it makes more sense for applications to acquire and release the semaphore outside of loops.
You may find this tutorial, Using Semaphores, helpful.
Good luck,
Megan B.
National Instruments
06-28-2006 01:51 AM
06-30-2006 12:03 PM
This was answered by Chris C. in the LabVIEW discussion forums.