From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

The Daily CLAD

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

Re: CLAD2017 - Fundamentals - Waveform Graphs

SercoSteveB
Active Participant

Which of the following VI generated the data displayed in Waveform Graph?

 

NOTE:  Multiple answers may apply.

 

Graphs Graph.jpg

 

Graphs VIs.jpg

Comments
A.Bernau
Member

Oh, the daily CLAD continues ...
Thank you Steve for the time you spend ...
I would say a, b, c and d.

Edit:

My approach was:
It doesn’t matter how we build the array.
It does matter how the shape of the array is.
In addition we have the option for “transpose array”
I cant find it in the block diagram but in the Front Panel.

crossrulz
Knight of NI

Assuming the default setting for the "Transpose Array" on the graph (off), B and 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
maccapple
Member

B and C . As there are only 4 lines

A.Bernau
Member

Why I should assume a default setting? If yes it should be mentioned in the text.

But maybe the empathy let you feel what Steve really wants to know 😉
This would be more difficult for none or less English Speakers like me …

For me it is the opposite (even I could be wrong). The “plus” in this DCLAD is to remember that we have this option …

Nevertheless, whatever Steves intention was, thank you for discussing!

crossrulz
Knight of NI

Keep in mind that these questions are to imitate a real CLAD exam.  In those types of exams, you have to assume default settings unless otherwise stated.


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
A.Bernau
Member

@crossrulz: Oh, ok, this is a quite important information. Thank you!

abasak86
Member

It seems only B. Because Build Array (outside For Loop) only provides 4 randomly generated lines in the Waveform Graph.

Solubit.Rana
Member

B. is the only one that produces a 4x5 array, 4 signals, 5 pts each

A => 5x4 array, 5 signals, 4 pts each

C => 4x4 array, 4 signals, 4 pts each

D => 5x4 array, 4 signals, 5 pts each

 

wayrider
Member

C

ZacharyHuang
Member

a) 5x4

b) 4x5

c) 4x5

d) 5x4

 

--> b) and c)

Sangameshsh
Member

Can any one explain in what case which option will be the output, each comment says different options  i am Stumped to comments

moni11
Member

according to the graph we should get 4 signals (lines) and 5 data points(0,1,2,3,4)

a) will have 4 data points with 5 lines (not the right answer)

b) will have 5 data points with 4 lines (right answer)

c) will have 5 data points with 4 lines (right answer)

d) will have 4 data points with 5 lines (not the right answer)

Sangameshsh
Member
 

if Stumped follow below logic::

 
 
 

if build array is inside for loop, then it creates different signals (equal to N), total points depends on inputs to build array.

if build array is outside for loop, then it creates different signals (equal to build array inputs), points (equal to N)

NishaV
Member

B and C

skian
Member

I would say B and C. 

Where can we find the final answer?

istan0227
Member

A=5x4

B=4x5

C=4x5

D=5x4

because graph is 4x5 array , Anser is B&C.

puneet82
Member

A, b

CA-Pioneer
Member

B. If you focus on the shape of the array, you will find difference in the loop or outside.  1) building the array in the loop, each time you build a M*1 array (M is signal number), then iterate N, the final array is (M*1 ) * N; 2) building the array out the loop, you just insert new M signal elements to the array N times, the final array is M*N.

Junaid12345
Member

B