04-20-2010 10:19 AM
I apologize if this is a duplicate post - I searched but could not find a relevant discussion.
I am running the "Finite Sound Input.vi" from the example code. When I configure a specific sample rate, and then request that number of samples (1-second of acquisition), I only get 3/4 of the requested samples. For instance, a configuring a sample rate of 22050 and requesting a read of 22050 samples only returns 16536 samples with a sample time of 0.75 seconds with no timeout on the read.
I have attached my code. How can I configure these vi's to yield the desired rate / samples / time, etc.
Windows 7, LV2009f3, Thanks,
-cb
04-22-2010 01:57 PM
CB,
I have know idea why this happening. And I will create a CAR and submit it to R&D. The simple work around would be to change the sample mode constant from "Finite Samples" to "Continuous Samples". When you do this it reports the correct number of samples. I hope that this will work for you.
04-22-2010 02:02 PM
Justin,
I had this posted in the Dynamic Signal Acquisition board too (kind of by accident dup posting) and got this reply: http://forums.ni.com/ni/board/message?board.id=100&message.id=2362#M2362
No need to do a CAR right now. Thanks for the response.
-cb
04-23-2010 09:57 AM
CB,
Yep, it looks like Caleb's searching abilities are better than mine. Don't know why I couldn't find it. I hope that one of our work arounds will do for you.