LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot pre-set waveform chart x-axis scale - y-axis works OK

Solved!
Go to solution

I have three charts which use a common time scale.  The attached JPG shows how I use an initial structure to set YScale minimum and maximums, as well as XScale Maximums.  When I run the VI, the YScale changes take effect immediately, I can see them on the front panel.  Unfortunately, the XScale maximum does not change.

 

If I stop the VI and restart it, the XScale maximum is now set to the desired value.

 

Why does the XScale take two passes? Is there a way to update the XScale on start?

0 Kudos
Message 1 of 2
(3,116 Views)
Solution
Accepted by topic author wildcatherder

I managed to solve my own problem:

 

The XScale value was being set by Calculated Total Run Time. However, that value was in the second sequence frame and thus, was not available to change the XScale maximum.  I added another frame at the beginning which does nothing but take the entered time values and calculate various conversions and sums.

0 Kudos
Message 2 of 2
(3,105 Views)