LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

iWhy my program do not save all the data?

Hi! I am  using an example (Cont Acq&Graph (buffered)) in labview 6.0.1 to save data into a file. I put a block of  export waveform to spreadsheet file outside the while loop with enable indexing to record all the data when i stop the program. I am setting the scan rate=5, scan to read at a time=5 and buffer=100000
 
When i do this in a large period of time (more than 1 hour) and save the data into a .txt file, the program do not give me all the data, for example when i run for 2 hours the program gets barely 40 minutes.
 
How can i solve this problem?
 
Thanks
 
Lorea 
0 Kudos
Message 1 of 6
(2,990 Views)
Are you looking at the file with something like Notepad or Excel? If it's Excel what version? Until recently, Excel had a limit of about 64000 lines.
0 Kudos
Message 2 of 6
(2,986 Views)
Im using Notepad. One time the program gave me 30000 acquisitions, when i left the program run for more than 20 hours
0 Kudos
Message 3 of 6
(2,982 Views)
Can you post your code?
0 Kudos
Message 4 of 6
(2,976 Views)
0 Kudos
Message 5 of 6
(2,969 Views)
Your numbers don't quite add up to me (5/sec = 300/min = 18000/hr). What are you doing in the data processing VI? Have you tried putting the file write inside the loop. Having it outside and running for an extended period is very inefficient in terms of memory management.
0 Kudos
Message 6 of 6
(2,954 Views)