11-09-2010 11:38 AM
Hi all,
I'm trying to write a vi that will read columns of data from a large .txt file and outputs each column of data as an output voltage channel on a PXI 6733 card. I've been able to get the current vi(screenshot attached) to work at rates as high as 50,000 samples/second, but I really need to have an output rate of 100,000 samples/second, or higher.
Whenever I try an output rate higher than 50kS/s, I get error 200290: The generation has stopped to prevent the regeneration of old samples. Your application was unable to write samples to the background buffer fast enough to prevent old samples from being regenerated.
The goal is to be able to output high quality custom waveforms for ~30 minutes at a time, in order to allow for testing and calibration of components while a known signal is being injected.
Thanks in advance for any suggestions as to how I can achieve this!
Chris K.
11-10-2010 09:10 PM
It looks like something in the code isn't keeping up here. Something I might examine would be the use of the read from spreadsheet file VI. you may want to explore lower level file IO VIs which avoid reopening the file each iteration of the data production loop. If loading the information is chocking execution speed this might help.