Main Content

reset

Reset TDMS datastore to initial state

Since R2022a

Description

reset(tdmsds) resets the TDMS datastore specified by tdmsds to its initial read state, where no data has been read from it. Resetting allows you to reread from the same datastore.

example

Examples

collapse all

Reset a TDMS datastore so that you can read from it again.

tdmsds = tdmsDatastore("C:\data\tdms");
data = read(tdmsds);
    ⋮
reset(tdmsds);
data = read(tdmsds);

Input Arguments

collapse all

TDMS datastore, specified as a TDMSDatastore object.

Example: tdmsds = tdmsDatastore("C:\data\tdms")

Limitations

  • TDMS functions are supported on Windows® platforms only.

Version History

Introduced in R2022a

See Also

Functions