NI-DAQ™mx C Reference

DAQmxStartNewFile

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.