API Reference v10.1.0

CommandFailedExceptionclass

Module: zaber_motion.exceptions

Thrown when a device rejects a command.

To use this type, add from zaber_motion.exceptions import CommandFailedException to the top of your source code.

Parent Class

MotionLibException

Index

pProperties
mMethods

Properties

p

details

readonlyinherited
command_failed_exception.details
CommandFailedExceptionData Additional data for CommandFailedException.
p

message

readonlyinherited
command_failed_exception.message
str Error message of the exception.

Methods

m

__repr__()

inherited
command_failed_exception.__repr__()
Returns a string that represents the exception.
Return Value
str A string that represents the exception.

Subclasses of CommandFailedException

ExceptionDescription
BadCommandExceptionThrown when a device receives an invalid command.
BadDataExceptionThrown when a parameter of a command is judged to be out of range by the receiving device.
DriverDisabledExceptionThrown when a device cannot carry out a movement command because the motor driver is disabled.
RemoteModeExceptionThrown when a command is rejected because the device is in EtherCAT Control (remote) mode. Change the device setting comm.ethercat.remote to 0 to switch to local control.