LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Xy Graph problem

I have one XY graph, in that i am drawing graph according to the values from inputfile. it is drwaing properly from left to right. But after some time another curser is removing my graph.Why it is happening?
Download All
0 Kudos
Message 1 of 5
(2,877 Views)
The problem is not related to cursors. On the subvi "XY Chart Buffer.vi", you need to set the input "chart length (points)" to something. It's using the default length of 100 points, which is why your data is disappearing from the left hand side as time goes on.

~Tim
Message 2 of 5
(2,877 Views)
Thank you tim, But it does not work. still it is same thing..
0 Kudos
Message 3 of 5
(2,877 Views)
Seems to work for me. I don't see any problem with cursors. Try the attached - slightly modified. Your file contains about 3500 points, so I set the buffer length to 3500. Also, make sure to reset the buffer on first iteration, otherwise "old" data is retained.

I moved the Axis properties out of the loop. It seems to improve the display.

It seems your x axis wraps around a couple of times, but that's a result of the data, not the plotting technique.
0 Kudos
Message 4 of 5
(2,877 Views)
thank you for your response, ya it is working. Sorry before I put wrong connection, so it does not work. Any way once again thank you for your response.
..Sashi
0 Kudos
Message 5 of 5
(2,877 Views)