Skip to content

Keysight Oscilloscope VISA driver semantic error #92

@SamWolski

Description

@SamWolski

One of our students has discovered what appears to be semantic error in the Keysight_6000X_Scope.py code while attempting to run the driver.

Lines 35–37 refer to sData, which is not actually initialised until line 39. I managed to fix the code semantics by deducing that what was intended was to refer to sHead0 (which presumably contains metadata of sorts).

That sorts out the semantic errors; however, I am not going to submit a PR just yet as we are still working through some deeper issues with timeouts when reading data through the driver in line 39 (granted, we are using a 2000 Series and not a 6000X, but I would not expect the fundamental functions to be very different). These issues may partially be due to the fact that there may be some remnants of the LeCroy scope driver that this driver was based on (as evidenced by the unchanged driver class docstring!).

Will update once we have more info.

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