LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Determining whether a typed reference is a Notifier or a Queue

Solved!
Go to solution

I am trying to create some code to parse a cluster control reference, detect notifiers and create VIs for "sending" the appropriate notifiers.

 

When I parse the cluster, I see that all Notifiers are listed as "TypedRefnum". I can access the "Element" of the reference which then gives me the datatype, but how do I differentiate between a Queue of that datatype or a Notifier of that datatype. Even the ClassID is the same.

 

Intaris_0-1614248228312.png

 

 

Do I need to parse the "Value" of the cluster as opposed to a VI Server parsing?

0 Kudos
Message 1 of 5
(1,220 Views)
Solution
Accepted by Intaris

I think you would have to get the "value" of the reference (which the actual queue or notifier reference), then inspect it.

 

deceased_0-1614258360351.png

 

Message 2 of 5
(1,184 Views)

Wait, "Get Refnum Information"? Where is that?

 

Ah, found it. Wow. Never knew that palette existed. Well, that's the rest of my day sorted....

Message 3 of 5
(1,178 Views)

Think its one that used to be in the hidden gems back in the day (2010?), now in the variant palette.

0 Kudos
Message 4 of 5
(1,170 Views)

@deceased wrote:

Think its one that used to be in the hidden gems back in the day (2010?), now in the variant palette.


Yeah that Variant palette was unhidden in ... 2014?

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 5 of 5
(1,144 Views)