LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Continuous Acquisition only writes 20s

Solved!
Go to solution

I am trying to modify the Cont Acq&Graph Voltage example so that it shows two analog channels and writes both of these channels to a file.  I was able to do so and record for at least 1 minute two days ago, but yesterday when I tried to run the vi it would only write 20s no matter how long I left it to record.  I went back to the originial example vi this morning to try to run that one, and it too only writes 20s.  It will show blank space corresponding to the number of seconds that I left it to record on the time axis in the TDMS viewer, but there is no data plotted.  Is this due to a setting I may have unknowingly altered in LabVIEW, a setting within the TDMS viewer itself, or something else entirely?  I have only been recording noise so far to test my vi's, but I can post one of my TDMS files if that will help.

 

0 Kudos
Message 1 of 2
(2,516 Views)
Solution
Accepted by topic author shelby
After playing with other ways to read the files, I found that the TDMS viewer was just not reading all of the samples in the file anymore.  Fortunately I managed to find my own (very simple) solution!
0 Kudos
Message 2 of 2
(2,499 Views)