> I have logged a fair bit of data at 2.6667 second time intervals inside
> Labview. Each sample has a timestamp which was the time in seconds since
> 1904 when the sample was taken. Some samples were discarded at the time
> of sampling and weren't logged. I now want to play this data back to the
> equivalent of a scrolling chart. The problem I'm having is getting the
> time in seconds wired into the x-axis of this chart as the delta x-part
> isn't uniform and the timescale does not correspond to what is plotted
> on the chart. What is important to me is that the solution displays as a
> scrolling chart with the correct time on the axis.
>
> Any pointers or suggestions would be appreciated.
You don't mention what version of LV you are using. If you are or can
use L
V6, then you can do this with the Waveform datatype. The waveform
is an semi-opaque datatype that includes a timestamp with one or more
measured values. Since you can wire it to a chart, you can accumulate
discontiguous data. In a normal acquire and chart application that now
returns a waveform and you send it to the chart, the irregular sampling
automatically shows up. If you are reading them from file, then you can
pretty easily bundle the evenly sampled portions together into one
waveform, then start another to skip ahead when you find a skip.
If you are stuck using a previous version, then I'm afraid you
will need to use an XY graph, possibly with the accumulation functions
in the example I recently listed or use your own shift registers and
build array.
Greg McKaskle