LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Notification will not occur

I seem to have run into a problem with notifications. I have this two VI Test-Notify-Wait and Test-Notify-Send. If I start Test-Notify-Wait and shortly after about a minute I start Test-Notify-Send, the program will hang forever. However If I open the clone Wait-All-Notifiers, Open the block diagram, and turn the execute trace on, the notification will be released and program can proceed.
 
If you watch the execution trace, there will be 2 passes on the loop (I only have a single notifier attached to this particuliar loop). The first pass on the loop will result in unable to find the notifier refnum. The second will then have the correct notification and stop waiting. It seems that the wait on multiple notifier VI will generate a refnum not included in the input list.
 
To make things more interesting, if you reverse the order of the startup, the program will work properly.
 
I do not see what I am doing wrong at this time. Can anyone give me a clue to the problem. Could it be the machine setup? or a real Labview bug?
0 Kudos
Message 1 of 5
(2,814 Views)
Hi Joseph,
 
I'm not sure why you are seeing the error you are. I don't see the VI hang but I do receive an error from the notifier created in the find-csv_notifier-bool.vi that is probably caused by not having to correct hardware set up. Can you provide any information about what kind of set up I will need to correctly run the code. Also your code is pretty complex, do you think you can eliminate anything that is not related while still producing the issue. This will make it easier for me to loof through the code.
Sappster
0 Kudos
Message 2 of 5
(2,783 Views)

There is no hardware setup. It is a purely programming VI. It looks like you are running into Labview infamous errors where it provides no information whats so ever.

Find_CSV_Notifier-Bool is basically converts the string into an array that will allow you to find / create multiple notifiers.

0 Kudos
Message 3 of 5
(2,763 Views)

Hi Joseph Loo,

i can´t see this behavior. I can run and stop both vi´s.

But i get an error after the second load.

Mike 



Message Edited by MikeS81 on 07-31-2008 03:24 PM
0 Kudos
Message 4 of 5
(2,759 Views)
Does that mean if you click on the stop button on one VI the other one will stop? You also start the VI in a certain order too?
 
The error occurs because I forgot that I deleted a notification in both of them. Thus one will always error out.
0 Kudos
Message 5 of 5
(2,754 Views)