The Daily CLAD

Community Browser
cancel
Showing results for 
Search instead for 
Did you mean: 

Re: Nested Looping #2

SercoSteveB
Active Participant

What is Numeric Value Out following execution of the VI?

Nested Looping 08_12_2015.png

a) 0

b) 1

c) 2

d) Undefined (the VI does not stop)

Comments
Not applicable

c

SOM19
Member

C) 2

vasanthakumar
Member

C, while loop runs atleast once.

LordNobady
Member

C


Learning LabVIEW since January 2013
crossrulz
Knight of NI

C


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
MrStevenUND
Member

C

rgbernatchez
Member

C

mini09
Active Participant

C

SercoSteveB
Active Participant

Answer: C.  Nice one DavidCorney, SOM19, vasanthakumar, LordNobady, crossrulz, MrStevenUND, rgbernatchez & gnshmrthy.

On execution of the VI, the FOR Loop is executed, the WHILE loop is executed, the Iteration Count terminals of the two loops (both 0) match on the first iteration passing a TRUE to the WHILE Loop Conditional Terminal and then to the FOR Loop Condtional Terminal.  As the FOR loop completes the value of the FOR loop Count (N) Terminal (2) is passed to the Numeric Value Out.

User002
Not applicable

The For Loop executes and Tunnel Mode = Last Value ==> Numeric Value Out := Count ==> c

M.P.Bharghavi
Member

Ans:C

2