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: 

average waveform data

Solved!
Go to solution

@Lana89 wrote:

Also, is there any way I can make the DAQmx read function, read n samples?? (Can I place just that in a for loop??)


You are doing that right now.  That's what the Number of Samples Per Channel is.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 11 of 12
(827 Views)

Hello Crossrulz, 

 

That made sense,

 

but it would mean that the the part where I am subdividing the array (image attached) is being split into 2 arrays, one from 0 to 500, and the rest from 501 to 10,000 samples. (which is the # of samples to read for that loop iteration) 

My question is, How do i subdivide the array into pieces of array, each of size 500?? (for that sample size??)

 

Thanks

0 Kudos
Message 12 of 12
(812 Views)