LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
Broken_Arrow

Search Queues & Notifiers for All Instances and More

Status: Declined

Any idea that has received less than 3 kudos within 3 years after posting will be automatically declined.

I would like to be able to right click on any Queue or Notifier (that has been previously setup, i.e. wired) and find all of the Queue or Notifier functions associated with it. Extend the idea to specifically find where these functions are setup and terminated.

 

In the pictured example, I have been able to easily troubleshoot a problem where someone has released a Notifier in two separate locations...

 

22266i6DB10B9728172C12

 

 

 

Richard






3 Comments
Broken_Arrow
Active Participant

Since Queues and Notifiers are often used for "wireless" data links between loops and VI's, a method to resolve all the locations becomes important - in a similar manner in which we can find all Global Variables, and can even narrow down reads and writes.

Richard






JackDunaway
Trusted Enthusiast

@broken Arrow wrote:

Since Queues and Notifiers are often used for "wireless" data links between loops and VI's, a method to resolve all the locations becomes important


 

Agreed... but I don't think what you want is possible. Take a few examples:

 

1. A Queue Ref is passed to a Ref Control via VI Server "Ctrl Value Set". (P.S., I don't condone "Ctrl Value Set" - better option)

2. Consider two Queues going into a "Select" - which of the two inputs do actions on the output ref map to?

3. Consider a Queue Ref that is typecast to a base ref (check out the innards of the Config File Palette) or a U32, then re-cast back to the Queue type.

 

The best way I have found is to encapsulate the Queue Ref in either an action engine or as a private data member of a class. Once the Ref is privatized, you can then find all instances of the wrapper to determine the lifetime of and actions on the Queue. I think by definition this problem must be solved architecturatlly, not with an IDE tool.

 

Comments?

Darren
Proven Zealot
Status changed to: Declined

Any idea that has received less than 3 kudos within 3 years after posting will be automatically declined.