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: 

Delay problem


@janicerodrigues wrote:

need a measurement once every 30 minutes.


So why are you acquiring continuously at 1kHz????

0 Kudos
Message 11 of 14
(359 Views)

@janicerodrigues wrote:

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


Then you should attach that attempt.  As a VI we can inspect and not just a screenshot.

 

You don't want to have a hard delay of 30 minutes in your code.  Depending on how you wire it up, if you want to stop your VI, it might take up to 59 minutes 59.999999 seconds for your VI to stop.  Your VI will appear frozen during much of that time.

0 Kudos
Message 12 of 14
(357 Views)

What would be an alternative to my data collection?

0 Kudos
Message 13 of 14
(341 Views)

All you need is a simple state machine that monitors user interaction and elapsed time at a reasonable rate.

0 Kudos
Message 14 of 14
(332 Views)