Skip to content

Conversation

@JennySmith888
Copy link
Contributor

Add set ability for Vdac_*
Was it correct to return an int: return '%d'%(intValue)
and not a 2-byte hex? return '%04x'%(intValue)
The GUI field shows hex:
image

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR enables setting slow DAC voltage from the client in a human-readable format by adding setter functionality for Vdac variables. Key changes include:

  • Adding linkedSet support to pr.LinkVariable for Vdac_0 to Vdac_4.
  • Introducing a new static method, revConvtFloat, for converting human-readable values to DAC register values.
  • Modifying the conversion format in the revConvtFloat method.

@ruck314 ruck314 requested review from ddoering and king-pietro April 18, 2025 23:09
@ruck314 ruck314 changed the base branch from main to pre-release April 18, 2025 23:09
@ruck314
Copy link
Contributor

ruck314 commented Apr 18, 2025

@JennySmith888 Reminder that new feature request for FW/SW get directed to pre-release (not main). I have updated this PR direction for you to be pre-release

@JennySmith888 JennySmith888 merged commit 9bd2c1b into pre-release Apr 21, 2025
3 checks passed
@JennySmith888 JennySmith888 deleted the jpsmith/make-slow-dac-voltage-writable-from-client branch April 21, 2025 20:14
@ruck314 ruck314 mentioned this pull request Apr 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants