API Reference v10.3.0
AllAxesclass
Module: zaber_motion.ascii
Represents all axes of motion associated with a device.
The following example illustrates how you can obtain an instance of this type:
Python
from zaber_motion.ascii import Connection
connection = Connection.open_serial_port("COM3")
device = connection.get_device(1)
all_axes = device.all_axesIndex
pProperties
Properties
p
Methods
m
m
all_axes.driver_enable(timeout = 10)Attempts to enable all axes drivers (where applicable) repeatedly for the specified timeout. If the driver is already enabled, the driver remains enabled.
Arguments
| Name | Type | Description |
|---|---|---|
| timeout | float | Timeout in seconds. Specify 0 to attempt to enable the driver once. |
m
all_axes.home(wait_until_idle = True)Homes all axes. Axes return to their homing positions.
Arguments
| Name | Type | Description |
|---|---|---|
| wait_until_idle | bool | Determines whether the function waits for the movement to finish before returning. When false, you must call WaitUntilIdle afterwards to detect and handle any errors that occur during the movement. |
m
m
m
m
all_axes.stop(wait_until_idle = True)Stops ongoing axes movement. Decelerates until zero speed.
Arguments
| Name | Type | Description |
|---|---|---|
| wait_until_idle | bool | Determines whether the function waits for the movement to finish before returning. When false, you must call WaitUntilIdle afterwards to detect and handle any errors that occur during the movement. |
m