LabWindows/CVI

Table of Contents
  • LabWindows/CVI Fundamentals
  • Creating Applications
  • Distributing Applications
  • Library Reference
  • Programmer Reference
  • Hardware Information

TDMS_SaveFile

int TDMS_SaveFile (TDMSFileHandle file);

Purpose

Saves a file to disk. Call this function to save a newly created file to disk or to save changes to an existing file.

This function does not close the file handle. Call TDMS_CloseFile to close the file handle.

Parameters

Input
Name Type Description
file TDMSFileHandle The handle of the file to be saved. You obtain this handle from the TDMS_OpenFileEx or TDMS_CreateFileEx function.

Return Value

Name Type Description
status int Return value indicating whether the function was successful. Unless otherwise stated, zero represents successful execution and a negative number represents the error code.

Error codes are defined in cvi\include\cvitdms.h.

Additional Information

Library: TDM Streaming Library

Include file: cvitdms.h

LabWindows/CVI compatibility: LabWindows/CVI 8.1 and later

© 2016 National Instruments. All rights reserved.

Log in to get a better experience