Skip to content

Grace mode for unknown model #62

@eugenkleinschmidt

Description

@eugenkleinschmidt

Would it be reasonable to introduce a grace mode when the hardware model is unknown, allowing the system to silently ignore settings that exceed outer limits?

try:
self._model = PPS_MODELS[(self._vmax, self._imax)]
except KeyError:
self._serial.close()
raise RuntimeError(
"unknown Voltcraft PPS model with max V: {}, I: {}".format(
self._vmax, self._imax
)
)

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