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

Keithley 2400 #319

Closed
jskaggs99 opened this issue Sep 18, 2020 · 6 comments
Closed

Keithley 2400 #319

jskaggs99 opened this issue Sep 18, 2020 · 6 comments

Comments

@jskaggs99
Copy link

Can we include high impedance settings in the Keithley 2400 function library?

def set_high_impedance(self):
        self.inst.write(":OUTP:SMOD HIMP")
        print('Set high impedance mode')

Something like this does not exist in the documentation currently, and would help out a lot of people. Thank you!

@paulgoulain
Copy link
Contributor

Hi, I'm preparing a PR for some functionalities that are currently not implemented in the Keithley 2400 driver. I can add this function.

Paul

@jskaggs99
Copy link
Author

That's awesome. Thank you so much

@paulgoulain
Copy link
Contributor

Looking at the manual, I think I would implement it using the Instrument.control function. It would look like that :

    output_off_state = Instrument.control(
        ":OUTP:SMOD?", ":OUTP:SMOD %s",
        """ Some explanations """,
        validator=strict_discrete_set,
        values=['HIMP', 'NORM', 'ZERO', 'GUAR'],
        map_values=False)

Does it look ok for you ?

Paul

@jskaggs99
Copy link
Author

That looks great Paul

@paulgoulain
Copy link
Contributor

Great, I'll add it to my futur PR.

@bilderbuchi
Copy link
Member

Closed by #326, thank you!

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

No branches or pull requests

3 participants