PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

PXI 5622 Requested Data Has Been Overwritten

I have a PXI-5622 that needs to record bandwidths up to and including 20MHz.  The onboard-memory for this module is 256MB and data is stored in a circular fashion:  when the 256MB is filled, the sampler begins to overwrite from the beginning.  Data is fetched and written to the hard drive in blocks.  Block sizes are currently defined as: BlockSize = 2^(floor(log2(IQR) - 2)), where IQR is the sample rate.

 

My problem is that when the sample rate is too high (recording bandwidth too wide) the memory being overwritten "catches up" with the data being written to the hard drive.  This causes the operation to halt with the error, "Requested data has been overwritten in memory so it is no longer available for fetching."  This makes sense and I would expect it, but I'm wondering if anyone could help in figuring a way to avoid memory being overwritten before it has a chance to be stored on the hard drive.

0 Kudos
Message 1 of 2
(2,912 Views)

The block size is changing with the sample rate.  Make the block size smaller so the samples can be read more frequently.

 

Helpful link:

http://www.ni.com/product-documentation/5897/en/

 

0 Kudos
Message 2 of 2
(2,859 Views)