Module: Data Storage
The submodule Data Storage defines the storage format of a persistence channel.
ASCIIFileStorage
: Saving the values in ASCII format in a file.The
ASCIIFileStorage
format allows to open the archive file in a text editor and to modify the values. Comments can be added to ASCII file archive. These will be ignored when the file is read.BinaryFileStorage
: Saving the values in binary format in a file.BinaryMemoryStorage
:Saving the values in binary format to the "RETAIN" area of the compiler or the device concerned (example: to the NVRAM of such a device.)PersistentBinaryMemoryStorage
: Saving the values in binary format to the "Persistent" area of the compiler or the device concerned (example: to the NVRAM of such a device.)
Below the persistence channel insert a Data Storage module of the desired format. If necessary, modify the configuration in Parameter tab:
Dialog: Parameters
sArchiveName | Name of the archive file By default the placeholder Note: The default storage location for archive files depends on the runtime system version. See: Persistence Manager Overview |
xDoubleStorage | If activated ( |
udiMaximumFileSize | The maximum file size in bytes If |
bySeparator | ASCII value for separator between variable name and value. |
udiMemDataSize | Size of the memory in the "RETAIN" variable area, which is created for the module. The value is compared to the size of the data to be stored. If the value is definitely too small a compiler error is created. If it is possibly too small a warning is displayed in the message view. |
Dialog: Information
For details about this dialog, see: Information.