Skip to content

Commit 7619ee0

Browse files
Mike ProsserMike Prosser
authored andcommitted
cleanup
1 parent 1c191dd commit 7619ee0

File tree

3 files changed

+5
-195
lines changed

3 files changed

+5
-195
lines changed

examples/nidaqmx/nidaqmx_continuous_analog_input_panel.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
import nipanel
77

8-
panel = nipanel.get_panel_accessor()
98

9+
st.set_page_config(page_title="NI-DAQmx Example", page_icon="📈", layout="wide")
1010
st.title("Analog Input - Voltage and Thermocouple in a Single Task")
1111
voltage_tab, thermocouple_tab = st.tabs(["Voltage", "Thermocouple"])
1212

@@ -21,6 +21,7 @@
2121
unsafe_allow_html=True,
2222
)
2323

24+
panel = nipanel.get_panel_accessor()
2425
thermocouple_data = panel.get_value("thermocouple_data", [0.0])
2526
voltage_data = panel.get_value("voltage_data", [0.0])
2627

poetry.lock

Lines changed: 2 additions & 190 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,7 @@ grpcio = {version=">=1.49.0,<2.0"}
1212
protobuf = {version=">=4.21"}
1313
ni-measurement-plugin-sdk = {version=">=2.3"}
1414
typing-extensions = ">=4.13.2"
15-
streamlit = [
16-
{version=">=1.24,<1.33", python=">=3.9,<3.10"},
17-
{version=">=1.24", python=">=3.10"}
18-
]
15+
streamlit = ">=1.24"
1916
nitypes = {version=">=0.1.0dev2", allow-prereleases=true}
2017
numpy = [
2118
{version=">=1.20.0,<2.0.0", python=">=3.9,<3.10"},

0 commit comments

Comments
 (0)