03-12-2018 05:10 AM
Hello everyone,
I have a task where I have to create a menu from which the user should select 1 or 2 or multiple items ( in my case those items are numeric which seems to be bugging me) and then output them into array. The problem is i cant figure out how to do that menu. I've tried with cluster, listbox, checkbox, prompt user but i think I'm not using them correctly. I would be very thankful if somebody point me into the right direction.
Thanks!
03-12-2018 06:40 AM
I would use the Listbox. There is a right-click option for the selection. One of them is to allow multiple selections. The terminal will give you an array of indexes if that is selected.
03-12-2018 07:26 AM
Ok, but is there a way when i select the number 30 from the listbox to output me that value?
03-12-2018 07:51 AM
I was going to make a snide comment about "Read the LabVIEW Help", but there isn't much, is there? However, if you do a Web search for LabVIEW ListBox, you can find several hits that include Examples. I've not used them, myself, but have used Combo Boxes (String Control) -- since these are designed to be used with Property and Invoke Nodes, they are not exactly "elementary" ...
Bob Schor
03-12-2018 08:12 AM - edited 03-12-2018 08:12 AM
@Student2018 wrote:
Ok, but is there a way when i select the number 30 from the listbox to output me that value?