API Reference v9.2.0
Pvtclass
Module: ZaberMotionAscii
Class providing access to device PVT (Position-Velocity-Time) features.
Requires at least Firmware 7.33.
The following example illustrates how you can obtain an instance of this type:
import ZaberMotionAscii
let connection = try await Connection.openSerialPort(portName: "COM3")
let device = try connection.getDevice(deviceAddress: 1)
let pvt = device.pvtProperties
p
Methods
m
try pvt.getBuffer(pvtBufferNumber)Gets a PvtBuffer class instance which is a handle for a PVT buffer on the device.
Arguments
| Name | Type | Description |
|---|---|---|
| pvtBufferNumber | Int | The ID number of the PVT buffer to control. PVT buffer numbers start at one. |
Return Value
PvtBuffer PvtBuffer instance.m
try pvt.getSequence(pvtId)Gets a PvtSequence class instance which allows you to control a particular PVT sequence on the device.
Arguments
| Name | Type | Description |
|---|---|---|
| pvtId | Int | The ID of the PVT sequence to control. The IDs start at 1. |
Return Value
PvtSequence PvtSequence instance.