msl.equipment.exceptions module

Exceptions used by MSL-Equipment.

exception msl.equipment.exceptions.MSLConnectionError[source]

Bases: OSError

Base class for all MSL Connection exceptions.

exception msl.equipment.exceptions.MSLTimeoutError[source]

Bases: MSLConnectionError

A timeout exception for I/O operations.

exception msl.equipment.exceptions.ResourceClassNotFound(record)[source]

Bases: MSLConnectionError

Exception if a resource class cannot be found to connect to the equipment.

exception msl.equipment.exceptions.AimTTiError[source]

Bases: MSLConnectionError

Exception for equipment from Aim and Thurlby Thandar Instruments.

exception msl.equipment.exceptions.AvantesError[source]

Bases: MSLConnectionError

Exception for equipment from Avantes.

exception msl.equipment.exceptions.BenthamError[source]

Bases: MSLConnectionError

Exception for equipment from Bentham.

exception msl.equipment.exceptions.CMIError[source]

Bases: MSLConnectionError

Exception for equipment from the Czech Metrology Institute.

exception msl.equipment.exceptions.DataRayError[source]

Bases: MSLConnectionError

Exception for equipment from DataRay Inc.

exception msl.equipment.exceptions.EnergetiqError[source]

Bases: MSLConnectionError

Exception for equipment from Energetiq.

exception msl.equipment.exceptions.GPIBError(message: str, *, name: str = '', ibsta: int = -1, iberr: int = -1)[source]

Bases: MSLConnectionError

Exception for equipment that use the GPIB interface.

Parameters:
  • message – The error message.

  • name – The GPIB function name.

  • ibsta – The status value.

  • iberr – The error code.

exception msl.equipment.exceptions.GreisingerError[source]

Bases: MSLConnectionError

Exception for equipment from Greisinger.

exception msl.equipment.exceptions.MKSInstrumentsError[source]

Bases: MSLConnectionError

Exception for equipment from MKS Instruments.

exception msl.equipment.exceptions.NKTError[source]

Bases: MSLConnectionError

Exception for equipment from NKT Photonics.

exception msl.equipment.exceptions.OmegaError[source]

Bases: MSLConnectionError

Exception for equipment from OMEGA.

exception msl.equipment.exceptions.OptoSigmaError[source]

Bases: MSLConnectionError

Exception for equipment from OptoSigma.

exception msl.equipment.exceptions.OptronicLaboratoriesError[source]

Bases: MSLConnectionError

Exception for equipment from Optronic Laboratories.

exception msl.equipment.exceptions.PicoTechError[source]

Bases: MSLConnectionError

Exception for equipment from Pico Technology.

exception msl.equipment.exceptions.PrincetonInstrumentsError[source]

Bases: MSLConnectionError

Exception for equipment from Princeton Instruments.

exception msl.equipment.exceptions.RaicolCrystalsError[source]

Bases: MSLConnectionError

Exception for equipment from Raicol Crystals.

exception msl.equipment.exceptions.ThorlabsError[source]

Bases: MSLConnectionError

Exception for equipment from Thorlabs.