4 Commits

9 changed files with 2907 additions and 3 deletions

View File

@ -0,0 +1,107 @@
name: Bug report
about: Report a reproducible bug in the SDG2042X GUI
title: "[Bug]: "
labels:
- kind/bug
- state/confirmed
body:
- type: markdown
attributes:
value: |
Please fill this in properly. Instrument-facing bugs are annoying enough already.
- type: dropdown
id: version
attributes:
label: Affected version
description: Select the version where you saw the problem.
options:
- v0.1
- v0.2
- git / local working copy
validations:
required: true
- type: dropdown
id: area
attributes:
label: Area
description: Pick the part of the application that looks most affected.
options:
- transport
- gui-basic
- arb
- presets
- config
- screenshot
- scpi-cli
- burst
- sweep
validations:
required: true
- type: dropdown
id: severity
attributes:
label: Severity
options:
- high
- medium
- low
validations:
required: true
- type: textarea
id: summary
attributes:
label: What happened?
description: Describe the bug and what you expected instead.
placeholder: The application did X, but I expected Y.
validations:
required: true
- type: textarea
id: steps
attributes:
label: Steps to reproduce
placeholder: |
1. Connect to instrument
2. Open ARB tab
3. Download waveform
4. UI freezes
validations:
required: true
- type: input
id: instrument
attributes:
label: Instrument model / firmware
placeholder: e.g. SDG2042X, firmware x.y.z
validations:
required: false
- type: input
id: environment
attributes:
label: Host environment
placeholder: e.g. Ubuntu 24.04, Python 3.12, PyQt5
validations:
required: false
- type: textarea
id: logs
attributes:
label: Error text / SCPI response / traceback
placeholder: Paste relevant log output here
validations:
required: false
- type: checkboxes
id: checks
attributes:
label: Checks
options:
- label: I tested this more than once
required: false
- label: I checked whether this is already reported
required: true

View File

@ -0,0 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: Project page
url: https://togo-lab.io/
about: Project blog and notes
- name: Repository
url: https://gitea.togo-lab.io/tgohle/0003-SDG2042X-PyQt-GUI-for-Linux
about: Source code and releases

View File

@ -0,0 +1,54 @@
name: Enhancement
about: Suggest a useful improvement without calling it a bug
title: "[Enhancement]: "
labels:
- kind/enhancement
- state/confirmed
body:
- type: markdown
attributes:
value: |
Keep this practical. The goal is less friction, more reliability, or a clearer workflow.
- type: dropdown
id: area
attributes:
label: Area
options:
- transport
- gui-basic
- arb
- presets
- config
- screenshot
- scpi-cli
- burst
- sweep
- packaging
- documentation
validations:
required: true
- type: textarea
id: problem
attributes:
label: Problem to solve
placeholder: What practical annoyance are you trying to remove?
validations:
required: true
- type: textarea
id: proposal
attributes:
label: Proposed change
placeholder: Describe the change you want.
validations:
required: true
- type: textarea
id: benefit
attributes:
label: Expected benefit
placeholder: Reliability, speed, clarity, less UI freeze, fewer SCPI mistakes, etc.
validations:
required: true

View File

@ -0,0 +1,69 @@
name: Regression
about: Something that worked before and is now broken
title: "[Regression]: "
labels:
- kind/bug
- state/regression
- severity/high
body:
- type: markdown
attributes:
value: |
Use this when behaviour changed between versions or after a patch.
- type: input
id: last-good
attributes:
label: Last known good version
placeholder: e.g. v0.1
validations:
required: true
- type: input
id: first-bad
attributes:
label: First known bad version
placeholder: e.g. v0.2
validations:
required: true
- type: dropdown
id: area
attributes:
label: Area
options:
- transport
- gui-basic
- arb
- presets
- config
- screenshot
- scpi-cli
- burst
- sweep
validations:
required: true
- type: textarea
id: repro
attributes:
label: Reproduction
placeholder: Describe the exact steps that still worked before and now fail.
validations:
required: true
- type: textarea
id: impact
attributes:
label: Impact
placeholder: What does this break in normal use?
validations:
required: true
- type: textarea
id: logs
attributes:
label: Error text / SCPI response / traceback
placeholder: Paste relevant evidence here
validations:
required: false

1361
script/SDG2042X_V0.2.py Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
# SDG2042X presets # SDG2042X presets
SLOT1_NAME=Sine 1kHz SLOT1_NAME=
SLOT1_BSWV=C1:BSWV WVTP,SINE,FRQ,1000HZ,PERI,0.001S,AMP,3V,AMPVRMS,1.0605Vrms,AMPDBM,13.5205dBm,MAX_OUTPUT_AMP,20V,OFST,0V,HLEV,1.5V,LLEV,-1.5V,PHSE,0 SLOT1_BSWV=
SLOT1_OUTP=ON SLOT1_OUTP=
SLOT2_NAME= SLOT2_NAME=
SLOT2_BSWV= SLOT2_BSWV=
SLOT2_OUTP= SLOT2_OUTP=

1274
script/archive/SDG2042X_V0.1.py Executable file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,31 @@
# SDG2042X presets
SLOT1_NAME=
SLOT1_BSWV=
SLOT1_OUTP=
SLOT2_NAME=
SLOT2_BSWV=
SLOT2_OUTP=
SLOT3_NAME=
SLOT3_BSWV=
SLOT3_OUTP=
SLOT4_NAME=
SLOT4_BSWV=
SLOT4_OUTP=
SLOT5_NAME=
SLOT5_BSWV=
SLOT5_OUTP=
SLOT6_NAME=
SLOT6_BSWV=
SLOT6_OUTP=
SLOT7_NAME=
SLOT7_BSWV=
SLOT7_OUTP=
SLOT8_NAME=
SLOT8_BSWV=
SLOT8_OUTP=
SLOT9_NAME=
SLOT9_BSWV=
SLOT9_OUTP=
SLOT10_NAME=
SLOT10_BSWV=
SLOT10_OUTP=