Alex,
I agree, for what you are doing, your code and the High Speed Data Logger and pretty much functionally equivalent, but wanted to rule out any possible discrepancies.
I have set up the same hardware you are using and am attempting to reproduce your situation. The 8176 I am using only has a 10 GB hard drive and 128 MB of RAM. It is running Windows 2000. The code you gave me was able to run for about 45 min, and only stopped when my file size hit 4 GB and I ran out of space.
I was also able to sample at 1.25 MS/s for a while, as long as I wasn�t doing anything else.
I did notice that if I tried to run other applications in the background, the backlog crept up and sometimes ov
erran. Even unplugging my network cable caused the backlog to ramp up to 2 MB before going back down. Having anything else running in the background (i.e. antivirus scan) may be causing problems.
You mentioned having a PXI-6508. What are you using this for? Is it running something at the same time? Could it be interfering somehow?
I strongly suspect something else in your system/setup is causing the problem here, since I�m able to max out the 6071E�s sampling frequency with only a fourth of the RAM and half the hard drive. You may want to try reformatting/reinstalling your system/software.
I hope we get to the bottom of this. Let me know what you find. Thanks!
Robert M
Applications Engineer
National Instruments
Robert Mortensen
Software Engineer
National Instruments