annuler
Affichage des résultats de 
Rechercher plutôt 
Vouliez-vous dire : 

while loop synchronous operation

Résolu !
Accéder à la solution

I have created a vi where it has to acqire data over ethernet parallely (using two while loop) and display those data . but i m unable to do so because both the loops are not running simultaneously . Somebody please help me out . VI is attached

0 Compliments
Message 1 sur 6
3 657 Visites
Solution
Accepté par Nepla

Of course they don't run in parallel. You don't understand the basic paradigm of LabVIEW - dataflow. You've forced the top loop to execute after the bottom loop because you wired the controls in the bottom loop to the top loop. 

Message 2 sur 6
3 653 Visites

Thanx a lot !  How to control both the loop with single control action (STOP Button )

0 Compliments
Message 3 sur 6
3 640 Visites

An easy way is to simply use a local variable. The mechanical action cannot be latching though so you would use a another write after the loop finishes to set the value back to false. There are other, more sophisticated ways without using a local but this will get you going.

Message 4 sur 6
3 636 Visites

An easy way is to simply use a local variable. The mechanical action cannot be latching though so you would use a another write after the loop finishes to set the value back to false. There are other, more sophisticated ways without using a local but this will get you going.

0 Compliments
Message 5 sur 6
3 635 Visites

Done Sir, Thanx a lot for your help!!!!

0 Compliments
Message 6 sur 6
3 623 Visites