# API Reference v10.3.1 (Python)

## PvtSetDigitalOutputAction (data class)

Module: zaber_motion.ascii

Change the state of a digital output pin in a PVT sequence or buffer.

To use this type, add `from zaber_motion.ascii import PvtSetDigitalOutputAction` to the top of your source code.

### Properties

#### `channel`

`pvt_set_digital_output_action.channel`

Type: `int`

The number of the digital output pin to change.

#### `value`

`pvt_set_digital_output_action.value`

Type: [`DigitalOutputAction`](https://software.zaber.com/motion-library/api/py/ascii/digitaloutputaction.md)

The state to set the digital output pin to.

#### `delay` (optional)

`pvt_set_digital_output_action.delay`

Type: [`Optional[Measurement]`](https://software.zaber.com/motion-library/api/py/root/measurement.md)

If nonzero, specifies the time until the delayed output change occurs.

#### `future_value` (optional)

`pvt_set_digital_output_action.future_value`

Type: [`Optional[DigitalOutputAction]`](https://software.zaber.com/motion-library/api/py/ascii/digitaloutputaction.md)

The state to set the output pin to after the delay time expires. Ignored if the delay is zero or unspecified.
