From 2937032dc705879f6d57f619d2741ed3f0c6159f Mon Sep 17 00:00:00 2001 From: Mike Prosser Date: Mon, 17 Nov 2025 09:55:51 -0600 Subject: [PATCH] fix example commands --- CONTRIBUTING.md | 2 +- examples/nidaqmx/nidaqmx_analog_output_voltage/README.md | 2 +- examples/nidaqmx/nidaqmx_continuous_analog_input/README.md | 2 +- examples/niscope/niscope_binary_acquisition/README.md | 2 +- examples/niscope/niscope_configured_acquisition/README.md | 2 +- .../README.md | 2 +- .../niscope_ex_fetch_forever.py | 0 .../niscope_ex_fetch_forever_panel.py | 0 8 files changed, 6 insertions(+), 6 deletions(-) rename examples/niscope/{nicope_ex_fetch_forever => niscope_ex_fetch_forever}/README.md (88%) rename examples/niscope/{nicope_ex_fetch_forever => niscope_ex_fetch_forever}/niscope_ex_fetch_forever.py (100%) rename examples/niscope/{nicope_ex_fetch_forever => niscope_ex_fetch_forever}/niscope_ex_fetch_forever_panel.py (100%) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8bf8ba46..dfebceec 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -72,7 +72,7 @@ start docs\_build\index.html - `poetry run python examples/hello/hello.py` - `poetry run python examples/all_types/all_types.py` - `poetry run python examples/simple_graph/simple_graph.py` - - `poetry run python examples/nidaqmx/nidaqmx_continuous_analog_input.py` (requires real or simulated devices) + - `poetry run python examples/nidaqmx/nidaqmx_continuous_analog_input/nidaqmx_continuous_analog_input.py` (requires real or simulated devices) 4. Open http://localhost:42001/panel-service/ in your browser, which will show all running panels # Debugging on the streamlit side diff --git a/examples/nidaqmx/nidaqmx_analog_output_voltage/README.md b/examples/nidaqmx/nidaqmx_analog_output_voltage/README.md index a25d7ac6..82a94573 100644 --- a/examples/nidaqmx/nidaqmx_analog_output_voltage/README.md +++ b/examples/nidaqmx/nidaqmx_analog_output_voltage/README.md @@ -18,5 +18,5 @@ This is a nipanel example that displays an interactive Streamlit app and updates ```pwsh poetry install --with examples -poetry run examples\nidaqmx\nidaqmx_analog_output_voltage\nidaqmx_analog_output_voltage.py +poetry run python examples\nidaqmx\nidaqmx_analog_output_voltage\nidaqmx_analog_output_voltage.py ``` \ No newline at end of file diff --git a/examples/nidaqmx/nidaqmx_continuous_analog_input/README.md b/examples/nidaqmx/nidaqmx_continuous_analog_input/README.md index e387eabc..86abdee0 100644 --- a/examples/nidaqmx/nidaqmx_continuous_analog_input/README.md +++ b/examples/nidaqmx/nidaqmx_continuous_analog_input/README.md @@ -18,5 +18,5 @@ This is a nipanel example that displays an interactive Streamlit app and updates ```pwsh poetry install --with examples -poetry run examples\nidaqmx\nidaqmx_continuous_analog_input\nidaqmx_continuous_analog_input.py +poetry run python examples\nidaqmx\nidaqmx_continuous_analog_input\nidaqmx_continuous_analog_input.py ``` diff --git a/examples/niscope/niscope_binary_acquisition/README.md b/examples/niscope/niscope_binary_acquisition/README.md index d704b9c9..86e26af2 100644 --- a/examples/niscope/niscope_binary_acquisition/README.md +++ b/examples/niscope/niscope_binary_acquisition/README.md @@ -19,5 +19,5 @@ Script demonstrates waveform data getting continuously acquired and being conver ```pwsh poetry install --with examples -poetry run examples\niscope\niscope_binary_acquisition\niscope_binary_acquisition.py +poetry run python examples\niscope\niscope_binary_acquisition\niscope_binary_acquisition.py ``` diff --git a/examples/niscope/niscope_configured_acquisition/README.md b/examples/niscope/niscope_configured_acquisition/README.md index 2aaf1ade..f59bc08f 100644 --- a/examples/niscope/niscope_configured_acquisition/README.md +++ b/examples/niscope/niscope_configured_acquisition/README.md @@ -19,5 +19,5 @@ Script demonstrates how to configure vertical, horizontal, and triggering proper ```pwsh poetry install --with examples -poetry run examples\niscope\niscope_configured_acquisition\niscope_configured_acquisition.py +poetry run python examples\niscope\niscope_configured_acquisition\niscope_configured_acquisition.py ``` diff --git a/examples/niscope/nicope_ex_fetch_forever/README.md b/examples/niscope/niscope_ex_fetch_forever/README.md similarity index 88% rename from examples/niscope/nicope_ex_fetch_forever/README.md rename to examples/niscope/niscope_ex_fetch_forever/README.md index 88063569..9e5ebcd6 100644 --- a/examples/niscope/nicope_ex_fetch_forever/README.md +++ b/examples/niscope/niscope_ex_fetch_forever/README.md @@ -19,5 +19,5 @@ Script demonstrates NIScope waveform data getting continuously acquired. ```pwsh poetry install --with examples -poetry run examples\niscope\niscope_ex_fetch_forever\niscope_ex_fetch_forever.py +poetry run python examples\niscope\niscope_ex_fetch_forever\niscope_ex_fetch_forever.py ``` diff --git a/examples/niscope/nicope_ex_fetch_forever/niscope_ex_fetch_forever.py b/examples/niscope/niscope_ex_fetch_forever/niscope_ex_fetch_forever.py similarity index 100% rename from examples/niscope/nicope_ex_fetch_forever/niscope_ex_fetch_forever.py rename to examples/niscope/niscope_ex_fetch_forever/niscope_ex_fetch_forever.py diff --git a/examples/niscope/nicope_ex_fetch_forever/niscope_ex_fetch_forever_panel.py b/examples/niscope/niscope_ex_fetch_forever/niscope_ex_fetch_forever_panel.py similarity index 100% rename from examples/niscope/nicope_ex_fetch_forever/niscope_ex_fetch_forever_panel.py rename to examples/niscope/niscope_ex_fetch_forever/niscope_ex_fetch_forever_panel.py