ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Creating 2d array from multiple 1d array samples.

Hey all

 

just a quick question for a newbie before i start pulling my hair out.

 

Im sampling my daq and i end up with a 1D array of 6 variables

 

I want to group these samples into 10 sets of samples, a 2d array of 6 x10

 

whats the best way to do this, ive tried using a for loop and iterating a shift register 10 times but i seem to be ending up with the same sample being duplicated ten times

i feel theres something really obvious im missing in the way the labview data flows

 

Can anyone help me with this?

 

Thanks very much

Andrew

0 Kudos
Message 1 of 4
(3,296 Views)

A For loop with an indexing output tunnel?

 

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

0 Kudos
Message 2 of 4
(3,284 Views)
The tutorials will explain all about auto-indexing -- just saying...

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 3 of 4
(3,279 Views)

Thats brilliant! thanks for the push in the right direction!

got it all sorted now!

0 Kudos
Message 4 of 4
(3,229 Views)