08-25-2005 11:53 AM
08-26-2005 11:24 AM
The best way to implement this functionality would be to use a multicolumn listbox instead of a table to display your 2D data. The multicolumn listbox stores text data and outputs either a scalar or an array value for the row(s) selected.
You could first convert your numbers to strings for display purposes and input them into the multicolumn listbox by using a property node for the listbox with the Item Names property selected. Then change it to write and wire a 2D string array into it to populate the list box. Then the user can select a row, which you could index out of the 2D string array accordingly and input into a 1D listbox so the user can select a subarray for analysis. Alternatively, you could have simply have the user select an offset and length for the subarray.
Unfortunately there are no means of selecting or deselecting certain columns directly using the listbox, but this idea will at least deliver the desired functionality. I've attached a quick example that sums a selected set of numbers in LabVIEW 7.0. Let me know if you need an earlier version.
08-26-2005 12:24 PM
08-26-2005 02:02 PM