LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Determine the maximum and the minimum value for each value of 2D array

Solved!
Go to solution
Solution
Accepted by topic author Redney

Hi Randall,

 

what about this:

check.png

But, well, using comparison functions, several type conversions and creation of several intermediate arrays to calc the same might be ok too Smiley Wink

 

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 41 of 43
(962 Views)

Just interested to have few details.

 

1. If you are having 100 sensors, how is the 2D array related to the data from the sensors? When you mentioned 4 rows and 25 columns, we would usually assume that to be a 2D array from 4 channels, unless you gave more details.

 

2. Each array element is a DBL data type interger value. So, how do you describe your waveform? Each 2D array will have instantaneous data from each sensor. "  each element is a value of a waveform in an instant of time t" was given in your initial posts. A waveform usually has an array of data at any given instant time t, though the array could be of 1 element or more, depending on your scan rate.

 

3. In the 'Solution' image you posted, you were comparing two successive rows, each row could have 25 elements ( as per your first post and as most of us thought).

 

4. In an other post, you mentioend about only one column being comapred.

 

5. In the next post, you mentioned you wanted to compare two arrays.

 

 

Please be very clear as to what you need. So many of us have posted possible solutions.

 

When you reply, please try to address the person whose post you found useful, or whose post you need more information on. We all usually talk to you, unless we respond to an other reply.  If you clearly mention whose post you are replying to, we will be better infromed about how useful our replies were.

 

Regards
Freelance_LV
TestAutomation Consultant
0 Kudos
Message 42 of 43
(954 Views)

All these years of using LabVIEW and I never even noticed that function. How embarrassing.  Smiley Happy

 

Yes, that simplifies things a lot.

 

 

 

Randall Pursley
0 Kudos
Message 43 of 43
(948 Views)