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.9.tar.gz
(9.9 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.9.tar.gz.
File metadata
- Download URL: rigol_dg1022-0.0.9.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa69a9be9f514cac6c2fa1c9daa86e78d9c766c0f62214e929e7478f9c339174
|
|
| MD5 |
2fe36e4dee07a8f0a63f931cc7d36c22
|
|
| BLAKE2b-256 |
84ff04f87ee2e59f7ad5e9683594529530d964565b0b366cc057e892daeb8383
|
File details
Details for the file rigol_dg1022-0.0.9-py3-none-any.whl.
File metadata
- Download URL: rigol_dg1022-0.0.9-py3-none-any.whl
- Upload date:
- Size: 9.8 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 |
72fd726c1055a6e9150e2dbd79ce0566bbdca6b27a9866cfbf5cfdcbb4f14a9e
|
|
| MD5 |
fc6870e572265aa9e2d58237cb3514e0
|
|
| BLAKE2b-256 |
fe649d599ddfcdbd8083f5d44df50a18bd4c37719aa483f200665ff088594dc1
|