Skip to content

Commit ae409d5

Browse files
author
Dilmi Wickramanayake
committed
Dev4 -> Dev1
1 parent b9b85ef commit ae409d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/nidaqmx/nidaqmx_continuous_analog_input/nidaqmx_continuous_analog_input.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,15 @@
3434
# How to use nidaqmx: https://nidaqmx-python.readthedocs.io/en/stable/
3535
with nidaqmx.Task() as task:
3636
task.ai_channels.add_ai_voltage_chan(
37-
physical_channel="Dev4/ai0",
37+
physical_channel="Dev1/ai0",
3838
min_val=panel.get_value("voltage_min_value", -5.0),
3939
max_val=panel.get_value("voltage_max_value", 5.0),
4040
terminal_config=panel.get_value(
4141
"terminal_configuration", TerminalConfiguration.DEFAULT
4242
),
4343
)
4444
task.ai_channels.add_ai_thrmcpl_chan(
45-
"Dev4/ai1",
45+
"Dev1/ai1",
4646
min_val=panel.get_value("thermocouple_min_value", 0.0),
4747
max_val=panel.get_value("thermocouple_max_value", 100.0),
4848
units=panel.get_value("thermocouple_units", TemperatureUnits.DEG_C),

0 commit comments

Comments
 (0)