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: 

timing a task without waiting

Solved!
Go to solution

Dear Labview Board,

 

I have a section of code in my VI that writes boolean values to digital output (bottom of the block diagram).   Right now I do this with the wait function inside a case structure.   This works, but has a side effect I would like to eliminate.   Because this code is within the context of a while loop, the wait function holds execution of everything until complete.   I want timing, but I need the rest of my looped logic to continually run.   Please see the attached VI.

 

Does anyone have any suggestions?

 

Thanks,

Zach

 

PS - I can't open anything beyond v8.6

0 Kudos
Message 1 of 3
(2,589 Views)
Solution
Accepted by topic author super-neuron

See attached file.

Gaurav k
CLD Certified !!!!!
Do not forget to Mark solution and to give Kudo if problem is solved.
0 Kudos
Message 2 of 3
(2,549 Views)

Thanks Gaurav K!

 

Its elegant and simple!

0 Kudos
Message 3 of 3
(2,523 Views)