Compare commits
3 Commits
20251025
...
3abd6580fe
| Author | SHA1 | Date | |
|---|---|---|---|
| 3abd6580fe | |||
| 47367b24aa | |||
| 5050a82e97 |
107
.gitea/ISSUE_TEMPLATE/bug_report.yaml
Normal file
107
.gitea/ISSUE_TEMPLATE/bug_report.yaml
Normal 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
|
||||||
8
.gitea/ISSUE_TEMPLATE/config.yml
Normal file
8
.gitea/ISSUE_TEMPLATE/config.yml
Normal 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
|
||||||
54
.gitea/ISSUE_TEMPLATE/enhancement.yaml
Normal file
54
.gitea/ISSUE_TEMPLATE/enhancement.yaml
Normal 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
|
||||||
69
.gitea/ISSUE_TEMPLATE/regression.yaml
Normal file
69
.gitea/ISSUE_TEMPLATE/regression.yaml
Normal 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
1361
script/SDG2042X_V0.2.py
Normal file
File diff suppressed because it is too large
Load Diff
31
script/SDG2042x.dat
Normal file
31
script/SDG2042x.dat
Normal 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=
|
||||||
@ -23,7 +23,7 @@ import time
|
|||||||
from PyQt5 import QtWidgets, QtCore, QtGui
|
from PyQt5 import QtWidgets, QtCore, QtGui
|
||||||
|
|
||||||
# -------------------- Constants --------------------
|
# -------------------- Constants --------------------
|
||||||
Window_Name = "Linux GUI SDG2042X – v16"
|
Window_Name = "-= WaveForm Generator [SDG2042X] GUI by ToGo-Lab =-"
|
||||||
DEFAULT_PORT = 5025
|
DEFAULT_PORT = 5025
|
||||||
SOCKET_TIMEOUT = 4.0
|
SOCKET_TIMEOUT = 4.0
|
||||||
SIGLENT_WAVES = ["SINE", "SQUARE", "RAMP", "PULSE", "NOISE", "ARB", "DC"]
|
SIGLENT_WAVES = ["SINE", "SQUARE", "RAMP", "PULSE", "NOISE", "ARB", "DC"]
|
||||||
31
script/archive/SDG2042x.dat
Normal file
31
script/archive/SDG2042x.dat
Normal 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=
|
||||||
Reference in New Issue
Block a user