TDMS Set Next Write Position Function
- Updated2025-07-30
- 3 minute(s) read
Configures the offset at which the TDMS Advanced Asynchronous Write or TDMS Advanced Synchronous Write function starts overwriting the existing data in a .tdms file.

Inputs/Outputs
channel name in
—
channel name in specifies the channel on which to perform the operation.
group name in
—
group name in specifies the group on which to perform the operation.
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.
offset (0)
—
offset specifies how far in the raw data from the location specified by from to set the file position. The default is 0. If the disable buffering? input of the TDMS Advanced Open function is TRUE, the next write position you set must be a multiple of the sector size of the hard disk.
from (0:start)
—
from specifies where to set the file position in the raw data based on the offset.
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\Asynchronous Read and Write\TDMS Advanced Overwrite.vi
- labview\examples\File IO\TDMS\Advanced Read and Write\Asynchronous Read and Write\TDMS Advanced Ring Buffer.vi
channel name in
—
tdms file
—
offset (0)
—
from (0:start)
—
error in (no error)
—
tdms file out
—
error out
—