Skip to content

Commit eba2ce8

Browse files
author
Dilmi Wickramanayake
committed
changes README.md
1 parent 9c82e5b commit eba2ce8

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

examples/nidaqmx/nidaqmx_analog_output_voltage/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_analog_output_voltage\nidaqmx_analog_output_voltage.py
21+
poetry run examples\nidaqmx\nidaqmx_analog_output_voltage\nidaqmx_analog_output_voltage.py
2222
```

examples/nidaqmx/nidaqmx_analog_output_voltage/nidaqmx_analog_output_voltage.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@
6565
trigger_source=panel.get_value("digital_source", ""),
6666
trigger_edge=panel.get_value("edge", Edge.FALLING),
6767
)
68+
else:
69+
pass
6870

6971
panel.set_value("sample_rate", task.timing.samp_clk_rate)
7072
t = np.arange(num_samples) / sample_rate

examples/nidaqmx/nidaqmx_analog_output_voltage/nidaqmx_analog_output_voltage_panel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
with left_col:
4040
with st.container(border=True):
41-
is_running = panel.get_value("is_running", True)
41+
is_running = panel.get_value("is_running", False)
4242
if is_running:
4343
st.button("Stop", key="stop_button")
4444
elif not is_running and panel.get_value("daq_error", "") == "":

0 commit comments

Comments
 (0)