LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

why there is no parallelism inside the While loop like for For loop is given?

Why there is no Parallelism inside the while loop as it has been introduced in the For Loop?

0 Kudos
Message 1 of 4
(2,297 Views)

Because with a For Loop, you can determine how many times it will run before it starts executing.  With a while loop you can't.

Message 2 of 4
(2,283 Views)

@Ravens Fan wrote:

Because with a For Loop, you can determine how many times it will run before it starts executing.  With a while loop you can't.


Concider that a mega-Kudos since "why" question are the hardest.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 3 of 4
(2,278 Views)

Similarly, a Conditional Terminal in a For Loop configured for parallelism will break your code.

Message 4 of 4
(2,269 Views)