From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

3D array manipulation

Solved!
Go to solution

Hi

Please bear with me for the long question as I wanted the question to be very clear.

I have a 3d array with many pages as follows

fig1.jpg

I also have the maximum number of rows in each page that should be considered as below.

fig2.jpg

The output is expected as

  1. 4th column of first row in each page must be zero
  2. If the next row first 3 columns is same as earlier row first 3 columns then the fourth column of that row must be same as fourth column of earlier row.
  3. If they are not same increment the fourth column of the earlier row and continue till maximum rows have reached.

Sample Outputs

fig3.jpg

Any help to solve this is highly appreciated.

Thanks

0 Kudos
Message 1 of 7
(2,105 Views)

Post what you have.

0 Kudos
Message 2 of 7
(2,091 Views)

Hi..this is something like an assignment that I have. The inputs are the first and second images and the expected output is the last image.

 

Thanks

0 Kudos
Message 3 of 7
(2,085 Views)

@eddy1990 wrote:

Hi..this is something like an assignment that I have. The inputs are the first and second images and the expected output is the last image.


Make an effort, post it, and we'll help you out.

 

Or post a concrete question about a detail where you got stuck.

 

We're not going to do your assignment.

0 Kudos
Message 4 of 7
(2,076 Views)

I don't expect anyone to do my work. If I can come up with an algorithm, do understand that I have tried.

0 Kudos
Message 5 of 7
(2,072 Views)

@eddy1990 wrote:

I don't expect anyone to do my work.

Good.

 


@eddy1990 wrote:

If I can come up with an algorithm, do understand that I have tried.


You have the algorithm, as described in your OP.

 

Where did you get stuck?

0 Kudos
Message 6 of 7
(2,065 Views)
Solution
Accepted by topic author eddy1990

Hi

I tried to figure out a solution. Not sure it is the effective way to achieve my objective. But still it works.

 

Thanks

0 Kudos
Message 7 of 7
(2,033 Views)