Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

How to write wav files using PXI 4472 at 96 kHz?

I have 40 channels (5 4472 cards) on the PXI 1000b bus. I would like to write the data to individual files in a continuous fashion. I can not set my buffers to allow me to do so. I am hoping that there is more efficient code that will work.
0 Kudos
Message 1 of 2
(2,632 Views)
What kind of PXI controller are you using? Being able to stream to disk at those rates is very intensive on the hard drives of PXI embedded controllers. That said, I have been able to stream to disk with a PXI-8186 with 40 channels at 98kHz. This was done using a block size of 2048 and a buffer size of 102400. Also, I was writing to a single binary file. I'm not sure if or by how much writing to separate files would affect the maximum achievable rates. One thing to do is to make sure that as little as possible is happening during the streaming process (no graph displays, no processing, etc.). You may want even consider streaming in a binary format and then in post-processing, convert it to a WAV file. Just some ideas.

-Jack
0 Kudos
Message 2 of 2
(2,615 Views)