From 9c796fdd446849e925db611ce22d2b83c4bf9a11 Mon Sep 17 00:00:00 2001 From: Nicholas Felt Date: Mon, 6 Nov 2023 11:08:51 -0800 Subject: [PATCH 1/2] fix: Update a few comments to have better wording. --- examples/scopes/tekscope/get_acquisition_data.py | 6 +++--- .../tekscope_70k/dpojet/adding_dpojet_measurements.py | 5 ++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/examples/scopes/tekscope/get_acquisition_data.py b/examples/scopes/tekscope/get_acquisition_data.py index 9bd6f32e..e91ce6d5 100644 --- a/examples/scopes/tekscope/get_acquisition_data.py +++ b/examples/scopes/tekscope/get_acquisition_data.py @@ -14,7 +14,7 @@ # Creating Scope driver object by providing ip address. scope: MSO6B = device_manager.add_scope("127.0.0.1") # pyright: ignore[reportGeneralTypeIssues] - # Make channel 1 ON + # Turn on channel 1 scope.commands.display.waveview1.ch[1].state.write("ON") # Set channel 1 vertical scale to 10mV @@ -26,7 +26,7 @@ # Set horizontal position to 100 scope.commands.horizontal.position.write(10) - # Set trigger type to Edge + # Set trigger type to Edge scope.commands.trigger.a.type.write("EDGE") # Acquisition setup @@ -40,7 +40,7 @@ scope.commands.measurement.meas[1].source.write("CH1") scope.commands.measurement.meas[2].source.write("CH1") - # Get the measurements values + # Get the measurement values scope.commands.acquire.state.write("ON") if int(scope.commands.opc.query()) == 1: diff --git a/examples/scopes/tekscope_70k/dpojet/adding_dpojet_measurements.py b/examples/scopes/tekscope_70k/dpojet/adding_dpojet_measurements.py index 6342dd61..75dca12b 100644 --- a/examples/scopes/tekscope_70k/dpojet/adding_dpojet_measurements.py +++ b/examples/scopes/tekscope_70k/dpojet/adding_dpojet_measurements.py @@ -1,5 +1,4 @@ """An example of adding dpojet measurements and plots.""" - from tm_devices import DeviceManager from tm_devices.drivers import MSO70KDX from tm_devices.helpers import PYVISA_PY_BACKEND @@ -24,13 +23,13 @@ # CLear all measurements scope.commands.dpojet.clearallmeas.write() - # Add few DPOJET measurements + # Add a few DPOJET measurements scope.commands.dpojet.addmeas.write("Period") scope.commands.dpojet.addmeas.write("Pduty") scope.commands.dpojet.addmeas.write("RiseTime") scope.commands.dpojet.addmeas.write("acrms") - # Add few DPOJET plots for these measurements + # Add a few DPOJET plots for the measurements scope.commands.dpojet.addplot.write("spectrum, MEAS1") scope.commands.dpojet.addplot.write("dataarray, MEAS2") scope.commands.dpojet.addplot.write("TimeTrend, MEAS3") From 9cdcf5634284564e75a4218f1bfb8a20150c8a7d Mon Sep 17 00:00:00 2001 From: Nicholas Felt Date: Mon, 6 Nov 2023 12:05:33 -0800 Subject: [PATCH 2/2] ci: Update the dependabot config to group all package updates into a single PR. --- .github/dependabot.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 65980731..9b86a0bd 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -4,7 +4,10 @@ updates: - package-ecosystem: github-actions directory: / schedule: - interval: monthly + interval: weekly + groups: + gh-actions-dependencies: + patterns: ['*'] labels: [gh-actions, dependencies] commit-message: prefix: gh-actions @@ -12,7 +15,10 @@ updates: - package-ecosystem: pip directory: / schedule: - interval: monthly + interval: weekly + groups: + python-dependencies: + patterns: ['*'] labels: [python, dependencies] commit-message: prefix: python-deps