LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

What is a refnum?

So this may be a really, really simple question, but I am having trouble understanding something.  I was curious what a turqoise wire is, so I did some reading and found out it is for a refnum.  But, I cannot find out what a refnum actually is.  I think it is a link to a specific control on the front panel, but then why use a reference instead of a property node, or even wire the control directly to a desired output?

 

Thanks,

-Richard

0 Kudos
Message 1 of 3
(31,377 Views)

There are many uses for control references. For example you could feed the refnum of a control to a subVI and change some property of the control there (e.g. value, color, boolean text, etc.).

 

 

The list of possible flavors of refnums is large. Here's a list. (Look for some typical uses in the description for each entry).

Message 2 of 3
(31,374 Views)

Hey Richard,

 

Here is some more information about the different applications of property nodes and refnums, in addition to the great info that altenbach posted. Hope that helps!

John B.
Embedded Networks R&D
National Instruments
Certified LabVIEW Developer
0 Kudos
Message 3 of 3
(31,325 Views)