The Daily CLAD

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

Re: Building Arrays

SercoSteveB
Active Participant

What is String Array Out following execution of the VI?

Build Array 17_12_2014.png

Build Array Answers 17_12_2014.png

Comments
crossrulz
Knight of NI

A

D


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
StuVIEW
NI Employee (retired)

I thought A too but when I run the program I get D - the loop only runs 3 times, can anyone explain why it displays the strings four times?

A.Bernau
Member

first loop:
   input+input => 2input
second loop:
   2input+input=>3input
thirdt loop:
   3input+input=>4input
so answer is D
(or do I misunderstood the question?)

Manuel_Ruiz
Member

D





dfjuggler
Member

D!

mini09
Active Participant

Since the shift register is initialized with "Steve Likes LabVIEW" + 3 times the for loop is building the same array value. So the answer is D.

MrStevenUND
Member

D

nik35324
Member

D

SOM19
Member

D

SercoSteveB
Active Participant

Answer: D.  Nice one crossrulz, Stuart89, Andreas23, Manuel_Ruiz, dfjuggler, gnshmrthy, MrStevenUND, nik35324 & SOM19.

Remember the initialisation value for the shift register in this one.

ashwinilele
Member

When I run the program I got got D

Before that I thought it was A..

mssorters
Member

D

M.P.Bharghavi
Member

Ans:D

ersmt444
Member

D

NishaV
Member

D