Discussion:
how can i continuously acquire and record the data stream to HDD using pcie-6537
(too old to reply)
cc_file
2008-07-01 07:10:07 UTC
Permalink
help !!! i make a high speed data acquire PC with windowsXP, which consist of a NI pcie-6537 card, a pcie raid card and 4 sas HDD ( raid 0 ). i think that  the max data-acquire-rate of 6537 is 200MB/s,  the max data wirte rate of the HDD raid 0 is 380MB/s, so the data can continuously record to the HDD. it work well at first, but  sometimes  the  driver of the 6537  report  error,  which is something like "data is overflow, to read data more quickly". after some tests. i find out that if the cpu is occupied by other threads, the error must occur.can i tell me how to resovle this problem ?thanks,
endeavor_pi
2008-07-07 12:40:09 UTC
Permalink
1. Firstly, you have to assure that the writing speed of HDD raid 0 is exceed 200MB/s.
2. Once can't save the data to file(HDD raid 0) as soon as possible, also it means reading rate is not fast enough, you'll get the overflow error.
 Maybe you can read less data once and make high read rate to avoid of this error.
cc_file
2008-07-10 05:40:06 UTC
Permalink
thank you for your reply, 1. Firstly, you have to assure that the writing speed of HDD raid 0 is exceed 200MB/s.                            i test the writing speed of the HDD raid 0 by the everest ultimate. and the rate can reach 300MB/s
2. Once can't save the data to file(HDD raid 0) as soon as possible,
also it means reading rate is not fast enough, you'll get the overflow
error.
                           i use everest ultimate to simulate a cpu test, the error appear at once; and when i use everest ultimate to do a memory test, the error  is not occur. i think the error is caused by the reason that the when reading the data from NI 6537, code like while(dataLen < LENGTH) // LENGTH is 4G{        //DAQmx read raw data ,a block data , block size is 4MB      //write data to HDD} if an other threads has a higher priority level occupy the cpu, my thread has to waiting until the thread don't use the cpu. The data on the NI 6537 card whill be covered if the waiting time  too long, and the error will occur. do u have a different opinion ?



 














<img src="../blank?foo=Thu%20Jul%2010%202008%2012%3A53%3A04%20GMT+0800" id="refresher" name="refresher">
Loading...