LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

sort in numerical order

Solved!
Go to solution

can someone show me how to sort this in numerical order?

only the first column in order, but the rest of the columns will follow the sorted values.

does that make sense?

untitled.PNG

0 Kudos
Message 1 of 14
(3,398 Views)
Solution
Accepted by topic author HelloKristy
Message 2 of 14
(3,386 Views)

that works!

thanks!!!!!

0 Kudos
Message 3 of 14
(3,380 Views)


I actually am only using the evaluation for ni 2011.

do you think you or anyone in this forum can save the 

Sort_2D_Array_DBL.vi in Labview 7.0?

i only have license for 7.0.

0 Kudos
Message 4 of 14
(3,378 Views)

Cool set of VIs, thanks for sharing pcardinale.

 

In this special case the following simple code would also work.

 

Ben64

0 Kudos
Message 5 of 14
(3,352 Views)

I believe there is an OpenG array toolkit which includes a "Sort Array" function that can sort by any column or row. OpenG is compatible with many previous releases, so it's possible it will work with 7.1. You can get the OpenG packages through the VI Package Manager utility (search NI.com or Google)

Thoric (CLA, CLED, CTD and LabVIEW Champion)


0 Kudos
Message 6 of 14
(3,345 Views)

thats okay..i can duplicate ben's simple code.

THANKS FOR EVERYONE'S HHELP!!

0 Kudos
Message 7 of 14
(3,342 Views)

it doesnt work for me on labview 7.0.

untitled.PNG

0 Kudos
Message 8 of 14
(3,326 Views)

Disable autoindexing in the top two tunnels.

0 Kudos
Message 9 of 14
(3,322 Views)

Do as Darin said and also, you have to stretch the bottom of the index array function because you want to index a 2D (and connect the output of the search array function to the column index input which is the second one). Have a look at the LV help on these functions.

 

Ben64

0 Kudos
Message 10 of 14
(3,318 Views)