I have a listbox I'm using as a multi-plot legend AND a selector of which plots are shown, that can be changed at run time (i.e. by selecting a plot name in the listbox, it sets that plot to visible).
I want to initialize the listbox so that every item in the plot names column is selected when the VI is first run (i.e. when the VI is first run I want the listbox control to return an array with every index of the rows in the listbox). This will cause all the plots to show, whereas currently if I stop the VI, then re run it, only the plots previously displayed will be shown. The number of plots varies from run to run, so I can't just create a constant.
Any ideas?
Michael