3 Commits

Author SHA1 Message Date
3abd6580fe Apply first v0.2 bugfix round: Refs #1, Refs #2, Refs #6, Refs #12 2026-04-17 13:52:31 +02:00
47367b24aa Add Gitea issue templates 2026-04-17 13:08:58 +02:00
5050a82e97 small fixes 2025-10-25 15:43:52 +02:00
8 changed files with 1662 additions and 1 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

31
script/SDG2042x.dat Normal file
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=

View File

@ -23,7 +23,7 @@ import time
from PyQt5 import QtWidgets, QtCore, QtGui
# -------------------- Constants --------------------
Window_Name = "Linux GUI SDG2042X v16"
Window_Name = "-= WaveForm Generator [SDG2042X] GUI by ToGo-Lab =-"
DEFAULT_PORT = 5025
SOCKET_TIMEOUT = 4.0
SIGLENT_WAVES = ["SINE", "SQUARE", "RAMP", "PULSE", "NOISE", "ARB", "DC"]

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=