LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to run several tasks at the same time?

Do I need to use parallel loop or state machine?
0 Kudos
Message 1 of 3
(2,496 Views)
You can use parallel loops, even parallel state machines. 🙂

As long are there is no data dependency (via wire) between them, they will run independently and in parallel.

Message Edited by altenbach on 03-19-2005 12:51 PM

0 Kudos
Message 2 of 3
(2,485 Views)
So wait, sorry to but into this post and ask another question but... If I write coding using loops and structures like stack sequence, etc. that have no wires going between the two structures and are present at the same location inside a bigger structure, it will run as a parallel process?

What if the parallel processes are GPIB communications? Can labview decipher the transmissions or should I write the coding the 'proper' (and unfortunately time consuming) way of using flags and such?

An example... I am running two Stanford Research SR830 Lock-In Amplifiers at the same time. I have the programming setup in seperate stack sequences inside a larger stack sequence (so 2 inside 1). If I reduce this so that it's just 1 stack inside the bigger stack, it'll actually run slower?

Thanks for the Help,

Jonathan Frey
0 Kudos
Message 3 of 3
(2,465 Views)