LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

working of notifier

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.

0 Kudos
Message 1 of 8
(2,635 Views)

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

 

0 Kudos
Message 2 of 8
(2,628 Views)

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??

 

 

 

 

0 Kudos
Message 3 of 8
(2,626 Views)

And thanks for responding 🙂

0 Kudos
Message 4 of 8
(2,625 Views)

If you cancel the notification wait2 will not be triggered.

 

Place this snipped on a block diagram and play with it:

 

notifiers.png

0 Kudos
Message 5 of 8
(2,619 Views)

Hey

thank you for puttin so much effort. But could you post it in labview 2010 ?

0 Kudos
Message 6 of 8
(2,614 Views)

See attachment,

 

regards,

Marco

0 Kudos
Message 7 of 8
(2,593 Views)

Thank you 🙂

0 Kudos
Message 8 of 8
(2,573 Views)