TDMS Advanced Synchronous Write Function
- Updated2025-07-30
- 2 minute(s) read
Writes data to the specified .tdms file synchronously.

Inputs/Outputs
tdms file
—
tdms file specifies a reference number to the .tdms file on which to perform the operation. Use the TDMS Advanced Open function to open the refnum.
data
—
data specifies the data to write to the .tdms file. This input accepts a 1D or 2D array of integers, floating-point numbers, Booleans, and timestamps. If the disable buffering? input of the TDMS Advanced Open function is TRUE, the size of data must be a multiple of the sector size and the array size must be less than 67,076,096 bytes on x86 systems, 67,051,520 bytes on IA-64 systems, or 33,525,760 bytes on x64 systems. Refer to the Microsoft Developer Network Web site at msdn.microsoft.com for more information about calculating the maximum array size.Note
You can wire the following floating-point numbers to this input:
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
tdms file out
—
tdms file out returns a TDMS file reference to the .tdms file on which you performed the operation.
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\Synchronous Read and Write\TDMS Advanced Synchronous Write.vi
tdms file
—
data
—
error in (no error)
—
tdms file out
—
error out
—