LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Running timed loop and while loop in parallel in real-time module.

Solved!
Go to solution

Hello,

 

I have a question with running timed loop and while loop in parallel and whether while loop causes timed loop to slow down or not. I need to run timed loop at 1kHz for data acquisition and while loop for data processing that is separate from the data I get from 1kHz loop. Is there a way to structure the VI such that I can ensure 1kHz data sampling and data process on the side when the resource is available?

 

Thanks

0 Kudos
Message 1 of 2
(3,050 Views)
Solution
Accepted by topic author kj2shin

The Timed Loop sets up as a top priority (time critical) thread.  The normal While loop will be at a normal priority.  So the Timed Loop will always take precedence.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 2 of 2
(3,029 Views)