Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

red dot circle for loop N

What does a red dot inside a circle in the [N] square of a for loop mean? (see attachment).

And how would one go about finding this out from the documentation?

 

0 Kudos
Message 1 of 5
(6,982 Views)

It is the sign that this loop has a conditional break meaning it is a combination of a while and a for loop.

I did not read the doc but be careful about when this for loop terminates.

greetings from the Netherlands
Message 2 of 5
(6,978 Views)

Hi PointOnePa,

 

More information can be found in the LabVIEW help file: Adding a Conditional Terminal to a For Loop

 

Kevin S.

Applications Engineer

National Instruments

Message 3 of 5
(6,948 Views)

Thanks for pointing to the information.

One point I miss in the info.

nowhere is stated that all code in the last iteration is executed, but that should be guaranteed.

 

Can somebody check and add that?

greetings from the Netherlands
Message 4 of 5
(6,935 Views)

Hi Albert Ge,

 

That is correct.  If the conditional stop terminal is used on a For Loop, and a True is read and passed to the stop terminal, all of the code within the loop will still execute before the loop terminates.  (The same code sequence as if you were using a While Loop.)

 

Kevin S.

Applications Engineer

National Instruments

0 Kudos
Message 5 of 5
(6,906 Views)