LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

for loop

Hi,

    What is the P and C terminal in FOR Loop?

 

0 Kudos
Message 1 of 4
(2,439 Views)
0 Kudos
Message 2 of 4
(2,436 Views)

Hi,

Place for loop in block diagram, Press Ctl+H (Help Window will pop up) and place your cursor on "for" loop which you placed in block diagram. In the help window you can find the clear explanation for N and i. Press Detailed help in Help window for more clarification...

And have a look on examples also...

 

Have fun 🙂

 

<<KUDOS ARE WELCOME>>

0 Kudos
Message 3 of 4
(2,429 Views)

It is interesting that the help for the FOR loop does not tell you about parallelism.

 

The P and C terminals are for parallelizable loops. There is an article on NI's website here. About parallelism and making loops run in parallel.

 

A default FOR loop does not show these terminals.

 

     Rob

Message 4 of 4
(2,424 Views)