Go to Post Actually, please don't put any limits on your ideas or creativity at this point. Brainstorm, innovate, and contemplate whatever ideas you might like to consider. - dlavery [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 4 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 12-01-2009, 20:03
Kahn! Kahn! is offline
Registered User
FRC #1379
 
Join Date: Sep 2008
Location: Norcross, GA
Posts: 22
Kahn! is an unknown quantity at this point
Sorting 2-D Arrays [Labview]

I spent about 3 hours today circumventing the idea of sorting 2-D arrays in Labview. I had a 2-D array of 3 values. My plan was to reorder the array by one of the values while keeping the other values in the same index.

For example, this array:

[0] 6 14 28
[1] 7 81 4
[2] 1 15 38

I would want to sort it by column 3 making it this:
[0] 7 81 4
[1] 6 14 28
[2] 1 15 38

Does anyone know of a simple way to do this, or should I stick with my excessive, hard-to-follow code that I don't think I'll ever understand now that I've finished writing it?
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
2008 Match Sorting Algorithm Grant Cox Rules/Strategy 1 09-01-2008 21:41
Sorting out Digital NASA TV Billfred General Forum 2 03-12-2007 18:55
pic: Sorting drill bits Andy Baker Extra Discussion 12 16-02-2005 21:46
Arrays on the PIC? scitobor 617 Programming 8 06-12-2004 09:10
EduCAD and Arrays!!!!! Sachiel7 Programming 14 03-11-2003 03:21


All times are GMT -5. The time now is 20:42.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi