LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Extracting from 2D arrays

Greetings,

I'm still fairly new, and I'm sure this is easier then I'm making it to be. I've gotten my test files extracted down to the level I need. Which is a 2D array as follows (columns):

Frequency | Amplitude


What I want to do is find the MAX value (amplitude) for a given frequency. Tests will have varying amount of points. So for example if I'm testing from 1GHz - 2GHz, 1GHz could be represented 21 times or 121 times. At which time I would need to find the MAX value for 1GHz, and of course so on.....for every frequency point.

I really want a "sort" option for a 2D array in which I can determine which column to sort by ascending and the adjoing cells associated with that original columns cell would move with it.

Any help would be appreciated.

Thanks in advance.

Chazzzmd

0 Kudos
Message 1 of 6
(3,281 Views)
Hello,

I believe that the function you are looking for exists in OpenG.  Check out:  http://jkisoft.com/vipm/

Cheers!
Message 2 of 6
(3,279 Views)
jmcbee,

Thanks for the info. Is that the only solution? A 3rd party piece of software. I downloaded it, but haven't installed it yet. Don't really know anything about it. Seems to be advertised as a Manager of sorts for VI's. Plus when I read the documentation I did a search for "array" & "2D array" and it came back with nothing.

Thanks again for taking the time, and maybe I'll use the solution you suggested.

Chazzzmd
0 Kudos
Message 3 of 6
(3,273 Views)
Here is a screen shot of the VI you are looking for, so you can read what it does before you decide to install it or not.  Although it is third party it is well respected and used, I encourage you to consider it.

Cheers!





Message Edited by jmcbee on 04-22-2008 02:05 PM
Message 4 of 6
(3,269 Views)
You could always write your own...
________________________________________________________

Use the rating system, otherwise its useless; and please don't forget to tip your waiters!
using LV 2010 SP 1, Windows 7
________________________________________________________
0 Kudos
Message 5 of 6
(3,255 Views)
jmcbee,

Thanks for the in-depth details. I did notice the software is NI certified. Plus I figure it gives me something new to play with 🙂

I'll give it a try tomorrow

Thanks again,

Chazzzmd


0 Kudos
Message 6 of 6
(3,226 Views)