Skip to content

Commit b7c2c91

Browse files
author
Dilmi Wickramanayake
committed
Analog Input - Voltage and Thermocouple
Signed-off-by: Dilmi Wickramanayake <[email protected]>
1 parent 56c0749 commit b7c2c91

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

examples/nidaqmx/nidaqmx_continuous_analog_input_panel.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
thermocouple_data = panel.get_value("thermocouple_data", [0.0])
2525
voltage_data = panel.get_value("voltage_data", [0.0])
2626

27-
sample_rate = panel.get_value("sample_rate")
27+
sample_rate = panel.get_value("sample_rate", 0)
28+
2829
st.header("Voltage & Thermocouple")
2930
voltage_therm_graph = {
3031
"tooltip": {"trigger": "axis"},

poetry.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)