04-10-2012 01:04 AM
Hi
I have a named notifier say xyz.
One sub vi which sends the notifications
two vis are waiting for the notification but one is conditionally waiting . and all the vis are in a loop.
Suppose the notifier sent notification - now there are two waits - one is always executed, the other only when certain condition is there.
first time, condition was not fulfilled, notification is sent, hence only wait1 executed and wait2 case was not called.
loop runs again , condition was fulfilled, both wait1 and wait2 are waiting for notification. Now would wait2 execute based on the previous notification or would it wait too along with wait1 ?
please help.
04-10-2012 01:48 AM
If I've understood correctly, wait2 will be triggered by the previous notification.
I would suggest to code the VIs and try.
You can post them here so we can discuss more easily.
Regards,
Marco
04-10-2012 01:58 AM
hi Marco
Actually I have made the vis but the vis have to be used with a hardware, currently shared, so I cannot check at real time right now. I am also not sure If I can post it due to propriety issues.
I will try to create a similar vi. I am mainly interested to know how notifiers respond.
But what if I cancel the notification after wait1 has read it? will wait2 still be triggered??
04-10-2012 01:59 AM
And thanks for responding 🙂
04-10-2012 02:34 AM
If you cancel the notification wait2 will not be triggered.
Place this snipped on a block diagram and play with it:
04-10-2012 03:32 AM
Hey
thank you for puttin so much effort. But could you post it in labview 2010 ?
04-10-2012 07:19 AM
See attachment,
regards,
Marco
04-10-2012 11:08 PM
Thank you 🙂