Time Series Database Cache Module by Automation Professionals
E-Mail Support

TransientDataset

This composite type extends Ignition's Dataset type to omit its data during serialization.

serialization behavior varies by scope. Native java serialization will always omit the row data. This includes network messaging in Ignition. In the designer, these datasets' content will not be stored in the project.

Syntax

from com.automation_pros.tsdbcache import TransientDataset
dataset = TransientDataset(otherDataset)

Methods

dataset.persistent()
returnsDatasetProvides the reverse of toTransient() for this dataset.

WARNING: Datasets converted from transient to persistent by the persistent() method can be very large. If you do so, avoid saving the project when large datasets are present, or you will suffer from long serialization delays.

See the documentation for the built-in Dataset class in the User Manual, for more detail on using datasets in scripts.