Command: DataFileSave
- Updated2024-09-12
- 4 minute(s) read
Command: DataFileSave
Command: DataFileSave
Saves the entire data store from the DIAdem Data Portal, with their properties, to a data file.
Input Parameters
DataFilename |
Specifies the name of a data file with the filename extension and the path. |
[FileExportFilter] |
Specifies the storage method you use to save data from the DIAdem Data Portal to a file. If you do not specify a storage method, DIAdem saves the data with the TDM DataPlugin. |
[ChnXYRelation] |
Specifies that there are x-channel references in xy-channels and that the x-channel is used when copying and moving xy-channels. |
| Note If you save data in TDM format, you use the FileSaveDataType variable to specify whether DIAdem specifies the data format automatically, or saves the data format as a floating point value with 64 bits. By default, DIAdem specifies the data format automatically. |
| Note If you load the content of a TDM file in the "Load bulk data on modification of channel data" into the empty Data Portal and do not make any changes which influence the mass data, DIAdem will only save the header files into the same file when saving. This improves performance for TDM files with long channels. DIAdem does not support this function for TDM files which contain text channels. |
| Note The page Loading Bulk Data - General contains important information on the extended loading behavior of TDM and TDMS files. |
Example
The following example saves the entire data storage of the Data Portal to the Example.tdm file:
| VBScript | Python |
Call DataFileSave("C:\Example.tdm","TDM")
Related Topics
Command: ChnValExpand | Command: DataFileLoad | Command: DataFileLoadRed | Command: DataFileLoadSel | Command: DataFileSaveSel | Command: DataFileSelDlg | Command: FileDlgShow | Command: FileNameGet | Command: PathDlgShow | Commands and Variables for Working with Data | Variable: FileExportFilter | Variable: FileFilter | Variable: FileImportFilter

