10-15-2012 06:47 AM
Hi,
I'm trying get the size of the array data from the acquire sound block. I have set it up at 44100 Hz sample rate and 1 second of duration.
But the size I get is 33075 samples, instead of 44100. I don't know where are the 1025 missed samples, maybe this samples are used to carry the timestamp and dt info.
Can anyone help me with this?
Thanks!
10-25-2012 11:42 AM
Wow, good discovery. Just tested your code and can reproduce the same issue.
Very curious.
10-25-2012 11:46 AM - edited 10-25-2012 11:46 AM
Try the attached code instead. It sets up up a "continuous" recording, but then terminates itself after the required amount of data has been received. That works well.
But what is interesting is that this VI also only returns 75% of the requested data if you set it up in "finite" mode. Just like your previous VI.
Very curious. Looks like a bug to me. You should report this to NI.
10-25-2012 12:06 PM
hello josborne,
I reported this issue to NI on Monday but I have not response by now.
Tomorrow I'm going to try your code, and see how the continuous and finite recording mode works.
Thank you!
03-13-2013 08:22 AM
I do have the same sampling issue. Is this resolved?
03-13-2013 08:38 AM
Check the release notes for the latest version of LabVIEW. I seem to recall that this was fixed in one of the recent releases. Maybe one of the service packs.