LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Starting DAQ assistant earlier than main program

Solved!
Go to solution

Hi,

I would need to start acquiring data via the DAQ assistant module 100ms before my main program in the while loop starts (see pic attached). How could I simply achieve that (without having to include the DAQ assistant in the while loop itself)?

Thanks for your help,

Thibault.

0 Kudos
Message 1 of 6
(3,039 Views)
Solution
Accepted by topic author Thibault_Prevost
Put a flat sequence frame between the DAQ mx start and the while loop.  Wire the error wires through it.  Put a 100ms Wait function in the frame.
Message 2 of 6
(3,029 Views)

Or use the "time delay" express VI, which has error wires, and set the delay to 100msec...

 

(choose "view as icon" to make your block diagram a bit nicer to look at)

 

🙂

0 Kudos
Message 3 of 6
(3,027 Views)

The flat sequence thing works beautifully: thanks!

Thibault

0 Kudos
Message 4 of 6
(3,008 Views)

Then mark Raven's answer as the solution - not your thank you.

 

Click on 'Options' to change the marked solution.

0 Kudos
Message 5 of 6
(3,003 Views)

Oops... yes... sorry!

T

0 Kudos
Message 6 of 6
(2,998 Views)