LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Unanswered Labview Question

Solved!
Go to solution

Hello All,

 

I have searched the entire NI forum to get the answer of the following question. But still I couldnot get the answer.

 

Which of the following only plots data in evenly distributed intervals along the x-axis?  A) Waveform GraphB) Waveform ChartC) XY GraphD) Both A. and B.

E) Both B. and C.

 

The confusion is whether option A or option D. But I guess the answer is option A, since Waveform Chart can plot a single value which is not evenly distributed

 

Please verify and give your comments.

 

 

 

0 Kudos
Message 1 of 9
(4,086 Views)
A waveform graph can also plot a single value, just ensure a good point style to actually see it. 😉
0 Kudos
Message 2 of 9
(4,079 Views)

Hello Labview Champion,

 

So the answer is Option D?

0 Kudos
Message 3 of 9
(4,070 Views)

[...] "evenly distributed intervals along the x-axis" [...] 

I think this is the key to the answer.  The X axis in a chart is not time unless your program puts data there accordingly.  A chart doesn't care what the time interval is while it's putting the points evenly along the x-axis.

The only way to get unevenly distributed points on a chart is to chart NAN.

Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

Message 4 of 9
(4,024 Views)

Lavanya_sri wrote:

Hello All,

 

I have searched the entire NI forum to get the answer of the following question. But still I couldnot get the answer.

 

Which of the following only plots data in evenly distributed intervals along the x-axis?  A) Waveform GraphB) Waveform ChartC) XY GraphD) Both A. and B.

E) Both B. and C.

 

The confusion is whether option A or option D. But I guess the answer is option A, since Waveform Chart can plot a single value which is not evenly distributed

 

Please verify and give your comments.

 

 

 


The answer is obvious once you realize that the person who wrote that question did NOT know that a chart that has a data type of of "Waveform" would use the "t0" value of the waveform to plot that data (provided "ingnore attribute" is NOT set).

 

So forget about using a waveform data type and then try to answer the question.

 

Ben

 

 

 

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 5 of 9
(3,997 Views)

I think the OP is confusing himself with the statement

 

"since Waveform Chart can plot a single value which is not evenly distributed"

 

How can you say a single value is not evenly distributed?  You can make the argument that it is evenly distributed.  There is no unevent interval between points.  Or in reality, it is not distributed at all since it is only one point.

 

In addition, plotting NaN's doesn't make the points unevenly distributed.  NaN is still a point at the same interval as all the other points.  It is just a special value that just happens to not plot a point, but the point is still there.

0 Kudos
Message 6 of 9
(3,972 Views)
If a point falls on a plot and there's no one there to see it, does it still make a point?
0 Kudos
Message 7 of 9
(3,963 Views)
Solution
Accepted by topic author Lavanya_sri
There should be no confusion at all on this question. A chart and a graph have a single dt value that is applied to the entire x axis. A chart and graph can only display evenly distributed data and it does not matter at all if the data is acquired evenly or not.
0 Kudos
Message 8 of 9
(3,958 Views)

Dennis Knutson wrote:
There should be no confusion at all on this question. A chart and a graph have a single dt value that is applied to the entire x axis. A chart and graph can only display evenly distributed data and it does not matter at all if the data is acquired evenly or not.

For the purpose of this question YES!

 

But in 95% of my apps (using the Waveform data type since this lets my plot the actual time an update was recieved) ...

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 9 of 9
(3,948 Views)