LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

XY chart display(multiple plots) --help required

Hi All,

I have problem in showing data(scale on y-axis)..on the xy-chart display...
Chart contains 2 plots...
1.length vs 1st Speed
2.length vs 2nd Speed..

my problem is with the scale on y-axis and plotting 1st speed and 2nd speed(on y-axis..) with respect to length(on x-axis)....
I attached my front panel window diagram for ur kind help....
 
I can able to view the plot on the chart....but the plot's are not like plots...they are plotting like in straight lines

One more Doubt ....in some chart if we right click it ..we can able to view the chart history length....
but in some chart ...why it's not appearing when we right click it ..
In that cases how we can set chart history size length...or how to enable the option.....


Regards
Rajasekar
Download All
0 Kudos
Message 1 of 4
(4,144 Views)

Hi Rajasekar,

What kind of data acquisition are you doing? The plot depends on the data you are reading.

Also, only charts show the history length since that is their expected behavior. The following knowledge base article should help you understand that better:

What Is the Difference between Graphs and Charts in LabVIEW?

Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 2 of 4
(4,128 Views)
Dear friend,

First i misunderstood the concept...now i am clear with the graph and chart concept..Since i am new user to Labview....
I need the xy-graph behaving like chart..with history length..(data acquistion type  by serial)..

Now i am completed the task...with the  examples comes from NI example finder..but i need clarification.....

I attached my vi...could u please see through it....
if u see the attached front panel diagram named front-panel.png file...in that the xy-chart is showing a straight line...
This is where i am facing problem...It should be continous instead of straight line....
Latter i find that this problem is  because of history length problem of  xy-graph.
so i added buffer.vi..(sub-vi) available in variable-time xy-chart example to overcome this issue..

Please say ur suggestion...

Download All
0 Kudos
Message 3 of 4
(4,119 Views)

Hi Rajasekar,


I hope you are doing well today! Try disabling auto scale and set the minimum and maximum of the x and y plots? Also, be sure to check out example XY Graph.vi in the Example Finder.

Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 4 of 4
(4,107 Views)