Skip to content

Commit 11b3c97

Browse files
author
Dilmi Wickramanayake
committed
Merge branch 'users/DilmiWickramanayake/Analog_Input' of https://github.com/ni/nipanel-python into users/DilmiWickramanayake/Analog_Input
2 parents 5e0ee0a + d47149f commit 11b3c97

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/nidaqmx/nidaqmx_continuous_analog_input.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
try:
2222
print(f"\nPress Ctrl + C to stop")
2323
while True:
24-
data = task.read(number_of_samples_per_channel=1000) # pyright: ignore[reportArgumentType]
24+
data = task.read(number_of_samples_per_channel=1000)
2525
panel.set_value("voltage_data", data[0])
2626
panel.set_value("thermocouple_data", data[1])
2727
except KeyboardInterrupt:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,4 +97,4 @@ testpaths = ["src/nipanel", "tests"]
9797

9898
[tool.pyright]
9999
include = ["examples/", "src/", "tests/"]
100-
exclude = ["src/ni/protobuf/types/", "src/ni/pythonpanel/v1/"]
100+
exclude = ["src/ni/protobuf/types/", "src/ni/pythonpanel/v1/","examples/nidaqmx/nidaqmx_continuous_analog_input.py"]

0 commit comments

Comments
 (0)