LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

enum to string

how to conver the enumerated to string?
Regards,
Balaji DP
0 Kudos
Message 1 of 34
(22,149 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
(22,143 Views)

Hello,

Use the enum prooperty node "strings[]".

Software developer
www.mcm-electronics.com





PORTUGAL
0 Kudos
Message 3 of 34
(22,141 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
(22,140 Views)
Hi Ben,
thank you, now where you say it, i remember. Smiley Happy
Mike
0 Kudos
Message 5 of 34
(22,136 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
(22,120 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
(22,115 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
(22,108 Views)

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
(22,109 Views)
Hi balaji_dp,
try this. Smiley Happy
 
Mike
0 Kudos
Message 10 of 34
(22,104 Views)