09-23-2015 12:59 PM - edited 09-23-2015 01:08 PM
So lets say I register for some dynamic events, user events or other. How can I probe that event registration, to see if there are events to be handled, without dequeueing those events? This parallels the Queue functions of Get Queue Status, or even possibly Preview Queue Element.
One way to do this is to register for events twice, then use one just to probe if there are events to be handled, and the other actually handles them. Are there other ways to probe into the event registration? Or is this an idea for the Idea Exchange? This information must be somewhere right because the Event Inspection Window uses it.
Edit: Oh the dangers of unpublished APIs (\resource\dialog\Event Inspector\EI Get Event Queue Data.vi)
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
09-24-2015 02:17 PM
Hi Hooovahh,
I looked into this and wasn't able to find an API function that allows user access to the event registration.
It seems like your suggested workaround might be the best bet and you could definitely mention it in the Idea Exchange.
09-24-2015 02:55 PM
Seems there is an idea that is close to what I want.
The private function used in the Event Inspector Window might have worked, but I suspect constantly querying it would cause memory issues, and besides it is for events in all of an application instance, where I just care about one structure, or event registration ref.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord