05-04-2022 12:19 PM
Where can I find more information on the Null Broadcast Events--constant use? The documentation is not very helpful.
Ben
Solved! Go to Solution.
05-04-2022 01:02 PM
Hi Ben,
I believe it can be used if you will be registering for events later in the application. For example, if you enter the event structure before the module which broadcasts those events has been launched, you can use the null broadcast events constant before the event structure. Then when the module is launched, you will re-register for the events inside the event structure.
05-04-2022 01:29 PM
05-04-2022 02:23 PM - edited 05-04-2022 08:37 PM
Hi, this is just a constant vi with null references
You can use it to unregister an event structure already subscribed to an event.
This way you can subscribe with the previous existing methods and unsuscribe programatically.
Best regards,
Enrique.
05-04-2022 03:40 PM
We added the null bc events vi both to make it easier to unregister from the broadcast events.
For me personally, this is a very important addition to DQMH: It perfectly captures the intent of the software to explicitly use invalid references:
- either to just define the events' datatypes at edit time without actually registering for them - that's usually when we use it to set up the event registration reference outside (ie before) the event structure
- or to unregister from a module's broadcasts from within an event structure
DSH Pragmatic Software Development Workshops (Fab, Steve, Brian and me)
Release Automation Tools for LabVIEW (CI/CD integration with LabVIEW)
HSE Discord Server (Discuss our free and commercial tools and services)
DQMH® (The Future of Team-Based LabVIEW Development)
05-05-2022 07:38 AM