Owning Palette: TDM Streaming VIs and Functions
Requires: Base Development System
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. | 

  Add to the block diagram | 
  Find on the palette | 
![]()  | 
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.