LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

parallel execution using while loops within same vi

Hello,

 

In our application we are developing test bench application using Labview 8.6.

In this we have to log some system parameters such as pressure, Level on Host machine as well as send commands for different valves and motors.

 

For this we have developed .vi in which number of parallel loops were executing simultaneously.

But when we run this .vi execution of these parallel while loops is not possible.

 

In short synchonization of these while loops within same .vi is not working.

 

Also how parallel operation of different .vi's on Real time module is not working?

 

Please suggest with .vi

 

Thanks in advance......

0 Kudos
Message 1 of 5
(3,876 Views)
Post ur .vi Smiley Wink
Balaji PK (CLA)
Ever tried. Ever failed. No matter. Try again. Fail again. Fail better

Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.
0 Kudos
Message 2 of 5
(3,874 Views)
r u having some wires connected between parallel loops?..if yes, this will create problem.....if u can post ur VI, it would be easy for us to solve the issue...
Anil Punnam
CLD
LV 2012, TestStand 4.2..........
0 Kudos
Message 3 of 5
(3,854 Views)

Folks, please use full words, not text-messaging abbreviations when posting to these forums. Not all folks here are native English speakers, so it's not obvious to them that "r" means "are".

 

Thank you. 

Message 4 of 5
(3,836 Views)

Hello... 🙂

 

      In short synchonization of these while loops within same .vi is not working... Do you suggesting that you are using same resources in the parallel loops...? And the execution time required for those loops are same then it is obivious that you'll face problems....It will be easy for us if you give some more details about your resources or post your code.... 🙂  

0 Kudos
Message 5 of 5
(3,788 Views)