Skip to content

youkogawa GS200 range error #8168

@JluSundeli

Description

@JluSundeli

yokogawa GS200 has a range description CMD as 10V,However when the range is set to 10V,the actually range is 0-12v

in Yokogawa_GS200.py

from line 160~165 maybe change to this to fix this bug

        # If we are still out of range, raise a value error
        if (abs(output_level) > abs(self_range)*1.2) or (abs(output_level)>32):
            raise ValueError(
                "Desired output level not in range"
                f" [-{self_range:.3}, {self_range:.3}]"
            )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions