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,007 Views)

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

Message 2 of 7
(919 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
(878 Views)

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

0 Kudos
Message 4 of 7
(862 Views)

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

Let me know if it works for you.

Message 5 of 7
(855 Views)

It works for LV2020 too. Many thanks!

0 Kudos
Message 6 of 7
(845 Views)
0 Kudos
Message 7 of 7
(718 Views)