LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Delay problem

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?delay time.png

0 Kudos
Message 1 of 14
(1,235 Views)

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?

0 Kudos
Message 2 of 14
(1,232 Views)

this was just test, I need the code running 24 hours, but that the data acquisition is every 30 minutes

 

Aquisição de temperatura.png

0 Kudos
Message 3 of 14
(1,223 Views)

As we always say, we won't debug pictures. There is not enough information content. How is the assistant configured?

0 Kudos
Message 4 of 14
(1,220 Views)

Imagem1.png

0 Kudos
Message 5 of 14
(1,202 Views)

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.

0 Kudos
Message 6 of 14
(1,198 Views)

I need the code running 24 hours, saving the measurements every 30 minutes in excel.

0 Kudos
Message 7 of 14
(1,197 Views)

Yes, I tried to use other moder acquisition, but it also hangs. I'll try VI Time Lapse to determine the acquisition, thank you.

0 Kudos
Message 8 of 14
(1,186 Views)

30 minutes worth of 1kHz data is a lot, so most of this seems unreasonable.

 

  • How often do you want a measurement?
  • What is one measurement.
  • Are you talking about real excel files or something simpler (csv, etc.)
  • What kind of data is this?
  • What is the purpose of the measurements?
0 Kudos
Message 9 of 14
(1,183 Views)

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.

0 Kudos
Message 10 of 14
(1,179 Views)