ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Build a cmd-like interface in labview

hello i have a string indicator in labview formatted as follows: 

"Select which test to execute:

1- Test01

2-Test02

3-Test03"

 

and from a string control i pick which test to run by typing in the index (1,2,3). Once i do that i need the string indicator to be replaced with a series of subtests. Like for example, lets say i pick test 01. the indicator would now say something like:

 

"Test 01 subtests

1-Subtest 1.1

2-Subtest 1.2

3-Subtest 1.3"

 

by choosing an index here, another menu appears on the indicator

 

how can i do that? i tought of using a series of case structures but, given the amount of sub-menus i have, the code would become bloated with case structures. is therer an easy way to build an interface like this?

 

thank you

0 Kudos
Message 1 of 2
(627 Views)

Have you considered a tree control?

jcarmody_0-1719929339500.png

 

Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

0 Kudos
Message 2 of 2
(622 Views)