From df4ba386b0bcdd0b19965388834463b247d8df36 Mon Sep 17 00:00:00 2001 From: Zach Hindes Date: Thu, 3 Feb 2022 09:30:42 -0600 Subject: [PATCH] escape backslashes in docstrings (#139) --- nidaqmx/_task_modules/in_stream.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/nidaqmx/_task_modules/in_stream.py b/nidaqmx/_task_modules/in_stream.py index fd5874bf..c0651e75 100644 --- a/nidaqmx/_task_modules/in_stream.py +++ b/nidaqmx/_task_modules/in_stream.py @@ -607,7 +607,7 @@ def logging_file_path(self): 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 + with "\\" or "/". Files created after specifying a new file path retain the same name and numbering sequence. """ cfunc = lib_importer.windll.DAQmxGetLoggingFilePath @@ -878,11 +878,11 @@ def logging_samps_per_file(self): created with the naming convention of _####.tdms, where #### starts at 0001 and increments automatically with each new file. For example, if the file specified is - C:\data.tdms, the next file name used is C:\data_0001.tdms. - To disable file spanning behavior, set this attribute to 0. - If **logging_file_path** is changed while this attribute is - set, the new file path takes effect on the next file - created. + C:\\data.tdms, the next file name used is + C:\\data_0001.tdms. To disable file spanning behavior, set + this attribute to 0. If **logging_file_path** is changed + while this attribute is set, the new file path takes effect + on the next file created. """ val = ctypes.c_ulonglong()