Skip to content

Fix amplitude bounds never applied in the actuator - #7

Merged
seb5g merged 1 commit into
mainfrom
fix/amplitude-bounds
Nov 23, 2026
Merged

seb5g merged 1 commit into
mainfrom
fix/amplitude-bounds

Conversation

@seb5g

@seb5g seb5g commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

In DAQ_Move_RedpitayaSCPI.commit_settings, the amplitude branch compared the bound method param.value with 'amplitude' instead of calling it. The condition was always false, so selecting the amplitude axis never set the bounds to 0 to 1 and they stayed at the frequency ones (1e-6 to 50e6).

The fix calls param.value(), as the frequency branch just above already does.

Not run on hardware.


Generated by Claude Code

param.value was compared to a string without being called, so the
amplitude branch was dead and the bounds stayed at the frequency ones.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RKuN81tBxMB6iaf8J6KLJL
@seb5g
seb5g merged commit 4a044dd into main Nov 23, 2026
7 checks passed
@seb5g
seb5g deleted the fix/amplitude-bounds branch November 23, 2026 13:33
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.

2 participants