03-27-2023 10:25 PM
Hi All,
Attached please find the VI.
I found when the data points is over 200K, The response of the XY graph is slow. could you give me some advice for what I can do? of course limit the data points works. but is there other method? and I have below special requirements.
1. I need to add annotation for the graph, the waveform chart seems didn't work. or may be I don't know how to use.
2. Plot 2, plot3 should be able to zoom in and zoom out with plot 1. so the images seems didn't work. I would like to make them just adhere to plot1, but I don't know how to do so I create addtional plots.
3. Is there other method to add text such as annotation to specific position according to x scales? it is better that could be zoom in and zoom out with plot1 .
thanks.
03-27-2023 10:56 PM
Slow means when I switch from other tap page back to the page with this XY graph, it takes about 0.5 seconds or more, so I think the program would be impact by creating this XY graph.
I study below topic,but seems I didn't find the answer.
03-28-2023 01:17 AM
Hi yeah,
@yeah wrote:
I found when the data points is over 200K, The response of the XY graph is slow. could you give me some advice for what I can do? of course limit the data points works.
You try to plot 500k points on a graph only 775 pixels wide: that makes 645 samples per pixel width. How much sense does it make to plot so many samples in such a small graph?
The generic answer to your problem is: plot less samples in your graph!
(The more extensive answer is: you can use the full amount of data for your data analysis, but you can still plot a decimated set of both input and output data!)
03-28-2023 07:44 PM - edited 03-28-2023 07:52 PM
Hi GerdW,
Thanks, so there seems no better graph or chart could replace this kind of XY graph.
I need to study how to limit the data points of the input or limit the samples for ploting the graph.
And is it possible to remove the " connection line/transverse line" between the plot2 or plot3?😅
03-29-2023 12:51 AM
Hi yeah,
@yeah wrote:
And is it possible to remove the " connection line/transverse line" between the plot2 or plot3?
There is no connection line between different plots in LabVIEW graphs!
There only is a connection when you append new points to an existing plot…
Generic solution: insert a "NaN" value between your "parts of plots" to separate them. LabVIEW graphs can handle NaN values and will ignore (aka "plot an invisible point") them…
03-29-2023 02:43 AM
Hi GerdW,
Thank you very much, adding a point "x=NaN,y=NaN" after the exist plot works for me.