07-16-2018 08:53 PM
That did it! Writing to a text file must be slow....producer loop was running well at about 200Hz, but the consumer was falling far behind. I was using Write Delimited Spreadsheet and removing that finally gave my chart (from dequeued data in a consumer loop) the "real-time" feel I needed.
07-17-2018 07:45 AM
@GJT wrote:
That did it! Writing to a text file must be slow....producer loop was running well at about 200Hz, but the consumer was falling far behind. I was using Write Delimited Spreadsheet and removing that finally gave my chart (from dequeued data in a consumer loop) the "real-time" feel I needed.
The problem with using the Write Delimited Spreadsheet is that it constantly opens and closes the file. That is REALLY slow. If you opened the file before your consumer loop, close the file after the loop, and just used the Write Text File using whatever formatting you needed you might have been able to keep up.
07-18-2018 02:34 PM
Nailed it~ I moved away from the 'Write Delimited Spreadsheet VI' and used the open file>Write Text File (in the loop)>close file and was able to generate CSV files at high speed. Thanks crossrulz!