markus,
I've got 3 4 thoughts:
1. Because the 'ignore previous' input to the "Wait On Occurrence" function is set to False, the "Wait..." function would return immediately if the occurrence was Set at any time prior to the "Wait" call, including long before ever calling the subvi. Could this be happening? Are your other "Wait on Occurrence" functions wired with a False?
2. The occurrence control may not be receiving a valid occurrence refnum from the calling vi. Actually, I just tested this under 6.1, and an invalid refnum causes an immediate timeout. Unless the behavior is different in your version, never mind.
3. Are you sure the error cluster isn't getting asserted? I expect you've checked this, but I have to ask...
4. This seems pretty unlikely, but it's something I've done a couple times -- any chance the Boolean NOT function is merely sitting on top of a continuous wire rather than being actually connected at input and output? This would cause the loop to terminate on no error.
Maybe you can put probes on the inputs to the loop-terminating AND function to verify which side is responsible for terminating the loop...
-Kevin P.
ALERT! LabVIEW's subscription-only policy coming to an end (finally!). Permanent license pricing remains WIP. Tread carefully.