A Python driver for Rigol arbitrary signal generators
Project description
Rigol DGx Python Driver
This package provides a Python driver for controlling Rigol DGx arbitrary waveform generators via USB or Ethernet.
Confirmed to work with DG1022, DG1062, DG4102.
Usage
from rigol_dg1022 import RigolDG
# Connect to the device
dg = RigolDG()
# 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.1.1.tar.gz
(10.1 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.1.1.tar.gz.
File metadata
- Download URL: rigol_dg1022-0.1.1.tar.gz
- Upload date:
- Size: 10.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
709f3e616708a9830760598573fae06f21a1b1962d57fded62b87502cce2da50
|
|
| MD5 |
571e00c883bcda6104425e4976d3a5b5
|
|
| BLAKE2b-256 |
3368870a64c7040ca74c16906d765e76bf6fe7b046a6b156508a73b9aba679df
|
File details
Details for the file rigol_dg1022-0.1.1-py3-none-any.whl.
File metadata
- Download URL: rigol_dg1022-0.1.1-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8af1f419e8ad28d12b6fb81ad938ade2db1681926cd45e8fcff57a1c81faac8f
|
|
| MD5 |
9a09f17c5e08c8f38ecdf81d0a685f34
|
|
| BLAKE2b-256 |
49dc91438f75d16dae348a285244d0e259227ce4b9a7fec12c9bec15b06f40c5
|