LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

display selected columns

I am trying to select several columns from a 2D array and display it in a mutilistbox.  Since I need to select different columns very often, I want to have a dialogue control to make this selection.
For instance, I have a 2D array with 100 columns, in the first time, i choose column 1,5,20
In the second time, I choose column 3, 5, 10,100
The selection can be arbitrary each time. 
Any help, please
0 Kudos
Message 1 of 7
(3,323 Views)
The attached vi will do the trick.
- tbob

Inventor of the WORM Global
0 Kudos
Message 2 of 7
(3,313 Views)

Try this out as well

 

BTW could you guys post you VI's in a later version so the rest of us low budget people can read them....Thanks

 

 

 

Hell, there are no rules here...we're trying to accomplish something!!! - Thomas Edison
0 Kudos
Message 3 of 7
(3,306 Views)

Tbob,

 

COuld you post your vi in labview 7 or below.  I would really like to see how you implemented the solution to this problem.  It looks like you managed to do it in with about 20% less coding.  I'm always trying to pick up better ways to do things.

 

Grub

Hell, there are no rules here...we're trying to accomplish something!!! - Thomas Edison
0 Kudos
Message 4 of 7
(3,303 Views)

Here is a picture of the block diagram:

Message Edited by tbob on 08-22-2005 03:27 PM

- tbob

Inventor of the WORM Global
Message 5 of 7
(3,298 Views)
You give me a great example.
I try to use it in my program.  I selected two many columns in select column array. Now I want to delete (or disable) some selected columns.
For example, I only want to select column 0 and display in column 1, select column 1 and display in column 0, select column 2 display in column 2.
If I drag  one element out, the select column array will be empty.
Please help how to handle this.
0 Kudos
Message 6 of 7
(3,276 Views)
You can't drag an element out of an array without destroying the array.  If you are wanting to delete an element, right click on the element and select Data Operations - Delete Element.  If it is not the last element, all elements below will shift up.
- tbob

Inventor of the WORM Global
0 Kudos
Message 7 of 7
(3,269 Views)