From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with saving data into a file - Labview

Hi, 

I seem to have a problem with saving the data acquired from an A/D, while the data appears continuous in the GUI , when plotting the data that was written into the cvs. file - it seemed to contain random drops in the data, that did not appear in the GUI. 

Do you have any idea what may cause this and how can it be fixed? 

 

thanks a lot,

Tamar 

 

Data in GUI:Data in gui.jpg

 

Data plotted after saving:

data after saving.jpg

0 Kudos
Message 1 of 2
(2,217 Views)

1. You should only have 1 queue.  Its data type can be an array of waveforms in order to handle all of your data.  Just to add to the mess, the fact that you named all of your queues the same means you have no idea what will get saved where.

2. Instead of all of your Collector VI, just change your graph to a chart.  A chart has a history buffer built into it.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 2
(2,179 Views)