Skip to content

inst.finalize() leaves device in remote mode (using "with inst ...") #61

Open

Description

@rwalshEE

(Is this a pull request?) Although I don't know if this something that can or should be fixed, when closing/disconnecting normally from a multimeter (specifically a Keithley 2100 DMM), i.e. not due to an error, the instrument is left in remote mode; when I rerun the script without manually placing the DMM back in "local" mode, it errors "-410 Query INTERRUPTED". If I manually return it to local made (by pressing a button on the front panel), repeated script executions work just the same. Is there a way to check if the instrument requires returning to local mode, and if so, sending the command before shutting everything down? If it can't be checked, is there an easy boolean that would be settable to enable this?

Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions