From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

enum to string

Solved!
Go to solution
how to conver the enumerated to string?
Regards,
Balaji DP
0 Kudos
Message 1 of 34
(28,117 Views)
Hi balaji_dp,
create a property node of your enum control. Select "Strings[]", use the index array function. Connect the array from the property node and as index the value from the enum control.
 
Mike
Message 2 of 34
(28,111 Views)

Hello,

Use the enum prooperty node "strings[]".

Software developer
www.mcm-electronics.com





PORTUGAL
0 Kudos
Message 3 of 34
(28,109 Views)

Mike and Jorge,

Try "format into string".

I think you'll like it. Smiley Wink

Ben



Message Edited by Ben on 07-10-2008 08:37 AM
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 4 of 34
(28,108 Views)
Hi Ben,
thank you, now where you say it, i remember. Smiley Happy
Mike
0 Kudos
Message 5 of 34
(28,104 Views)

in my enumerated control   strings  and values are like   a-23, b-44, c-56....

then how could possible to do with property node and index value......?

 

Regards,
Balaji DP
0 Kudos
Message 6 of 34
(28,088 Views)

can you send example? for format into string....

i tried this but i didnt get....

 

Regards,
Balaji DP
0 Kudos
Message 7 of 34
(28,083 Views)
Hello,
 
Thanks for the information.
 
But do you think that it's better to use your way instead of our (performance/memory)? Cause, I prefer to use one property node instead of using one enum local variable connected to "format into string"
Software developer
www.mcm-electronics.com





PORTUGAL
0 Kudos
Message 8 of 34
(28,076 Views)
Solution
Accepted by Chris_Cilino

The top is using the Format Into String and the bottom uses the property node and an index array.

http://www.ni.com/academic/lv_training/how_learn_lv.htm

 



Message Edited by Dennis Knutson on 07-10-2008 08:07 AM
Message 9 of 34
(28,077 Views)
Hi balaji_dp,
try this. Smiley Happy
 
Mike
0 Kudos
Message 10 of 34
(28,072 Views)