TDMS_GetFileFormat
- Updated2023-02-21
- 1 minute(s) read
int TDMS_GetFileFormat (char *filePath, TDMSFileFormat *fileFormat);
Purpose
Obtains the current file format of the specified file.
Parameters
| Input | ||
| Name | Type | Description |
| filePath | char * | The path to the file. If this value is not an absolute pathname, then the pathname is relative to the current working directory. |
| Output | ||
| Name | Type | Description |
| fileFormat | TDMSFileFormat | The current format of the specified file. The 2.0 version of the TDM Streaming file format includes all features from version 1.0, as well as additional features. |
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 2009 and later
© 2016 National Instruments. All rights reserved.