08-10-2016 03:31 PM
While debugging a simple program I wrote for data logging, I discovered that in each session the USB 6008 had a hard limit on the number of data points that could be written into a TDMS file (something like 100,000 data points). Is there anyway to circumvent this limit? Ideally I'd like for the hardware to output data at a reasonable speed (say, 200 Hz) for a few hours at a time. It doesn't have to be into a TDMS file, even a regular text file is fine as long as it can be parsed later on.
08-11-2016 12:30 PM
The limit for USB 6008 is 150Hz as listed on the datasheet
http://www.ni.com/datasheet/pdf/en/ds-218
Are you receiving any error or issue with your acquisition?
08-11-2016 03:22 PM
My program is an iteration of the sample logger program provided, which has no problems recording at 1000 Hz (which was the default sample rate when you start the program). I've tested it at higher frequencies but 200 Hz is all I need.
My understanding of how the program works is you designate the rate, and the number of samples. For example, if you designate 1000 Hz and 1000 samples, the program will log for 1 second and output 1000 samples into the TDMS file.
The problem is the amount of data points that could be written into a TDMS file per session. Once the number of data points reach above 100,000 the program will cease logging and end the session.
08-12-2016 11:32 AM
You are using Visual Studio? Theres some advanced properties and methods that you can find. As they are available in LabVIEW.
http://digital.ni.com/public.nsf/allkb/961EDE096E98E87D862579ED0068BFF9
You can try t use shorter sessions and then build your TDMS together or increasing buffer size.