Selecting a Page in a Tab Control Using a String in LabVIEW

Updated Dec 18, 2019

Reported In

Software

  • LabVIEW

Issue Details

I want to use a string to select a pages in a tab control in LabVIEW.  How would I do this while avoiding errors and mismatches?

Solution

One option is to use the Scan from String VI with some custom logic.  See the attached example VI.

Additional Information

It would be preferred to use an enum control instead of a string to select the page to avoid user error and to make the VI more simple.