Skip to content

Commit 1ab9fa6

Browse files
author
Dilmi Wickramanayake
committed
changes to poetry lock file
1 parent fb2b46f commit 1ab9fa6

File tree

3 files changed

+40
-15
lines changed

3 files changed

+40
-15
lines changed

examples/nidaqmx_analog_input_filtering/nidaqmx_analog_input_filtering.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@
3232
panel.set_value("is_running", True)
3333
panel.set_value("stop_button", False)
3434

35-
# How to use nidaqmx: https://nidaqmx-python.readthedocs.io/en/stable/
36-
3735
# How to use nidaqmx: https://nidaqmx-python.readthedocs.io/en/stable/
3836
with nidaqmx.Task() as task:
3937
chan_type = panel.get_value("chan_type", "1")

examples/nidaqmx_analog_input_filtering/nidaqmx_analog_input_filtering_panel.py

Lines changed: 25 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,18 @@
4242
channel_left, channel_right = st.columns(2)
4343
with channel_left:
4444
max_value_voltage = st.number_input(
45-
"Max Value", value=5.0, step=0.1, disabled=panel.get_value("is_running", False)
45+
"Max Value",
46+
value=5.0,
47+
step=0.1,
48+
disabled=panel.get_value("is_running", False),
4649
)
4750
panel.set_value("max_value_voltage", max_value_voltage)
4851

4952
min_value_voltage = st.number_input(
50-
"Min Value", value=-5.0, step=0.1, disabled=panel.get_value("is_running", False)
53+
"Min Value",
54+
value=-5.0,
55+
step=0.1,
56+
disabled=panel.get_value("is_running", False),
5157
)
5258
panel.set_value("min_value_voltage", min_value_voltage)
5359

@@ -84,7 +90,9 @@
8490
key="max_value_current",
8591
disabled=panel.get_value("is_running", False),
8692
)
87-
current = panel.set_value("max_value_current", max_value_current) # type:ignore
93+
current = panel.set_value(
94+
"max_value_current", max_value_current
95+
) # type:ignore
8896
shunt_resistor_value = st.number_input(
8997
"Shunt Resistor Value",
9098
value=249.0,
@@ -243,12 +251,12 @@
243251
)
244252
st.number_input(
245253
"Actual Sample Rate",
246-
value= panel.get_value("actual_sample_rate", 1000.0),
247-
key = "actual_sample_rate",
248-
step = 1.0,
249-
disabled= True
254+
value=panel.get_value("actual_sample_rate", 1000.0),
255+
key="actual_sample_rate",
256+
step=1.0,
257+
disabled=True,
250258
)
251-
259+
252260
st.title("Logging Settings")
253261
enum_selectbox(
254262
panel,
@@ -288,9 +296,14 @@
288296
value=1,
289297
disabled=panel.get_value("is_running", False),
290298
)
291-
st.selectbox("Actual Filter Frequency", options=[panel.get_value("actual_filter_freq")], disabled=True)
292-
st.selectbox("Actual Filter Order", options=[panel.get_value("actual_filter_order")], disabled=True)
293-
299+
st.selectbox(
300+
"Actual Filter Frequency",
301+
options=[panel.get_value("actual_filter_freq")],
302+
disabled=True,
303+
)
304+
st.selectbox(
305+
"Actual Filter Order", options=[panel.get_value("actual_filter_order")], disabled=True
306+
)
294307

295308

296309
with right_col:
@@ -381,7 +394,7 @@
381394
"This trigger type is not supported in continuous sample timing. Refer to your device documentation for more information on which triggers are supported."
382395
)
383396

384-
397+
385398
with right_col:
386399
with st.container(border=True):
387400
acquired_data = panel.get_value("acquired_data", [0.0])

poetry.lock

Lines changed: 15 additions & 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)