A Python driver for the Rigol DG1022 arbitrary signal generator
Project description
Rigol DG1022 Python Driver
This package provides a Python driver for controlling the Rigol DG1022 arbitrary waveform generator via USB or Ethernet.
Usage
from rigol_dg1022 import RigolDG1022
# Connect to the device
dg = RigolDG1022()
# Set a sine wave on Channel 1
dg.apply_waveform(channel=1, waveform="SIN", frequency=1000, amplitude=1, offset=0)
# Turn on the output for Channel 1
dg.set_output(channel=1, state=True)
# Get the current frequency of Channel 1
freq = dg.get_frequency(channel=1)
print(f"Current frequency: {freq} Hz")
# Turn off the output
dg.set_output(channel=1, state=False)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rigol_dg1022-0.0.8.tar.gz
(9.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rigol_dg1022-0.0.8.tar.gz.
File metadata
- Download URL: rigol_dg1022-0.0.8.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2be613b37309bde1eaa5426858813316a700024ee6ea3763b4495cf24b6cf3d3
|
|
| MD5 |
9b60a3fe7e94cb2d57bc98f39ed14f35
|
|
| BLAKE2b-256 |
2127a14b9488cfe64754ead5aacafbdcfadb082deadc5c755f1b92eed57b2d97
|
File details
Details for the file rigol_dg1022-0.0.8-py3-none-any.whl.
File metadata
- Download URL: rigol_dg1022-0.0.8-py3-none-any.whl
- Upload date:
- Size: 9.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5fb5c8d4217d672620d9388af6cbf9f80fd66d4610a5633aabd79ccbf52ccebc
|
|
| MD5 |
f86553988ac6f134f967572095ab50c6
|
|
| BLAKE2b-256 |
6222764c1a13cea063883d824f43a6174a1127b173208f31db659204267bf63a
|