See here for the proper LabVIEW bug reporting procedure.
Tags |
(This content has not been tagged yet)
|
![]() |
Jan 14 2007, 10:21 PM
Post
#1
|
||||
|
Changing the world, one VI at a time. JKI ![]() Posts: 1692 Joined: 22-October 02 From: San Francisco, CA Member No.: 17 Using LabVIEW Since:1995 LV:8.2.1 ,8.5 ,7.1.1
My Blog
My Gallery
|
[CAR 45E9BHJ1]
If an error occurs while waiting on notifiers, previously fired notifiers are lost, as the \"notifiers out\" array is emptied. This bug is caused by \"Wait for All Notifications Sub.vi\" (vi.lib\\utility\\Wait for All Notifcations.llb\\Wait for All Notifications Sub.vi) clearing the \"fired notifiers\" array. --------------------
|
|||
|
|
||||
| Ad |
Jan 14 2007, 10:21 PM
Post
#
|
||
|
|
|
||
|
|
|||
Jan 15 2007, 01:58 AM
Post
#2
|
|||
![]() LV R&D Envoy NI ![]() Posts: 1226 Joined: 15-August 06 From: Austin, TX Member No.: 5877 Using LabVIEW Since:2000 LV:8.5.1 ,. ,.
My Gallery
|
-------------------- "A VI outside a class is a gun without a safety. Data outside a class is a target."
--- A message from LabVOOP R&D
|
||
|
|
|||
Jan 15 2007, 03:24 AM
Post
#3
|
|||
|
Changing the world, one VI at a time. JKI ![]() Posts: 1692 Joined: 22-October 02 From: San Francisco, CA Member No.: 17 Using LabVIEW Since:1995 LV:8.2.1 ,8.5 ,7.1.1
My Blog
My Gallery
|
Regarding the handling of errors in this VI, I just posted some additional comments (here), which are shown quoted below.
One more thing... the description of the "notifiers out" indicator (which is shown in the context menu when you hover over the indicator) states: "notifiers out is the entire array of notifiers in, unless an error occurs. If an error occurs, notifiers out contains only those notifier refnums that caused the error." However, this is not the actual (or the desired, IMO) behavior. If some notifiers are received before the error occurs (for example, if one notifier becomes invalid after others are received), then the notifiers and notifications received should be output to "notifiers out" and "notifications" (respectively). I don't think that it is entirely possible to know which notifiers caused the error, since the "Wait on Notification from Multiple" primitive does not tell you which notifier generated the error. We could infer which notifiers caused the error by checking if any of them are Not a Refnum. But, in any case, the user of this VI could make this check, themselves, if an error did occur. If this VI does actually need to output an array of notifiers that caused the error, then I would prefer if this were an additional output ("notifiers with errors") and we used "notifiers out" to contain the notifiers that were actually fired.
--------------------
|
||
|
|
|||
![]() ![]() |
| Time is now: 22nd November 2008 - 06:20 AM |