API Reference v9.2.0

PvtIoclass

Module: ZaberMotionAscii

Class providing access to I/O for a PVT sequence.

To use this type, add import ZaberMotionAscii to the top of your source code.

Methods

m

cancelAllAnalogOutputsSchedule()

asyncthrows
try await pvtIo.cancelAllAnalogOutputsSchedule(channels = [])
Cancel all scheduled analog output actions. Requires at least Firmware 7.38.
Arguments
NameTypeDescription
channels[Bool]Optionally specify which channels to cancel. Array length must be empty or equal to the number of channels on device. Specifying "True" for a channel will cancel the scheduled analog output value for that channel.
m

cancelAllDigitalOutputsSchedule()

asyncthrows
try await pvtIo.cancelAllDigitalOutputsSchedule(channels = [])
Cancel all scheduled digital output actions. Requires at least Firmware 7.37.
Arguments
NameTypeDescription
channels[Bool]Optionally specify which channels to cancel. Array length must be empty or equal to the number of channels on device. Specifying "True" for a channel will cancel the scheduled digital output action for that channel.
m

cancelAnalogOutputSchedule()

asyncthrows
try await pvtIo.cancelAnalogOutputSchedule(channelNumber)
Cancels a scheduled analog output value. Requires at least Firmware 7.38.
Arguments
NameTypeDescription
channelNumberIntChannel number starting at 1.
m

cancelDigitalOutputSchedule()

asyncthrows
try await pvtIo.cancelDigitalOutputSchedule(channelNumber)
Cancels a scheduled digital output action. Requires at least Firmware 7.37.
Arguments
NameTypeDescription
channelNumberIntChannel number starting at 1.
m

setAllAnalogOutputs()

asyncthrows
try await pvtIo.setAllAnalogOutputs(values)
Sets values for all analog output channels.
Arguments
NameTypeDescription
values[Double]Voltage values to set the output channels to.
m

setAllAnalogOutputsSchedule()

asyncthrows
try await pvtIo.setAllAnalogOutputsSchedule(values, futureValues, delay, unit = Units.native)
Sets current and future values for all analog output channels. Requires at least Firmware 7.38.
Arguments
NameTypeDescription
values[Double]Voltage values to set the output channels to immediately.
futureValues[Double]Voltage values to set the output channels to in the future.
delayDoubleDelay between setting current values and setting future values.
unitUnitsUnits of time.
m

setAllDigitalOutputs()

asyncthrows
try await pvtIo.setAllDigitalOutputs(values)
Sets values for all digital output channels.
Arguments
NameTypeDescription
values[DigitalOutputAction]The type of action to perform on the channel.
m

setAllDigitalOutputsSchedule()

asyncthrows
try await pvtIo.setAllDigitalOutputsSchedule(values, futureValues, delay, unit = Units.native)
Sets current and future values for all digital output channels. Requires at least Firmware 7.37.
Arguments
NameTypeDescription
values[DigitalOutputAction]The type of actions to perform immediately on output channels.
futureValues[DigitalOutputAction]The type of actions to perform in the future on output channels.
delayDoubleDelay between setting current values and setting future values.
unitUnitsUnits of time.
m

setAnalogOutput()

asyncthrows
try await pvtIo.setAnalogOutput(channelNumber, value)
Sets value for the specified analog output channel.
Arguments
NameTypeDescription
channelNumberIntChannel number starting at 1.
valueDoubleValue to set the output channel voltage to.
m

setAnalogOutputSchedule()

asyncthrows
try await pvtIo.setAnalogOutputSchedule(channelNumber, value, futureValue, delay, unit = Units.native)
Sets current and future value for the specified analog output channel. Requires at least Firmware 7.38.
Arguments
NameTypeDescription
channelNumberIntChannel number starting at 1.
valueDoubleValue to set the output channel voltage to immediately.
futureValueDoubleValue to set the output channel voltage to in the future.
delayDoubleDelay between setting current value and setting future value.
unitUnitsUnits of time.
m

setDigitalOutput()

asyncthrows
try await pvtIo.setDigitalOutput(channelNumber, value)
Sets value for the specified digital output channel.
Arguments
NameTypeDescription
channelNumberIntChannel number starting at 1.
valueDigitalOutputActionThe type of action to perform on the channel.
m

setDigitalOutputSchedule()

asyncthrows
try await pvtIo.setDigitalOutputSchedule(channelNumber, value, futureValue, delay, unit = Units.native)
Sets current and future value for the specified digital output channel. Requires at least Firmware 7.37.
Arguments
NameTypeDescription
channelNumberIntChannel number starting at 1.
valueDigitalOutputActionThe type of action to perform immediately on the channel.
futureValueDigitalOutputActionThe type of action to perform in the future on the channel.
delayDoubleDelay between setting current value and setting future value.
unitUnitsUnits of time.