{ "info": { "author": "Pierre Clad\u00e9", "author_email": "pierre.clade@spectro.jussieu.fr", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Intended Audience :: Education", "Intended Audience :: Other Audience", "Intended Audience :: Science/Research", "License :: OSI Approved :: BSD License", "Programming Language :: Python", "Topic :: Scientific/Engineering", "Topic :: Scientific/Engineering :: Physics", "Topic :: Software Development", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Overview\n========\n\nThis package can be used to drive a Rigol DG5000 waveform generator. It provides an object oriented interface\nto the SCPI commands using Python properties. Especially it does the conversion from number to string (and vice versa) automatically. \n\nInstallation\n============\n\nYou need to install the pyvisa package. On windows the pyvisa a package is supported by the `python(x,y) `_ distribution.\n\nTo install the RigolDG5000 driver, download the package and run the command::\n\n python setup.py install\n\nYou can also directly move the RigolDG5000 to a location\nthat Python can import from (directory in which scripts\nusing PyDAQmx are run, etc.)\n\nUsage\n=====\n\nFirst you need to create your visa instrument. ::\n\n import visa\n from RigolDG5000 import RigolDG5000\n\n inst = visa.instrument('USB0::0x0000::0x0000::DG5Axxxxxxxxx::INSTR', term_chars='\\n', timeout=1)\n ## If you are using Visa >= 1.6\n # rm = visa.ReourveManager()\n # inst = rm.open_resource('USB0::0x0000::0x0000::DG5Axxxxxxxxx::INSTR', term_chars='\\n', timeout=1)\n rigol = RigolDG5000(inst=inst)\n\n rigol.output[1].load = 50\n rigol.source[1].voltage.unit = \"DBM\"\n rigol.source[1].frequency.fixed = 10000000\n rigol.source[1].state = 'ON'\n\n print source[1].frequency.fixed\n\nAll the commands are Python properties that can be read or write. \n\n\nContact\n=======\n\nPlease send bug reports or feedback to `Pierre Clad\u00e9`_.\n\n\n.. _Pierre Clad\u00e9: mailto:pierre.clade@spectro.jussieu.fr", "description_content_type": null, "docs_url": "https://pythonhosted.org/RigolDG5000/", "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pythonhosted.org/RigolDG5000", "keywords": "Rigol,DG5000", "license": "This software can be used under one of the following two licenses: (1) The BSD license. (2) Any other license, as long as it is obtained from the original author.", "maintainer": "", "maintainer_email": "", "name": "RigolDG5000", "package_url": "https://pypi.org/project/RigolDG5000/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/RigolDG5000/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://pythonhosted.org/RigolDG5000" }, "release_url": "https://pypi.org/project/RigolDG5000/0.2/", "requires_dist": null, "requires_python": null, "summary": "Interface to the Rigol DG5000 waveform generator", "version": "0.2" }, "last_serial": 1320087, "releases": { "0.2": [ { "comment_text": "", "digests": { "md5": "7649a979d559ad7a61f959293134b5df", "sha256": "5aaf2b5fca38f4d3a0883a133df7c56e90dbb72e318e18c5bb2f7ed3e84edc61" }, "downloads": -1, "filename": "RigolDG5000-0.2.tar.gz", "has_sig": false, "md5_digest": "7649a979d559ad7a61f959293134b5df", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16165, "upload_time": "2014-04-11T17:20:40", "url": "https://files.pythonhosted.org/packages/ff/6f/f72ce041d69167e118582e44e8c8a57afcfaa69caca4679a96a5aa27bebd/RigolDG5000-0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7649a979d559ad7a61f959293134b5df", "sha256": "5aaf2b5fca38f4d3a0883a133df7c56e90dbb72e318e18c5bb2f7ed3e84edc61" }, "downloads": -1, "filename": "RigolDG5000-0.2.tar.gz", "has_sig": false, "md5_digest": "7649a979d559ad7a61f959293134b5df", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16165, "upload_time": "2014-04-11T17:20:40", "url": "https://files.pythonhosted.org/packages/ff/6f/f72ce041d69167e118582e44e8c8a57afcfaa69caca4679a96a5aa27bebd/RigolDG5000-0.2.tar.gz" } ] }