From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Check if User Event destroyed?

Solved!
Go to solution

Is there some way of checking if a User Event has been destroyed, or is even active before registering? 

For instance, if an event structure has registered to a User Event - then the User Event gets destroyed run time, is there some way to recover/get an error in the event structure that the User Event it's waiting for no longer exists? 

 

Cheers

0 Kudos
Message 1 of 3
(2,777 Views)
Solution
Accepted by topic author rthomas101

Use the built-in function on the Comparison palette "Not A Number/Path/Refnum?"

"If you weren't supposed to push it, it wouldn't be a button."
Message 2 of 3
(2,756 Views)

Perfect! Thank you, it's been driving me nuts for days. 

Message 3 of 3
(2,749 Views)