LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Comment créer des listes déroulante lier entre elles dans labview pour ouvrir le vi correspondant

Bonjour,

 

Je souhaite lier plusieurs listes déroulantes entre-elles ( 5 listes déroulantes et chaque liste contient un minimum de 7 choix ). Je souhaite que l'utilisateur sélectionne un choix dans les 5 listes deroulante.Les choix sélectionnés, il appuie sur un bouton "valider" qui va ouvrir le vi correspondant.

Comment lier mes listes deroulante pour que je puisse associer les choix à un vi donné ?

0 Kudos
Message 1 of 4
(105 Views)

Hi 11,

 


@anonymous11 wrote:

I want to link several drop-down lists together (5 drop-down lists and each list contains a minimum of 7 choices). I want the user to select a choice in the 5 drop-down lists. Once the choices are selected, he presses a "validate" button which will open the corresponding vi.

How do I link my drop-down lists so that I can associate the choices with a given vi?


You could use case structures to "link" from user choices to VI names.

Or you could use LookUpTables (or maps) to link from an item name to a VI name…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(102 Views)

Hi,

Thank you for your answer but i don't understand how you link all the user choices (drop-down lists)?

i tried to use a string property node for each list and i concatenated all string to one in order to use the case structure and match with the vi name. But unfortunatelly the concatenated string don't show the specific choice of my user but all the list.

0 Kudos
Message 3 of 4
(71 Views)

Hi 11,

 


@anonymous11 wrote:

i tried to use a string property node for each list and i concatenated all string to one in order to…


So you implemented something in your code and it doesn't work as required!?

How should we help when you don't show your code?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 4
(52 Views)