Generic Instrument Types Mixins

You can use these Mixins as additional parent classes for your instrument. For more informations, see Common instrument types.

class pymeasure.instruments.generic_types.SCPIMixin(*args, **kwargs)

Mixin class for SCPI instruments with the default implementation of base SCPI commands.

check_errors()

Read all errors from the instrument.

Returns:

list[list[Union[float, str]]] – List of error entries.

property next_error: Any

Get the next error in the queue. If you want to read and log all errors, use check_errors() instead.