From 4559ba85d0d8cb46c737ccac9e1fde74b91cc538 Mon Sep 17 00:00:00 2001 From: Joo Liang Cheah Date: Wed, 19 Jun 2024 18:14:30 +0800 Subject: [PATCH] updated tdms logging example --- examples/analog_in/voltage_acq_int_clk_tdms_logging.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/analog_in/voltage_acq_int_clk_tdms_logging.py b/examples/analog_in/voltage_acq_int_clk_tdms_logging.py index 9c44e770..5158656d 100644 --- a/examples/analog_in/voltage_acq_int_clk_tdms_logging.py +++ b/examples/analog_in/voltage_acq_int_clk_tdms_logging.py @@ -21,7 +21,7 @@ with nidaqmx.Task() as task: task.ai_channels.add_ai_voltage_chan("Dev1/ai0") task.timing.cfg_samp_clk_timing(1000.0, sample_mode=AcquisitionType.FINITE, samps_per_chan=10) - task._in_stream.configure_logging( + task.in_stream.configure_logging( "TestData.tdms", LoggingMode.LOG_AND_READ, operation=LoggingOperation.CREATE_OR_REPLACE )