API Reference v9.1.0

Toolsclass

Module: zaber_motion

Class providing various utility functions.

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

Methods

s

discover_tcp_devices()

async available
Tools.discover_tcp_devices(duration = 3000, interface_ip_address = None)
Discover Zaber devices shared over local network over TCP/IP.
Arguments
NameTypeDescription
durationintOptional time in ms to wait for mDNS discovery response (defaults to 3000).
interface_ip_addressOptional[str]Specify which network interface to use by IP address. If no value or an empty string is provided, mDNS query is sent to all compatible network interfaces.
Return Value
List[DeviceDiscoveryResult] Array of discovered devices.
s

get_message_router_pipe_path()

Tools.get_message_router_pipe_path()
Returns path of message router named pipe on Windows or file path of unix domain socket on UNIX.
Return Value
str Path of message router's named pipe or unix domain socket.
s

list_serial_ports()

async available
Tools.list_serial_ports()
Lists all serial ports on the computer.
Return Value
List[str] Array of serial port names.