The Daily CLAD

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

Re: Waveform Charts

SercoSteveB
Active Participant

Which of the following Waveform Charts is displaying the data generated by the VI?

Waveform Charts 25_11_2014.png

Waveform Charts Answers 25_11_2014.png

Comments
mini09
Active Participant

B

Crossrulz is correct, Transpose array is selected by default in charts.

I switch my answer to A.

LordNobady
Member

B


Learning LabVIEW since January 2013
A.Bernau
Member

C (?), no,
you are right it is B
@ dfjuggler: Answer A is the "transposed array" option on, so it is (in my opinion) not the original output/result even it is the default case. I recognized it after coding this example. I still think B is the answer. (sorry for my limited English)

dfjuggler
Member

A

@Andreas23: I also later checked by coding, but I got A by default. At the same time, from the help: "If you cannot determine the number of plots you want to display until run time, or you want to pass multiple points for multiple plots in a single update, wire a 2D array of numeric values or waveforms to the chart. By default, the waveform chart treats each column in the array as a single plot. Wire a 2D array data type to the chart, right-click the chart, and select Transpose Array from the shortcut menu to treat each row in the array as a single plot."

On the other hand, I'm a bit confused since I get B only after deselecting Transpose Array, which is selected by default when I wire the 2D array. This seems to be the opposite to what the help is describing.

Am I missing something?

clendon.gibson@canrig.com
Member

B

MrStevenUND
Member

B

crossrulz
Knight of NI

Charts transpose by default, so A.


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

A

SercoSteveB
Active Participant

Answer: A.  Nice one dfjuggler, crossrulz & nik35324

Anybody know why the Transpose by default?

ashwinilele
Member

I have confusion between A and C

But  I got A after running the code. But why not C?

chan1989
Member

The last element 1 is replaced with "7" by the "replace the subset" VI.

M.P.Bharghavi
Member

Ans:A

Sangameshsh
Member

@ashwinilele: C has y axis of 6 (max) but we need 7 so A is correct option