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

Added Ethernet-exclusive connection functionality to Scpi_Psu Agent #509

Closed
wants to merge 2 commits into from

Conversation

raymondllata
Copy link

Support for Issue Request: "Support Keithley 2260B series PSU #348"; Added new driver for Ethernet connections using socket library, also added logic-gates to initialization process, and print lines for debugging ease.

Description

Added dual functionality to SCPI PSU Agent. If the agent is not given a "--gpib-slot" command in OCS's default.yaml file, the agent will interact via a LAN Interface instead of the GPIB/Prologix Interface. This means that if the Power Supply is plugged in via Ethernet, the "--gpib-slot" argument will need to be removed for the changes to take place. The LAN driver innately uses port 5025 as the default port (standard for Keysight instruments), but functionality to take in a port argument from default.yaml could be added (if it is convenient I would love to work on the issue myself).

Motivation and Context

This change solves open issue: Support Keithley 2260B series PSU #348

How Has This Been Tested?

Tested with a Keysight E36312A, only interfacing with a LAN cable. Removed argument from default.yaml and successfully connect and interfaced with the Power Supply.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

raymondllata and others added 2 commits August 16, 2023 12:11
Support for Issue Request: "Support Keithley 2260B series PSU simonsobs#348";
Added new driver for Ethernet connections using socket library, also
added logic-gates to initialization process, and print lines for
debugging ease.
Copy link
Member

@BrianJKoopman BrianJKoopman left a comment

Choose a reason for hiding this comment

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

Hi @raymondllata -- apologies that this PR went unaddressed -- we were in the process of deploying our telescopes in the field and things were a bit hectic.

I'm not sure if you still have time to work on this, but also there is a very similar effort to implement Ethernet comms with the PSU agent in #715.

Let me know how you'd like to move forward, and let me offer a much belated thanks for your efforts here!

@BrianJKoopman
Copy link
Member

Close as superseded by #715. Thanks again for the PR, and apologies it didn't get looked at sooner.

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.

2 participants