pnpq.errors module#
- exception pnpq.errors.DeviceDisconnectedError#
Bases:
ExceptionException raised for the device is disconnected
- exception pnpq.errors.DevicePortNotFoundError#
Bases:
ExceptionRasied when a port not found
- exception pnpq.errors.InvalidStateException#
Bases:
ExceptionThrown when a method is called on an object, but the object is not in an appropriate state for that function to be called.
For example, if an object processes streams of data, and those streams have already been closed, it should not be possible to re-open them.
- exception pnpq.errors.OdlGetPosNotCompleted#
Bases:
ExceptionRaised when no response has been received for GetPos command
- exception pnpq.errors.OdlHomeNotCompleted#
Bases:
ExceptionRaised when Homed response has not been received from ODL device
- exception pnpq.errors.OdlMoveNotCompleted#
Bases:
ExceptionRaised when Move complete response has not been received from ODL device
- exception pnpq.errors.OdlMoveOutofRangeError#
Bases:
ExceptionRaised when the requesed move is our of range of the odl device
- exception pnpq.errors.WavePlateCustomRotateError#
Bases:
ExceptionRaised when custom rotation failed
- exception pnpq.errors.WavePlateGetPosNotCompleted#
Bases:
ExceptionRaised when GetPos response has not been received from Waveplate Rotator Device
- exception pnpq.errors.WavePlateHomedNotCompleted#
Bases:
ExceptionRaised when a Homed response has not been received from WavePlate Rotator device
- exception pnpq.errors.WavePlateMoveNotCompleted#
Bases:
ExceptionRaised when Moved Complete response has not been receieved from WavePlate Rotator device
- exception pnpq.errors.WaveplateEnableChannelError#
Bases:
ExceptionRaised when no response has been received from Enable Channel Command
- exception pnpq.errors.WaveplateInvalidDegreeError#
Bases:
ExceptionRaised when an invalid degree specified. degree must be in a range 0-360
- exception pnpq.errors.WaveplateInvalidMotorChannelError#
Bases:
ExceptionRaised when trying to access an invalid motor channel number. check max_channel
- exception pnpq.errors.WaveplateInvalidStepsError#
Bases:
ExceptionRaised when a specified step value is more than the device’s maximum steps