API Reference v9.2.0
Transportclass
Module: zaber_motion.ascii
Connection transport backend allowing to carry Zaber ASCII protocol over arbitrary protocols. Can only be used with a single connection.
The following example illustrates how you can obtain an instance of this type:
from zaber_motion.ascii import Transport
transport = Transport.open()Related Guides:
Properties
p
Methods
m
m
s
Transport.open()Creates new instance allowing to read/write messages from/to a single connection.
Return Value
Transport New instance of transport.m
transport.read()Reads a single message generated by the connection. The message is a request for the device. Read should be called continuously in a loop to ensure all generated messages are processed. Subsequent read call confirms that previous message was delivered to the device.
Return Value
str Message generated by the connection.