> I want to display a figure of intensity(from lockin
> amplifier) vs time (not x axis in waveform chart), which will plot
> point by point(just like waveform chart), not plot all data at the
> same time(like waveform graph).Of course, each intensity corresponds
> with a time value. How to change the X axis into my time values? It's
> the number of the points now.
Ah. I think you want to set the Multiplier and Offset for the X scale.
You can do this interactively in the Formatting dialog, or
programmatically using property nodes, then set the format of the scale
to display either relative or absolute time. Generally, the multiplier
and offset are the terms in a linear transform from the index to what is
diplayed for the scale labels
.
Set the multiplier to be the sample period in seconds. If sampling once
every five seconds, set the multiplier to five, if sampling at 1KHz, set
it to .001. Then set the offset to determine what index zero should be
displayed as. It may take a bit of playing, but the example Real-Time
Chart.vi in the examples/general/graphs.llb show how to do this
programmatically for absolute time.
Greg McKaskle