LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I use the label of a wire as a string?

Hello!
 
I'm trying to get the name of wire as a string for further processing, e.g. for naming of a channel group.
The name is displayed in the context help window, is there a way to extract it?
 
I tried to use the property function, but it isn't available for wires.
 
Thanks
 
Message 1 of 5
(3,003 Views)
I am pretty sure that this cannot be done.

ssk
0 Kudos
Message 2 of 5
(2,993 Views)
The "name" of the wire is picked up based on what the source of the wire is. If that object is named, then the wire will have a name. Thus, you should look to the source of the wire for what you need.
0 Kudos
Message 3 of 5
(2,984 Views)
The wire picks up its name for its source.
 
Just go to the source of the wire and use property nodes to get at the names.
 
Trying to help,
 
Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 4 of 5
(2,982 Views)
Another option is to not use references but use variants.  The openg Get data name will take any data dype wire in and extract the name of the wire, again this is the name of the source data.
 
Paul

Message Edited by falkpl on 08-08-2007 12:16 PM

Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 5 of 5
(2,953 Views)