07-18-2018 03:17 PM
Can anyone help me? I made a list, I want to make it so that the User can select certain elements and it will display as an indicator. Does anyone know how to do this.
07-18-2018 03:39 PM
That picture doesn't seem to have anything to do with your question... could you upload the actual VI you are talking about?
07-18-2018 03:48 PM
I have not done anything in the Vi. The only thing I am trying to do right now is pick certain elements from a list and display them all.
07-18-2018 04:02 PM
@Rayzab wrote:
I made a list, I want to make it so that the User can select certain elements and it will display as an indicator.
This is what I want to see, otherwise I will most likely choose a "list" and "indicator" that you don't like.
07-18-2018 04:04 PM
This is my VI, it is an extremely simple code.
07-18-2018 04:29 PM
Although I've been coding with LabVIEW for quite a few years, I'm not sure I've ever used a ListBox. Do you understand what and how they work? What "value" do you expect it to return? What do you have to do to change that value?
I wired an I32 Indicator to the output of the ListBox (that gave me no error). What value do you think the Indicator showed when the ListBox value "eight" was selected? Yes, it gave the number 7. Is this useful to you? Do you understand why this is the proper result?
Bob Schor
07-18-2018 04:36 PM
I cannot open the VI because I have LV 2016, but this is how I would display the text from the listbox:
07-19-2018 06:10 AM
How do you want the data to be displayed? Do you want the index or the string value? If you are after a string value, I recommend you look at the Combobox. A Combobox looks like a drop down menu item and has a string data type. This makes the code simpler for you.