Hello Guillaume,

Thank you for contacting National Instruments.

Are you plotting the data as you acquire it in real time?  Or is this
data that has already been collected and you just want to plot it in
10 second increments?

If you are acquiring and plotting your data at the same time, you can
use a waveform chart with the X-Axis set to absolute time format.  In
waveform chart properties, select the Format and Precision tab >>
select X-Axis from the pull down menu >> select Absolute time from the
menu below.
Then select the Scales tab >> select X-Axis from the pull down menu >>
deselect the Autoscale box >> set Minimum to 0 and Maximum to 10.
The chart will now automatically scroll as points are plotted, but
will stay 10 seconds wide.

If you would like to segment a currently existing array into 10 second
increments, you will have to use some array functions (such as
Threshold 1D Array) to split the array when the time stamp passes a 10
second mark.

If this does not help, I would be glad to take a look at your code.

Sean C.
Applications Engineer
National Instruments

Reply via email to