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 Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
0 Kudos
SectorEffector

Enum to String function

For log files, configuration files and data sheets I often want to save the current value of Enum controls.

What would help a lot is a function that converts the selected object name of the the Enum into a string:

 

Enum2String.PNG

--------------------------------
The Enrichment Center is required to remind you that you will be baked, and then there will be cake.

4 Comments
GuenterMueller
Active Participant
SectorEffector
Member

GuenterMueller! Thank you sir!

--------------------------------
The Enrichment Center is required to remind you that you will be baked, and then there will be cake.

JordanG
NI Employee (retired)
Status changed to: Already Implemented
 
X.
Trusted Enthusiast
Trusted Enthusiast

You actually don't even need to use the %s format shown in the link above:

 

ScreenHunter_002.jpg