> ## Documentation Index
> Fetch the complete documentation index at: https://instro.nominal.io/llms.txt
> Use this file to discover all available pages before exploring further.

# RigolDG1022Z

> A driver for [`InstroAWG`](/awg)

<Card title="Rigol DG1022Z" horizontal href="/awg/RigolDG1022Z">
  <img src="https://mintcdn.com/nominal/vd1fIohbHX0IE-nH/snippets/drivers/awg/rigol-dg1022z/image.png?fit=max&auto=format&n=vd1fIohbHX0IE-nH&q=85&s=95ff4422cb6c3b55b303021028b5950d" style={{ width: "100%", height: "100px", objectFit: "contain" }} noZoom alt="Rigol DG1022Z" width="800" height="386" data-path="snippets/drivers/awg/rigol-dg1022z/image.png" />
</Card>

The [`RigolDG1022Z`](https://nominal-io.github.io/instro/instruments/awg/#rigol-dg1022z) provides a driver that can be used to instantiate an [InstroAWG](/awg).

## Creating an [`InstroAWG`](/awg) with [`RigolDG1022Z`](https://nominal-io.github.io/instro/instruments/awg/#rigol-dg1022z)

```python theme={null}
from instro.awg.drivers import RigolDG1022Z
from instro.awg import InstroAWG

awg = InstroAWG(
    name="myAWG",
    driver=RigolDG1022Z(visa_resource="USB0::0x1AB1::0x0642::DG1ZA000000000::INSTR"),
    num_channels=2,
)
```

Parameters and methods specific to [`RigolDG1022Z`](https://nominal-io.github.io/instro/instruments/awg/#rigol-dg1022z) can be found in the [SDK](https://nominal-io.github.io/instro/).
