03-26-2021 03:25 PM
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
Solved! Go to Solution.
03-26-2021
05:59 PM
- last edited on
05-11-2025
08:56 PM
by
Content Cleaner
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.