LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Data acquisition stops - Error 200279

Solved!
Go to solution

Hi,

I'm having trouble with reading continuous voltage from the DAQ using DAQassist. I can only acquire data for a few seconds to a minutes (depending on the settings) before I get an error (200279) which suggested. I think the data is just accumulating without being transferred out of the buffer but I don't know how to solve the issue. I've tried fixing the problem by using DAQmx and it can't even read the data.

 

What I want the program to do is acquire the data from the DAQ, save it into an excel file and also plot it on a waveform chart.

 

The picture is the data acquisition that works (can be found in StateMachinev2) and the attempt at using the DAQmx functions can be found in StateMachinev3.

 

I'd be grateful for any help you can offer me,

Émilie Fortin

Download All
0 Kudos
Message 1 of 2
(1,288 Views)
Solution
Accepted by topic author emime

1. Producer/Consumer

2. Don't save your data as an xlsx file.  Instead, just save it to a simple tab delimited text file (txt).  Excel can still open those up very easily.

2.1 Create your file before the logging loop and close it after the loop.  That allows you to format your data and write to the file very quickly inside of the loop.



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
Message 2 of 2
(1,247 Views)