LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

moving data points on waveform display

Solved!
Go to solution

Hello,

 

Any idea why the waveform display for my VI has moving data points? The display on the third tab does not display this issue. I've taken a video of what happens to better illustrate what I am talking about and attached my VI to find the problem. 

 

I am currently sampling data from a DAQmx and storing it in a queue until the save data button is pressed. That all works fine, but the issue is the actual data display, which, although the points make sense, it shows them moving around in a small area around where they are initially plotted. It happens even when I clear the visible data and restart gathering data, as shown in the video.

 

Thanks for any help you may be able to supply. 

 

Guy

 

Download All
0 Kudos
Message 1 of 4
(2,952 Views)
Solution
Accepted by topic author try_guy90
How much data are you plotting? If you are plotting significantly more datapoints than there are pixels on the graph's X axis you can get peaks that appear to move around due to the graphical interpolation that LabVIEW has to do.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 4
(2,941 Views)

@mikeporter : 

 

500 samples at a rate of 1000Hz. It's the same rate for the third graph, though, and that one does not appear to move.

 

Guy

0 Kudos
Message 3 of 4
(2,937 Views)
How much are you plotting at one time? How big is the graph (in pixels)? The effect is also dependent on the data being plotted. Very noisy data is the worst, smooth waveforms are the least susceptible.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 4 of 4
(2,932 Views)