LabWindows/CVI

Content Type
Programming Language
Current manual
Table of Contents

TDMS_SaveFile

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.

Was this information helpful?

Help us improve your future ni.com experience.

Did you find the documentation you were looking for?

Submit