This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description


This package can be used to drive a Rigol DG5000 waveform generator. It provides an object oriented interface to the SCPI commands using Python properties. Especially it does the conversion from number to string (and vice versa) automatically.


You need to install the pyvisa package. On windows the pyvisa a package is supported by the python(x,y) distribution.

To install the RigolDG5000 driver, download the package and run the command:

python install

You can also directly move the RigolDG5000 to a location that Python can import from (directory in which scripts using PyDAQmx are run, etc.)


First you need to create your visa instrument.

import visa
from RigolDG5000 import RigolDG5000

inst = visa.instrument('USB0::0x0000::0x0000::DG5Axxxxxxxxx::INSTR', term_chars='\n', timeout=1)
## If you are using Visa >= 1.6
# rm = visa.ReourveManager()
# inst = rm.open_resource('USB0::0x0000::0x0000::DG5Axxxxxxxxx::INSTR', term_chars='\n', timeout=1)
rigol = RigolDG5000(inst=inst)

rigol.output[1].load = 50
rigol.source[1].voltage.unit = "DBM"
rigol.source[1].frequency.fixed = 10000000
rigol.source[1].state = 'ON'

print source[1].frequency.fixed

All the commands are Python properties that can be read or write.


Please send bug reports or feedback to Pierre Cladé.

Release History

Release History


This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
RigolDG5000-0.2.tar.gz (16.2 kB) Copy SHA256 Checksum SHA256 Source Apr 11, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting