The Daily CLAD

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

Re: Build Array: WHILE Loop #2

SercoSteveB
Active Participant

What is Numeric Value Out following execution of the VI?

 

Build Array While Loop #2 28_01_2015.png

 

a) 7

b) 9

c) 13

d) 15

Comments
crossrulz
Knight of NI

D



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

D

p.mihran
Member

B

mini09
Active Participant

D

sathishp91
Member

D

clendon.gibson@canrig.com
Member

D, but why isn't the output of the while loop a 2D array?

MrStevenUND
Member

Ahh.  Tricky.  The Concatinate ouput on the while loop is a new feature.  I had to build this in labVIEW to understand why everyone was saying D.

Ans D.

clendon.gibson@canrig.com - The Build Array is set to concatinate inputs, so it is just a 1D array.

thippeswamy
Member

i Am  trying to Build This VI in LabVIEW But i Am Not Able to Connect the bundaled Array Output the other end of the Shift resgister

mini09
Active Participant

Right click on the build array and select Concatenate inputs. Check the wire size shown here vs your code? it's a 1D array.!!

Yamoussa
Member

D

nik35324
Member

D

SercoSteveB
Active Participant

Answer: D.  Nice one crossrulz, sk_a, gnshmrthy, sathishp91, clendon.gibson@canrig.com, MrStevenUND, Yamoussa & nik35324.

The concetenation output tunnel is a new (ish) feature for those struggling to recreate this VI.

A.Bernau
Member

Finally I understand (after coding it and using the LabVIEW help)
D

teju_18
Member

I am getting ans B

I am using LV2011..and I cannot see concatenate option for tunnel

crossrulz
Knight of NI

teju_18 wrote:

I am using LV2011..and I cannot see concatenate option for tunnel


                   

That's because they were introduced in LabVIEW 2012.



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

D

M.P.Bharghavi
Member

Ans:D

15

Since while loop is a longest loop it runs for 3 times.

M.P.Bharghavi
Member

When I checked the question in LAbVIEW it shows error. Since we are connecting shift registers with different dimensional arrys.

Initialize array is 1D array and after build array it becomes 2D.

How to debug this situation?.

Please someone tell me.

sathishp91
Member

Right click the build array and select the Concatenate inputs.