# Keysight33521B

Control the Keysight 33521B function generator from Python through [`InstroAWG`](https://dev.nominal.io/instro/awg.md).

![Keysight 33521B](https://dev.nominal.io/instro/_images/Keysight33521B.png)

The [`Keysight33521B`](https://dev.nominal.io/instro/ref/instruments/instro.awg.drivers.keysight_33521b.Keysight33521B.md#instro.awg.drivers.keysight_33521b.Keysight33521B "instro.awg.drivers.keysight_33521b.Keysight33521B") provides a driver that can be used to instantiate an [InstroAWG](https://dev.nominal.io/instro/awg.md).

## Creating an [`InstroAWG`](https://dev.nominal.io/instro/awg.md) with [`Keysight33521B`](https://dev.nominal.io/instro/ref/instruments/instro.awg.drivers.keysight_33521b.Keysight33521B.md#instro.awg.drivers.keysight_33521b.Keysight33521B "instro.awg.drivers.keysight_33521b.Keysight33521B")

```python
from instro.awg.drivers import Keysight33521B
from instro.awg import InstroAWG

awg = InstroAWG(
    name="myAWG",
    driver=Keysight33521B(visa_resource="USB0::..."),
    num_channels=1,
)
```

Parameters and methods specific to [`Keysight33521B`](https://dev.nominal.io/instro/ref/instruments/instro.awg.drivers.keysight_33521b.Keysight33521B.md#instro.awg.drivers.keysight_33521b.Keysight33521B "instro.awg.drivers.keysight_33521b.Keysight33521B") can be found in the [Reference](https://dev.nominal.io/instro/ref.md).
