LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Waveform graph zoom while running/updating

Hi guys,

I have a small question regarding waveform graph zooming while a VI is running.
The waveform is mainly for monitoring our machine while it is running for hours and days (real time x-axis).

So the waveform is inside the sampling loop.

When I use the graph palette and turn the auto axis off (manually or property node), the zoom works quit nice!
But as soon as the graph is updated by new data it zooms to such an area, that the new data is shown as well.

Following example:

Full range on the x-scale is 11:00 - 13:00. I zoom in into 12:15-12:30. Let’s assume I gather data every minute.

As soon as the graph receives new data it will zoom to 12:46 to 13:01.

 

Sure I can set hard edge x- axes range with the property node, but this depends strongly on my zoom?

Any idea how to solve that problem elegantly?

Cheers
Fran

 

0 Kudos
Message 1 of 8
(4,398 Views)
Turn off autoscaling. Then you can set the axis to whatever you want.

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 8
(4,396 Views)

That is not very helpful...

I dont want to set the axis manually. It should just stay the same once I zoomed in and should not move while it receives new data.
Auto scale is off...

0 Kudos
Message 3 of 8
(4,372 Views)
If autoscaling is off, it won't move when new data is received.

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 8
(4,369 Views)
PS: zooming does change the axis range manually.

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 5 of 8
(4,367 Views)

Please have a look at the attached VI.

If you run it for some seconds and then try to zoom while the loop is running, it will change the x axis even if your turn off auto axis. Is it possible to "stop" the axis from continuously moving when I am zooming in?

0 Kudos
Message 6 of 8
(4,360 Views)

Hi, I'm interested in the same application. Did you find any solution so far?

Thanks 

0 Kudos
Message 7 of 8
(2,773 Views)

I am tempted to say use a graph rather than a chart. What exactly is your application/problem?

 

You could in principle do lots of things to manually (programmatically) control the viewed area of a graph (or indeed a chart) but the steps are not necessarily the same for those two options.


GCentral
0 Kudos
Message 8 of 8
(2,765 Views)