The Daily CLAD

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

Initialisation of Feedback Nodes

SercoSteveB
Active Participant

The following VI was created, saved and then executed twice (the user presses the Run Arrow twice).  What is the value of Numeric Value Out following the second execution of the VI?

Feedback Nodes 10_03_2015.png

a) 8

b) 16

c) 32

d) 64

Comments
whitecr
Member

Ans: A

A.Bernau
Member

a
I think I am wrong. Because of the influence of "executed twice"
But then it should be 128?
I am confused I have to code it later ...
Ah, ok. Thank you for the detailed explanation crossrulz

nik35324
Member

A

crossrulz
Knight of NI

Well, if it was ran twice in the same execution, you would get 128.  Therefore the answer must be A.

The important thing here is that the FB Nodes are initialized on first call.  So you run the VI once, that execution ends.  So the next time you run it, the First Call will be TRUE and the FB Nodes are reinitialized.


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
LordNobady
Member

A


Learning LabVIEW since January 2013
SercoSteveB
Active Participant

Good point, question text amended to clarify.

Mohammed_Atef
Member

A

MrStevenUND
Member

A

sathishp91
Member

A

hemanth.wnp@gmail.com
Member

A

ashwinilele
Member

A

rsmrostov
Member

A

SercoSteveB
Active Participant

Answer: A.  Nice one whitecr, Andreas23, nik35324, crossrulz, LordNobady, Mohammed_Atef, MrStevenUND, sathishp91, hemanth.wnp@gmail.com, ashwinilele & rsmrostov.

Here we are using Feedback Nodes that are initialised on First Call.

M.P.Bharghavi
Member

Ans:A

8