Skip to content

Commit a3e70f7

Browse files
author
Dilmi Wickramanayake
committed
revert changes
1 parent ec66512 commit a3e70f7

File tree

4 files changed

+3
-946
lines changed

4 files changed

+3
-946
lines changed

examples/nidaqmx/nidaqmx_continuous_analog_input/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ This is a nipanel example that displays an interactive Streamlit app and updates
1818

1919
```pwsh
2020
poetry install --with examples
21-
poetry run examples\nidaqmx\nidaqmx_continuous_analog_input\nidaqmx_continuous_analog_input.py
21+
poetry run examples/nidaqmx/nidaqmx_continuous_analog_input.py
2222
```

examples/nidaqmx/nidaqmx_continuous_analog_input/nidaqmx_continuous_analog_input.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,4 +87,4 @@
8787
print(daq_error)
8888
panel.set_value("daq_error", daq_error)
8989
except KeyboardInterrupt:
90-
pass
90+
pass

examples/nidaqmx/nidaqmx_continuous_analog_input/nidaqmx_continuous_analog_input_panel.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,8 @@
3939

4040
if is_running:
4141
st.button(r"⏹️ Stop", key="stop_button")
42-
elif not is_running and panel.get_value("daq_error", "") == "":
43-
st.button(r"▶️ Run", key="run_button")
4442
else:
45-
st.error(
46-
f"There was an error running the script. Fix the issue and re-run nidaqmx_continuous_analog_input.py \n\n {panel.get_value('daq_error', '')}"
47-
)
43+
st.button(r"▶️ Run", key="run_button")
4844

4945
thermocouple_data = panel.get_value("thermocouple_data", [0.0])
5046
voltage_data = panel.get_value("voltage_data", [0.0])

0 commit comments

Comments
 (0)