navigate.model.devices.stage.newport.NewportESP302API
- class navigate.model.devices.stage.newport.NewportESP302API(host, port: int = 5001, timeout: int = 10, logger_func=<function info>)
Bases:
object
Handles low-level Telnet communication with the Newport ESP302 controller. This is analogous to the TigerController or MP285 class.
- __init__(host, port: int = 5001, timeout: int = 10, logger_func=<function info>)
Methods
__init__
(host[, port, timeout, logger_func])Queries the controller for the latest error and raises if one exists.
connect
()disconnect
()get_position
(axis)home_axis
(axis[, wait])is_motion_done
(axis)motor_on
(axis)move_absolute
(axis, position[, wait])stop_motion
(axis)wait_for_motion_to_stop
(axis[, timeout_sec])- check_controller_error()
Queries the controller for the latest error and raises if one exists.