Thanks for the link, tst.
tst wrote:
I didn't look at the example you uploaded, but since I never had a need to test the performance of either notifiers or occurences
The example I uploaded isn't a performance test. I did the performance test before developing the reuse I posted in the example. Early in my LabVIEW development, I was frustrated by 3 things: (1) that I couldn't set a panel of controls to default at the same time (which maybe I could have back in 6i, but I wasn't aware of it anyhow), (2) that I couldn't pop up on a diagram node and "Create Controls and Indicators", and (3) that I had to jump through hoops to stop multiple loops with a Stop button (set mechanical action = switching, create local variables, set Boolean button back to False after all loops exit). The first 2 we can do today in LabVIEW. The third is still a point of frustration (e.g. creating Global Variables or monkeying with Notifier primitives). Architecturally, you might not stop loops this way, but you might want to in secondary user interface pop up VIs or across daemons. So, I developed a simple solution that also has many other use cases.