LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

sorting data

I want to sort the data from the table with accending order like

 

name                                         marks

John                                            50

mary                                            80

Cathrine                                      60

Thomas                                       67

Suzy                                            75                                                   to

 

name                                         marks                                               

Cathrine                                      60

John                                            50

mary                                            80

Suzy                                            75

Thomas                                       67                                                  or      

 

name                                         marks                                               

mary                                            80

Suzy                                            75

Thomas                                       67 

Cathrine                                      60   

John                                            50...

 

I am a new in labview. Pls somebody kindly answer my question.

 

               

0 Kudos
Message 1 of 7
(3,826 Views)

Hi treasure,

are this arrays of different type. Build an array of cluster of your data and use the sort function from the array palette. See also this thread, it shows what i mean.

 

Mike

Message 2 of 7
(3,822 Views)

See attached example.  I understood that you are using a Table.  Using an array (2D array) should also work the same way.

 

R

 

Message 3 of 7
(3,801 Views)

That's what I want to do. Very nice and thank you for the quick reply.

Thank you Joe and Mike.

0 Kudos
Message 4 of 7
(3,797 Views)
can i have this example in labview 8.0...plz
0 Kudos
Message 5 of 7
(3,576 Views)

Hi jeyanthi,

here it is for LV80.

 

Mike

Message 6 of 7
(3,573 Views)
Thank u Mike
0 Kudos
Message 7 of 7
(3,567 Views)