DaqStream.LoggingFilePath Property
- Updated2023-02-21
- 1 minute(s) read
DaqStreamLoggingFilePath Property
Specifies the path to the TDMS file to which you want to log data. If the file path is changed while the task is running, this takes effect on the next sample interval (if Logging.SampsPerFile has been set) or when DAQmx Start New File is called. New file paths can be specified by ending with "\" or "/". Files created after specifying a new file path retain the same name and numbering sequence.
Namespace: NationalInstruments.DAQmx
Assembly: NationalInstruments.DAQmx (in NationalInstruments.DAQmx.dll) Version: 20.7.40.49302
Syntax
public string LoggingFilePath { get; set; }
Public Property LoggingFilePath As String Get Set
Property Value
Type: StringSpecifies the path to the TDMS file to which you want to log data. If the file path is changed while the task is running, this takes effect on the next sample interval (if Logging.SampsPerFile has been set) or when DAQmx Start New File is called. New file paths can be specified by ending with "\" or "/". Files created after specifying a new file path retain the same name and numbering sequence.
Exceptions
Exception | Condition |
---|---|
DaqException | The NI-DAQmx driver returned an error. |