API Reference v9.2.0
PvtBufferclass
Module: zaber_motion.ascii
Represents a PVT buffer with this number on a device. A PVT buffer is a place to store a queue of PVT actions.
The following example illustrates how you can obtain an instance of this type:
from zaber_motion.ascii import Connection
connection = Connection.open_serial_port('COM3')
device = connection.get_device(1)
pvt = device.pvt
pvt_buffer = pvt.get_buffer(1)Related Guides:
Properties
p
Methods
m
m
m
pvt_buffer.retrieve_sequence_data(axes = None, time_units = Units.NATIVE)Gets the buffer contents as an array of PvtSequenceItem objects.
Arguments
| Name | Type | Description |
|---|---|---|
| axes | Optional[List[PvtBufferAxisUnits]] | Per-axis unit conversion specification. The length must match the number of axes in the buffer. When omitted, position and velocity values are returned in native units. |
| time_units | UnitsAndLiterals | Units to convert time values to. Defaults to native. |
Return Value
List[PvtSequenceItem] The PVT data loaded from the buffer.