Skip to content

read_raw() default argument -1 causes error #1

@bertgoz

Description

@bertgoz

Using the read_raw function with the default argument (num_bytes=-1) causes the following error:

ValueError: Array length must be >= 0, not -1

To fix this the default argument of pyvisa read() should be left empty

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions