Limit Amount of Exported Data

Decimation

To skip samples when exporting data, apply a decimation factor. For example, a decimation factor of 2 saves every other sample. By default, decimation is set to 1, which does not skip any samples.

The approach you use to specify a decimation factor depends on the kind of logging data.

Kind of DataHow to Specify
Signal loggingRight-click the signal. In the Signal Properties dialog box, select the Decimation parameter.
Data store loggingFrom the block parameters dialog box for that block, open the Logging tab. Apply a decimation factor using the Decimation parameter.
State and outputEnter a value in the field to the right of the Decimation label.

Limit Data Points to Last

To limit the number of samples saved to be only the most recent samples, set the Limit Data Points to Last parameter.

The approach you use depends on the kind of logging data.

Kind of DataHow to Specify
Signal loggingRight-click the signal. In the Signal Properties dialog box, select the Limit Data Points to Last parameter.
Data store loggingFrom the block parameters dialog box for that block, open the Logging tab. Select the Limit Data Points to Last parameter.
State and outputEnter a value in the field to the right of the Limit Data Points to Last label.

Was this topic helpful?