> I have Graph indicator and I am trying to change the units of time
> axis (x) from seconds to minutes.
> I wrote the small VI that increments the voltage at the output of the
> power supply in steps of 100 V every 1 min.
> After each time interval of 1 minute passes by the voltage is
> incremented by 100V.
> The resulting plot looks like stairs going up.
> Since my time interval will always be fixed to 1 minute I wish I can
> change the x axis so that it is scaled in minutes instead of seconds.
> So let's say I wanna go from 1 to 20 minutes on x axis in increments
> of 1 minute. Is that possible?
>
> What are the options I have?
>
The graph is receiving numeric x data and when displaying in time
format, assumes the data is in seconds.
You have se
veral options. If you are supplying a timestamp for each
reading, multiply by 60 so that the plotted data is in seconds instead
of minutes, then since that is how the graph interprets the timestamp,
your scale can still be set from 0 to 20 minutes, and the graph will put
the data where it belongs. If using a waveform, set the dT to 60.
The second option is to continue using minutes in your timestamp, then
on the graph either interactively or programmatically set the multiplier
to 60. This was once in Scale Formatting..., and I believe in 7 it is
in properties for the scale. Programmatically you have the same options
of multiplier and offset. Set multiplier to 60 and the graph will label
each unit you supply as if it were 60 units. For time, that makes
seconds look like minutes.
Greg McKaskle