06-17-2019 02:15 AM
As everybody has pointed out, the behaviour in real-life is that any events already stored in the event registration refnum will still be there. Any attempts to send further events will fail, however, since the event required for this is now destroyed. I do this reguslarly, create event, register for event, send event, destroy event, eventually handle event. Works fine.
For me, the documentation needs to be amended to clarify this issue.
"no longer receive the event" is ambiguous. Events queued up until the point of destruction will still be handled, and events attempted beyond the point of destruction will not have any effect.
06-17-2019 09:51 AM
Hello Everyone.
Thanks for the input! I am inclined to agree that it is the documentation that is a bit lacking and I am glad that NI are unlikely to make any changes to the functionality in the future.
Cheers
John
07-25-2024 03:22 PM
Documentation bug 2812849 filed.