Quick Drop Enthusiasts

cancel
Showing results for 
Search instead for 
Did you mean: 

String constant or comment to enum

If a comment or a string constant is selected then its getting converted to an enum constant.

1984_0-1694499526745.png

 

 

 

If an enum constant is selected then it is converted to a string constant:

1984_0-1695048606604.png

 

 

 

Message 1 of 7
(1,055 Views)

Version2 uploaded: it can convert an enum constant back to a string constant

Message 2 of 7
(967 Views)

This is cool. FYI, the new "Quick Change" feature in LabVIEW 2023 Q3 can do something similar. It can change free labels (but not string constants) into enums. You can see it from around 2:25 in the following video: What's new in LabVIEW 2023 Q3 - YouTube

0 Kudos
Message 3 of 7
(926 Views)

cool idea! Would it be possible to save a LV2020 version?

0 Kudos
Message 4 of 7
(910 Views)

LV2018 version is attached but I can't verify it.

Let me know if it works for you.

Message 5 of 7
(903 Views)

It works for LV2020 too. Many thanks!

0 Kudos
Message 6 of 7
(893 Views)
0 Kudos
Message 7 of 7
(766 Views)