LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

user interface

What would be a good way to design a user interface that allows user to select multiple tests, and let the user define the order that the tests need to be in? For instance, if I have 5 tests: A, B, C, D, and E, the user can select tests A, B, D or B, D, C, A or C, D, A, B, E. The user also has the capability to re-order the items or deselect any item until a START button is pushed. Thank you in advance 😛
0 Kudos
Message 1 of 15
(4,383 Views)
Hmmm... Why not to use to two list boxes (available tests and test To Do) with drag-n-drop capability?
0 Kudos
Message 2 of 15
(4,382 Views)
If you're looking for a control to set the test order, you could use an
array of enums, with the first 5 or so of the array elements visible.

Re: Creating User Interface in front panel, did you find the problem with
the tab control?

"analog" wrote in message
news:506500000008000000E3AB0000-1066448259000@exchange.ni.com...
> What would be a good way to design a user interface that allows user
> to select multiple tests, and let the user define the order that the
> tests need to be in? For instance, if I have 5 tests: A, B, C, D, and
> E, the user can select tests A, B, D or B, D, C, A or C, D, A, B, E.
> The user also has the capability to re-order the items or deselect any
> item until a START button is pushed. Thank you in advance 😛
0 Kudos
Message 3 of 15
(4,382 Views)
I agree.

On the left you have the full choice of tests.
On the right you have the tests you want to carry out.
The trick is to put them to the right in the order you want to run them.

JLV
Message 4 of 15
(4,382 Views)
so how do you do the drag and drop listboxes?
0 Kudos
Message 5 of 15
(4,382 Views)
So how would I do the drag-n-drop capability of listboxes?
0 Kudos
Message 6 of 15
(4,382 Views)
i have this VIs created sometime back.

This was the earlier version which might not be perfect. However, you might be able to modify it to suit your needs.

regards
ian
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
Message 7 of 15
(4,382 Views)
It does not have to be drag & drop.

You can use a means to select and press an right arrow icon to place it in the right box. The way to select could be as simple as a radio button to highliting the text.

Example:

Box with all choices => Selected tests (top/dwn)

You can do drag & drop more easily with something like Visual Basic. I never tried drag & drop with LV.
(maybe I should try it ;o)

=have fun=

JLV
Message 8 of 15
(4,382 Views)
I should always read further below when replying..

Check out the example from Ian.F (way below).

He has a neat, already made example of what I was talking about. Check out "iEditems_a.vi".

Cheers to Ian.F!!

-enjoy-

JLV
Message 9 of 15
(4,382 Views)
Thank you, that was very helpful 😛
0 Kudos
Message 10 of 15
(4,235 Views)