LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

scan array and sort

Solved!
Go to solution

Hello,

 

In the attached VI, I would like to extract the first 50 points, then next 50 and so on (from the attached file), and build up an array as shown in the image file. 

 

Any help will be greatly appreciated.

 

Thanks,

hiNi.

Download All
0 Kudos
Message 1 of 7
(3,434 Views)
Solution
Accepted by hiNI

To improve memory use in case of larger file use the in place element structure instead of the replace array subset functions.

 

Ben64

 

Scan Array and Sort.png

Message 2 of 7
(3,417 Views)


I was hoping to solve this without a loop...

 

Example_VI.png

Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

Message 3 of 7
(3,416 Views)

I think loop are unavoidable, the goal is to use just one!

Nice solution Jim.

 

Ben64

0 Kudos
Message 4 of 7
(3,413 Views)

I tried to go for no loop. I wasn't able but I got down to this.

 

Ben64

 

Scan Array and Sort2.png

 

 

Message 5 of 7
(3,407 Views)

Hello Jim,

 

Where do I find the left bottom most block in the while loop?

 

Thanks,

hiNi.

0 Kudos
Message 6 of 7
(3,396 Views)

Array Palette -> Matrix sub Palette -> Matrix Size

Message 7 of 7
(3,390 Views)