ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can you control Boolean outputs with a timer?

Hello,

 

Is it possible to control a constant Boolean output with a timer. For example having a "constant true" being outputted after X amount of seconds/milliseconds? I want to have a while loop containing a continuously running DAQ assistant, until the timer controlled "constant true" value is outputted to the termination button after those X seconds/milliseconds.

 

Thanks for any help.

0 Kudos
Message 1 of 3
(3,186 Views)

Everything is possible!

 

There's the "elapsed time express VI".

What is a "termination button"?

Can you show us some code?

Message 2 of 3
(3,168 Views)

Apologies, I meant the red "loop condition" button found in the lower right of loops. I have a state machine attached with a continuous sine function generator, I want to run the first state with this sine generator for a number of seconds before switching to the second state and ending the program.

0 Kudos
Message 3 of 3
(3,157 Views)