Skip to content

Stop analog S-Meter pulsing when PGXL is in OPERATE (#2927). Principle II.#3172

Merged
aethersdr-agent[bot] merged 1 commit into
mainfrom
aetherclaude/issue-2927
May 25, 2026
Merged

Stop analog S-Meter pulsing when PGXL is in OPERATE (#2927). Principle II.#3172
aethersdr-agent[bot] merged 1 commit into
mainfrom
aetherclaude/issue-2927

Conversation

@aethersdr-agent

@aethersdr-agent aethersdr-agent Bot commented May 25, 2026

Copy link
Copy Markdown
Contributor

Summary

Fixes #2927 #2393

What was changed

Stop analog S-Meter pulsing when PGXL is in OPERATE (#2927). Principle II.

Files modified

  • src/gui/MainWindow.cpp
 src/gui/MainWindow.cpp | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

Generated by AetherClaude (automated agent for AetherSDR)


🤖 aethersdr-agent · cost: $1.9570 · model: claude-opus-4-7

…e II.

Three writers were racing into SMeterWidget::setTxMeters() whenever the
PGXL was in OPERATE:

1. MainWindow.cpp:3455 — unconditional connect from MeterModel::
   txMetersChanged (exciter FWDPWR, ~100 W).
2. MainWindow.cpp:3654 — amp handler, gated on ampOperate(), ~1500 W.
3. MainWindow.cpp:3541 — direct PGXL TCP peakfwd path, gated on
   ampOperate().

Writers 2 and 3 already respected "amp owns the meter in OPERATE";
writer 1 did not, so the analog meter alternated exciter -> amp ->
exciter on whatever ticks happened to land — the user-visible pulsing.
The PGXL bar graph in AmpApplet was steady because it has a single
writer (ampMetersChanged).

Gate the exciter connect on !ampOperate() so STANDBY still feeds the
meter from the exciter and OPERATE has a single deterministic writer
(the amp path). Display-side only — no protocol or model changes.
@aethersdr-agent aethersdr-agent Bot requested a review from a team as a code owner May 25, 2026 23:42
@aethersdr-agent aethersdr-agent Bot enabled auto-merge (squash) May 25, 2026 23:42

@jensenpat jensenpat left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

meter fix w/ amp active

@aethersdr-agent aethersdr-agent Bot merged commit d265783 into main May 25, 2026
4 checks passed
@aethersdr-agent aethersdr-agent Bot deleted the aetherclaude/issue-2927 branch May 25, 2026 23:56
G6PWY-Chris pushed a commit to G6PWY-Chris/AetherSDR that referenced this pull request Jun 22, 2026
… Principle II. (aethersdr#3172)

## Summary

Fixes aethersdr#2927 aethersdr#2393

### What was changed

Stop analog S-Meter pulsing when PGXL is in OPERATE (aethersdr#2927). Principle
II.

### Files modified

- `src/gui/MainWindow.cpp`

```
 src/gui/MainWindow.cpp | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)
```

---
Generated by AetherClaude (automated agent for AetherSDR)

---
<sub>🤖 aethersdr-agent · cost: $1.9570 · model: claude-opus-4-7</sub>

Co-authored-by: aethersdr-agent[bot] <273844287+aethersdr-agent[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Analog Power meter pulsing between power levels when using PGXL

1 participant