Search code examples
while-looplabview

How to control acquisition time in LabVIEW?


I just want to control the data acquisition time in this while loop, any ideas? In this case I can calculate how many files I can acquire during a constant time?

Thank you very much in advance for your help.

Kind regards,

Aileenenter image description here


Solution

  • To control sampling rate, you can use DAQmx Timing.vi. To configure task you can use create task.vi.

    To know the exact duration of your loop you can use tick count(ms) function and shift registers: enter image description here