DAQmxStartNewFile
- Updated2023-03-16
- 1 minute(s) read
DAQmxStartNewFile(TaskHandle taskHandle, const char filePath[]);
Purpose
Starts a new TDMS file the next time data is written to disk.
Parameters
| Input | ||
| Name | Type | Description |
|---|---|---|
| taskHandle | TaskHandle | The task used in this function. |
| filePath | const char [] | The path to the TDMS file to which you want to log data. |
Return Value
| Name | Type | Description |
|---|---|---|
| status | int32 | The error code returned by the function in the event of an error or warning. A value of 0 indicates success. A positive value indicates a warning. A negative value indicates an error. |