LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Details from a VI server reference

I have a Vi server reference from a color box and I'd like to get the Control label name from the reference because I want to use it for a case structure

0 Kudos
Message 1 of 6
(1,940 Views)
  1. What is the question?
  2. Where is the code (a file with the extension ".vi")?

Bob Schor

0 Kudos
Message 2 of 6
(1,918 Views)

Hi Bob

 

The question is above and in conjunction with the attached picture. I'd like to get the label name (highlighted in red, see pic) out of the vi reverence.

0 Kudos
Message 3 of 6
(1,878 Views)

Drop a Property Node on the Block Diagram (Application Control palette). Wire your reference to the Property Node.

The property you need is Label -> Text

Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
0 Kudos
Message 4 of 6
(1,874 Views)

@Robi_F wrote:

I have a Vi server reference from a color box and I'd like to get the Control label name from the reference because I want to use it for a case structure


Simply place a property node on the diagram and connect the refnum to it. Then select the property you are interested in and wire it up.

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 5 of 6
(1,868 Views)

Hoi Rolf

 

Herzlichen Dank!

0 Kudos
Message 6 of 6
(1,845 Views)