Overview:
This code provides a simple way to get a selection from a multicolumn listbox (MCLB) with a select all toggle button.
Description:
The MCLB stores the selected items in its 'value' property node, as a list of the index of each element. Using this we can index the items of the MCLB to generate an array of each of the values.
Requirements:
LabVIEW 2012(or compatible)
Steps to Implement or Execute Code:
1.Click Select All button, we can index the items of the MCLB.
2.When the View Selected button is pushed, the 'items' array is populated from the selected items in the list.
3.Click Stop to stop the VI.
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
Can you upload a LV 2010 version? Thanks!