LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

First time multithreading in Labview

Solved!
Go to solution

I am learning Labview and this is my first project. I was expecting this behaviour from my attached VI. I thought both the indicator will increment asynchronously  if i have wait for ms inside the while loop. I thought indicator 1 will increment and the thread will go to sleep for 1000ms and in the mean time indicator 2 increment and it goes to sleep and so on. Please need some help in understanding multithreading with Labview.

 

 

0 Kudos
Message 1 of 2
(2,290 Views)
Solution
Accepted by topic author romesh

By wiring the stop output of the top loop to the lower loop, the lower loop is waiting for the top loop to complete, and send the value before it starts exectuing.  Try this:

 

Untitled 2.png

Message 2 of 2
(2,284 Views)