Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dressler Cesar 1312 RF generator #426

Merged
merged 12 commits into from
Nov 4, 2024

Conversation

trappitsch
Copy link
Contributor

Here's support for the Dressler Cesar 1312 RF generator. An older instrument, but works great via RS232. The most important commands are implemented and especially the package sending/receiving are working very well. Functionality that is covered:

  • Select control mode
  • Select regulation mode
  • Set/get the output power
  • Read back reflected power
  • Turn on/off RF and read status

Test coverage included, added to docs.

Curious to hear your opinion @scasagrande. There is no dedicated RF generator, so inheriting from Instruments. Might be something to think about...

@scasagrande
Copy link
Contributor

all seems reasonable to me

is the test failure something py38 specific?

Copy link

codecov bot commented Nov 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.13%. Comparing base (c406808) to head (aa40c0b).
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #426      +/-   ##
==========================================
+ Coverage   98.61%   99.13%   +0.51%     
==========================================
  Files          89       90       +1     
  Lines        8962     9127     +165     
==========================================
+ Hits         8838     9048     +210     
+ Misses        124       79      -45     
Flag Coverage Δ
unittests 99.13% <100.00%> (+0.51%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@trappitsch
Copy link
Contributor Author

Was mostly 3.8 specific due to typing issue, plus one issue that failed in 3.9, should be fixed now. 3.8 is EOL, but that's a separate issue ;)

@scasagrande scasagrande merged commit 4441d8e into instrumentkit:main Nov 4, 2024
11 checks passed
@trappitsch trappitsch deleted the dressler_cesar_1312 branch November 4, 2024 21:44
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