Command: DataSaveAdd
- Updated2024-09-12
- 2 minute(s) read
Command: DataSaveAdd
Command: DataSaveAdd
Saves data to an existing DIAdem DAT data file.
Input Parameters
![]() |
Specifies the name of the current data file. |
![]() |
Specifies one or more channels. |
![]() |
Specifies the coding procedure for DAT data files. By default DIAdem saves the data file in Unicode. |
Example
The following example saves the channels whose names start with the text Channel from the first group in the Data Portal and all channels from the second group in the file MyExample1.dat. If this data file already exists, DIAdem appends the channels.
VBScript | Python |
Dim oMyChannelList Set oMyChannelList = Data.GetChannels("[1]/Channel*") Call oMyChannelList.Add(Data.Root.ChannelGroups(2)) Call DataSaveAdd(DataWritePath & "MyExample1.dat", oMyChannelList)
Related Topics
Command: ChnValExpand | Command: DataFileLoad | Command: DataFileLoadRed | Command: DataFileLoadSel | Command: DataFileSave | Command: DataFileSaveSel | Command: DataFileSelDlg | Command: FileDlgShow | Command: FileNameGet | Command: PathDlgShow | Commands and Variables for Working with Data | Variable: FileExportFilter | Variable: FileFilter | Variable: FileImportFilter