01-02-2012 10:59 AM
As return results need an array of values of minimum and maximum values a obtained from the variation of each input array element.
01-02-2012 11:38 AM
I found a solution, but I can only get maximum and minimum values for the first column of the array, can somebody explain why. The arrangement with the values is Wavelength Array. In the for loop I get the maximum and minimum values, but only the first column
01-02-2012 11:53 AM
They might be able to explain why if you attached a sample VI that demostrates the problems you are having. Without seeing any code people have to guess what is happening.
01-03-2012 12:02 AM
In the posts 1, 3, 8, 9, 10, 11, 13, 16, 18, 19, 20 and 21, you have mentioned the same thing repeatedly. I have not found much change in what you were trying to explain or how.
Regarding the image you have updated, 'Solution', I beleive that the output is not of just one column but is a 2D array of again 4rows and 25 columns.
What made you understand that the output is the max and min of only one column?
The For loop used in your attachment comapres two successive rows for max and min values.
Please try to be more clear as to what you want, what are your elements, attach a vi of what you tested and where you obtained the max and min of only one column.
When we spend our time on the same post repeatedly, we expect to reach a quality solution.
01-03-2012 03:43 AM
Sending vis with which I work, the main vi is WLS Trace - DN. As you can see, the 2D array is obtained from an external transducer. Each array element varies with time, describing a waveform. What I need is to get the maximum value and minimum of each array element elapsed time.
01-03-2012 03:59 AM
Hi
I am sorry to say but I only have LV2010SP1. So, cannot open your code and see what is needed.
However, let me know if you have tried to implement what I have given in an earlier post.
01-03-2012 04:32 AM
I need to obtain an array of maximum and a minimum of comparison of array in time t with the same array at time t-1, compared element by element. I exemplified in the following table should be the operation
Array in t-1 |
Compare |
Array in t |
Result |
Maximum at t |
|
Minimum at t |
|
||||||||||||
1 |
2 |
3 |
4 |
5 |
4 |
7 |
10 |
5 |
4 |
7 |
10 |
1 |
2 |
3 |
4 |
||||
5 |
6 |
7 |
8 |
20 |
15 |
2 |
4 |
20 |
15 |
7 |
8 |
5 |
6 |
2 |
4 |
||||
9 |
10 |
11 |
12 |
1 |
9 |
25 |
30 |
9 |
10 |
25 |
30 |
1 |
9 |
11 |
12 |
01-03-2012 04:37 AM
01-03-2012 04:41 AM - edited 01-03-2012 04:43 AM
However, I am attaching a VI that gives you different types of max and min values. Hope this will be solving your issue.
In response to your latest post, I believe that is what you are getting as per the image 'Solution' and the same as in the VI i just attached.
01-03-2012 05:58 AM
I think this is the best solution. But I have not clear how to implement it. How do I get the array in t-1