Skip to content

close() hanging if a Ctrl+C presseed ie. KeyboardInterrupt was raised #32

@raczben

Description

@raczben

The Instrument.close() method hanging (or throws a timeout exception) if ctrl+c was pressed during a read operation.
Some instrument commands consume time (eg.: saving/fetching screenshot of the oscilloscope). If I press Ctrl+C during an ask() or read(), the close()method cannot finish properly: it throws timeout error after the timeout time has been elapsed, which timeout must be big in some cases (because of the time consuming commands.)

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