LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Test List

I would like to realize a VI where I can add, remove and modify the order of states in a list. 

 

The Idea is select the Test from Combo Box Test and after to press the control Add in the List Box had been adding the Test and in the Tab control the User can modify parameters.

 

If I select a Item in the list and after press Remove the test selected must be deleting.

 

The

RicardoCuevas_1-1635529939154.png

 

 

For modify the order from list it will be easy as we can modify the order when edit the items  in the Combo Box, dragging the items.

RicardoCuevas_2-1635530327265.png

 

Finally when I press Save, create a .txt with the Test and them parameters.

 

 

0 Kudos
Message 1 of 5
(1,413 Views)

How far did you get and where did you get stuck?

0 Kudos
Message 2 of 5
(1,410 Views)

I dont know how to add, remove and modify the order in a list.

0 Kudos
Message 3 of 5
(1,408 Views)

@RicardoCuevas wrote:

I dont know how to add, remove and modify the order in a list.


  is implying that you upload your actual code so we can see how far you've gotten and what we can help you with.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 4 of 5
(1,404 Views)

I assume you are talking about the listbox when you say list.

 

The "value of the listbox is the selected item and the "items" is an array of strings. (assuming you have it set to "0 or 1 item" and not multiple).

I would keep that array in a shift register and use buttons to operate on the selected item by doing an array operation on the items and then rewrite them. You already have "add" and "remove", so to change the order, easiest would be to also add a "move up" and "Move down" button.

 

0 Kudos
Message 5 of 5
(1,394 Views)