| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| I want to sort the data from the table with accending order like name &n bsp; &nbs p; &n bsp; marksJohn   ; & nbsp; &nb sp;   ; & nbsp; 50mary &n bsp; &nbs p; &n bsp; &nbs p; 80Cathrine &nbs p; &n bsp; &nbs p; 60Thomas&nbs p; &n bsp; &nbs p; 67Suzy &n bsp; &nbs p; &n bsp; &nbs p; 75 &n bsp; &nbs p; &n bsp; &nbs p; to name &nbs p; &n bsp; &nbs p;   ; marks &nb sp;   ; & nbsp; &nb sp;   ; Cathrine &n bsp; &nbs p; 60John &n bsp; &nbs p; &n bsp; &nbs p;   ; 50mary &n bsp; &nbs p; &n bsp; &nbs p; 80Suzy &n bsp; &nbs p; &n bsp; &nbs p; 75Thomas &n bsp; &nbs p; 67 &n bsp; &nbs p;   |
|
#2
| |||
| |||
| 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 <a href="http://forums.ni.com/ni/board/message?board.id=170&message.id=239665&que ry.id=13287#M239665" target="_blank">this</a> thread, it shows what i mean. Mike |
|
#3
| |||
| |||
| See attached example. I understood that you are using a Table. Using an array (2D array) should also work the same way. R SortTable.vi: http://forums.ni.com/ni/attachments/...1/SortTable.vi |
|
#4
| |||
| |||
| That's what I want to do. Very nice and thank you for the quick reply.Thank you Joe and Mike. |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.