TDMS In Memory Close Function
- Updated2025-07-30
- 2 minute(s) read
Closes the .tdms file in memory that you opened with the TDMS In Memory Open function. This function also writes the .tdms file to disk, if specified by the file path input.

Inputs/Outputs
overwrite (F)
—
overwrite specifies whether to overwrite the file you specify in file path with the .tdms file in memory. The default is FALSE, which means that this VI does not overwrite the file.
file path
—
file path specifies the absolute path to the file on disk that you want to write the .tdms file in memory.
tdms file
—
tdms file specifies a reference number to the .tdms file in memory on which to perform the operation. Use the TDMS In Memory Open function to open the refnum.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
error out
—
error out contains error information. This output provides standard error out functionality. |
Examples
Refer to the following example files included with LabVIEW.
- labview\examples\File IO\TDMS\Advanced Read and Write\TDMS In Memory Write and Read.vi
- labview\examples\File IO\TDMS\Advanced Read and Write\In Memory Network Read and Write\TDMS In Memory Network Read and Write.lvproj
overwrite (F)
—
file path
—
tdms file
—
error in (no error)
—
error out
—