LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Different x-scales on Charts?

I have 2 charts that I am trying to get the same x scale (time) on. I have gotten the same start time, but I cannot get the total time displayed to match. Any ideas?
0 Kudos
Message 1 of 2
(2,231 Views)
I have to do this very often with display screens that need to provide a print capability. What I do is pass a reference to the original graph to the subVI that will be printing its front panel. From this reference I can get all the graph configuration information I need to make the plot on the printed screen match the plot on the GUI screen--including the Y- and X-axis ranges. Rather than trying to set each parameter individually, I just select the axis range:all elements property and wire that to the cooresponding property on the target graph, and everything just works... Just be sure that you have autoscaling turned off on the target graph as you want it to match the other graph.

As an added benefit, because the print vi now has property nodes on its diagr
am, LV will update its front panel without it needing to be open.

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 2
(2,231 Views)