API Reference v10.1.0

CommandFailedExceptionclass

Module: ZaberMotionExceptions

Thrown when a device rejects a command.

To use this type, add import ZaberMotionExceptions to the top of your source code.

Parent Class

MotionLibException

Index

pProperties
mMethods

Properties

p

details

readonlyinherited
commandFailedException.details
CommandFailedExceptionData Additional data for CommandFailedException.
p

message

readonlyinherited
commandFailedException.message
String Error message of the exception.

Methods

m

toString()

inherited
commandFailedException.toString()
Returns a string that represents the exception.
Return Value
String 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.