Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

TDMS Flush Function

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

Owning Palette: TDM Streaming VIs and Functions

Requires: Base Development System

Copyright: (c) 2013 National Instruments. All rights reserved.

Writes all buffers of the .tdms file data to the file identified by the tdms file input.

Data written to a .tdms file often resides in a buffer until the buffer fills up or until you close the file. This function forces the operating system to write any buffer data to the .tdms file.

Note  Flushing data too frequently might negatively impact the writing performance of your application.


tdms file specifies a reference number to the .tdms file on which to perform the operation. Use the TDMS Open function to open the refnum.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
tdms file out returns a TDMS file reference to the .tdms file on which you performed the operation.
error out contains error information. This output provides standard error out functionality.


Refer to the Flush Written TDMS Data VI in the labview\examples\File IO\TDMS directory for an example of using the TDMS Flush function.


 Was this document helpful?  submit
  Helpful Not Helpful