‎06-28-2019 01:33 PM
Hi,
I'm trying to use Delay Time to assist in acquiring data from my program for excel, but it's giving error.
Please, can anyone help me?
‎06-28-2019 01:41 PM - edited ‎06-28-2019 01:44 PM
a truncated picture is not suitable to troubleshoot the problem. Attach the VIs instead.
Did you read the error description? A 60 second wait is very long.
Where's the code relating to acquisition? To excel?
‎06-28-2019 01:57 PM
this was just test, I need the code running 24 hours, but that the data acquisition is every 30 minutes
‎06-28-2019 02:01 PM
As we always say, we won't debug pictures. There is not enough information content. How is the assistant configured?
‎06-28-2019 02:20 PM
‎06-28-2019 02:27 PM
That DAQ Assistant explains it. You are telling it to use Continuous Sampling, but you are only going to read the buffer once every minute. You are filling up your DAQ buffer.
Try using N samples mode. Or don't delay your loop, just read the data every iteration, but use an Elapsed time Express VI to determine when 60 seconds are up and use that to control when the Write to File Express VI executes.
‎06-28-2019 02:28 PM
I need the code running 24 hours, saving the measurements every 30 minutes in excel.
‎06-28-2019 02:34 PM
Yes, I tried to use other moder acquisition, but it also hangs. I'll try VI Time Lapse to determine the acquisition, thank you.
‎06-28-2019 02:36 PM
30 minutes worth of 1kHz data is a lot, so most of this seems unreasonable.
‎06-28-2019 02:47 PM
need a measurement once every 30 minutes.
A measurement is for me to know the temperature, humidity and oxygen of the material studied. (every 30 minutes, as there will be changes in the meantime).
the excel file will allow the creation of a daily chart with the collected data.