{
"info": {
"author": "Stephen Goadhouse",
"author_email": "sgoadhouse@virginia.edu",
"bugtrack_url": null,
"classifiers": [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT 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": "dcps\n====\n\nControl of DC Power Supplies through python\n\nThis is intended to be a generic package to control various DC power\nsupplies using various access methods with a common API. For now, this\nsupports only the Rigol DP832A DC Power Supply and the Aim TTi PL-P\nSeries of power supplies through pyVISA and the SCPI command set. For\nthe RigolDP800 class, this should work with all Rigol DP8xx power\nsupplies although it is only tested with the DP832A.\n\nAs new power supplies are added, they should each have their own\nsub-package.\n\nInstallation\n============\n\nYou need to install the pyvisa and pyvisa-py packages.\n\nTo install the dcps package, run the command:\n\n::\n\n python setup.py install\n\nAlternatively, can add a path to this package to the environment\nvariable PYTHONPATH or even add the path to it at the start of your\npython script. Use your favorite web search engine to find out more\ndetails.\n\nEven better, dcps is now on PyPi, so you can simply use the following\nand the required depedancies should get installed for you:\n\n::\n\n pip install dcps\n\nRequirements\n------------\n\n- `python `__ [Works with 2.7+ and 3+]\n- `pyvisa 1.9 `__\n- `pyvisa-py 0.2 `__\n\nWith the use of pyvisa-py, should not have to install the National\nInstruments NIVA driver.\n\nWARNING!\n========\n\nBe *really* careful since you are controlling a power supply that may be\nconnected to something that does not like to go to 33V when you meant\n3.3V and it may express its displeasure by exploding all over the place.\nSo be sure to do ALL testing without a device connected, as much as\npossible, and make use of the protections built into the power supply.\nFor example, you can set voltage and current limits that the power\nsupply will obey and ignore requests by these commands to go outside the\nallowable ranges. There are even SCPI commands to set these limits, but\nthey are not in this class because I think it is safer that they be set\nmanually. Of course, you can easily add those commands and do it\nprogramatically if you like living dangerously.\n\nUsage\n-----\n\nThe code is a very basic class for controlling and accessing the\nsupported power supplies. Before running any example, be extra sure that\nthe power supply is disconnected from any device in case voltsges\nunexpectedly go to unexpected values.\n\nIf running the examples embedded in the individual package source files,\nbe sure to edit the resource string or VISA descriptor of your\nparticular device. For RigolDP800.py, you can also set an environment\nvariable, DP800_IP to the desired resource string before running the\ncode. For AimTTiPLP.py, there is a similar environment variable,\nTTIPLP_IP.\n\n.. code:: python\n\n # Lookup environment variable DP800_IP and use it as the resource\n # name or use the TCPIP0 string if the environment variable does\n # not exist\n from dcps import RigolDP800\n from os import environ\n resource = environ.get('DP800_IP', 'TCPIP0::172.16.2.13::INSTR')\n\n # create your visa instrument\n rigol = RigolDP800(resource)\n rigol.open()\n\n # set to channel 1\n rigol.channel = 1\n\n # Query the voltage/current limits of the power supply\n print('Ch. {} Settings: {:6.4f} V {:6.4f} A'.\n format(rigol.channel, rigol.queryVoltage(),\n rigol.queryCurrent()))\n\n # Enable output of channel\n rigol.outputOn()\n\n # Measure actual voltage and current\n print('{:6.4f} V'.format(rigol.measureVoltage()))\n print('{:6.4f} A'.format(rigol.measureCurrent()))\n\n # change voltage output to 2.7V\n rigol.setVoltage(2.7)\n\n # turn off the channel\n rigol.outputOff()\n\n # return to LOCAL mode\n rigol.setLocal()\n\n rigol.close()\n\nTaking it Further\n-----------------\n\nThis implements a small subset of available commands.\n\nFor information on what is possible for the Rigol DP8xx, see the `Rigol\nDP800 Programming\nGuide `__\n\nFor informatio non what is possible for the Aim TTi PL-P power supplies,\nsee the `New PL & PL-P Series Instruction\nManual `__\n\nFor what is possible with general power supplies that adhere to the IEEE\n488 SCPI specification, like the Rigol DP8xx, see the `SCPI 1999\nSpecification `__ and the\n`SCPI\nWikipedia `__\nentry.\n\nContact\n-------\n\nPlease send bug reports or feedback to Stephen Goadhouse\n\n\n",
"description_content_type": "",
"docs_url": null,
"download_url": "",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/sgoadhouse/dcps",
"keywords": "Rigol,DP800,DP832A,PyVISA,VISA,SCPI,INSTRUMENT",
"license": "MIT",
"maintainer": "Stephen Goadhouse",
"maintainer_email": "sgoadhouse@virginia.edu",
"name": "dcps",
"package_url": "https://pypi.org/project/dcps/",
"platform": "",
"project_url": "https://pypi.org/project/dcps/",
"project_urls": {
"Homepage": "https://github.com/sgoadhouse/dcps"
},
"release_url": "https://pypi.org/project/dcps/0.4.2/",
"requires_dist": [
"pyvisa",
"pyvisa-py"
],
"requires_python": "",
"summary": "Control of DC Power Supplies through python",
"version": "0.4.2"
},
"last_serial": 4056281,
"releases": {
"0.2": [
{
"comment_text": "",
"digests": {
"md5": "3fe8c1b7ad8dc0d4fa6a6ec355691354",
"sha256": "44a759cfbedc85be0db60222f9539e2622df674f09624b5e36eabebff6b47726"
},
"downloads": -1,
"filename": "dcps-0.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "3fe8c1b7ad8dc0d4fa6a6ec355691354",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 9059,
"upload_time": "2018-03-15T19:07:19",
"url": "https://files.pythonhosted.org/packages/06/a7/65a14b7fa52d3ad40528c193a5981963dd334aec169ed5afcab3a00e8fe2/dcps-0.2-py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "65531646eef4cbc43666c7b8a6c7752e",
"sha256": "05e81e0541466ff779f19bee1e91988558a5d6d4a5c2d2d5b247d5ba69bdcdd5"
},
"downloads": -1,
"filename": "dcps-0.2.tar.gz",
"has_sig": false,
"md5_digest": "65531646eef4cbc43666c7b8a6c7752e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 6280,
"upload_time": "2018-03-15T19:07:20",
"url": "https://files.pythonhosted.org/packages/64/89/d2afdc4797ac18cca399ad11040633377c44587a7b3151f809fbf366da31/dcps-0.2.tar.gz"
}
],
"0.3": [
{
"comment_text": "",
"digests": {
"md5": "1b957562610a935f1a0bd203ec1487c2",
"sha256": "adfb0617fbdb7c2ca5bcef8bd4074be7f804d8d79aae5e1cbf1746670f1d7738"
},
"downloads": -1,
"filename": "dcps-0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "1b957562610a935f1a0bd203ec1487c2",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 11215,
"upload_time": "2018-03-20T17:30:09",
"url": "https://files.pythonhosted.org/packages/39/1f/66c2c7d28460c65cd9de2561d47b0b807e76c064cba280d63dd876e8b196/dcps-0.3-py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "8e73ea262894baa7a51dc412e79d9d5f",
"sha256": "de26b1ecc34ebeda137835df80fd4fb970783064b0e4f600038505f5c4eac6e7"
},
"downloads": -1,
"filename": "dcps-0.3.tar.gz",
"has_sig": false,
"md5_digest": "8e73ea262894baa7a51dc412e79d9d5f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 7261,
"upload_time": "2018-03-20T17:30:11",
"url": "https://files.pythonhosted.org/packages/85/c4/149cdca0c12e3c27a4e6ac48f1cab9b9c84a82e596901fc0d816f9b851da/dcps-0.3.tar.gz"
}
],
"0.4": [
{
"comment_text": "",
"digests": {
"md5": "071b69ac7189b46641068f55941c8623",
"sha256": "4bf0ffe627745c4c4e48e4b63efa3b9e90ea4cfb58246d38ef06e16f401384df"
},
"downloads": -1,
"filename": "dcps-0.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "071b69ac7189b46641068f55941c8623",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 14962,
"upload_time": "2018-04-17T16:08:02",
"url": "https://files.pythonhosted.org/packages/fb/eb/5bb1a0a3423ef0c20bf748255de0598e9fe5333a7ccc9cfaf84c371a48b3/dcps-0.4-py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "f6e7ca35af3c908e3417b548ef88a0c3",
"sha256": "adaf92347c99d2b820b8693d7937c723320a0cd81005c1ada9b5ea21d0583a6e"
},
"downloads": -1,
"filename": "dcps-0.4.tar.gz",
"has_sig": false,
"md5_digest": "f6e7ca35af3c908e3417b548ef88a0c3",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 8866,
"upload_time": "2018-04-17T16:08:03",
"url": "https://files.pythonhosted.org/packages/fe/da/91e32460bb0211a514a743de8886bb07f2618a13679a725cd243c2ee39d5/dcps-0.4.tar.gz"
}
],
"0.4.1": [
{
"comment_text": "",
"digests": {
"md5": "40f6417c8a54aec492f0e7a517e36e66",
"sha256": "f9de01e9c5e44dbfbad16c1c43764738ada91393b2dffc6773cdbc2065530870"
},
"downloads": -1,
"filename": "dcps-0.4.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "40f6417c8a54aec492f0e7a517e36e66",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 11923,
"upload_time": "2018-07-13T00:00:05",
"url": "https://files.pythonhosted.org/packages/b8/f0/4a99b4c5760761a7fca567672cfa4f32db261d4b646757fc08d9b72e3f2b/dcps-0.4.1-py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "26deee9d00cd7a3b5a301cc8237a3235",
"sha256": "d8e34b63151c22f9a67e6b11248e45fd56cfb22f0b19b779acb9c49ce27c94c0"
},
"downloads": -1,
"filename": "dcps-0.4.1.tar.gz",
"has_sig": false,
"md5_digest": "26deee9d00cd7a3b5a301cc8237a3235",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 8862,
"upload_time": "2018-07-13T00:00:07",
"url": "https://files.pythonhosted.org/packages/8b/be/b2be11804a4017d58bb55325a9a74efd1577af469ffd76cc938c318db0cb/dcps-0.4.1.tar.gz"
}
],
"0.4.2": [
{
"comment_text": "",
"digests": {
"md5": "7f84728867865ee6c046663309158110",
"sha256": "5f9bfc9dd389f067599fecc3defca78452d3ebbd1b4353312d78be3d8675c139"
},
"downloads": -1,
"filename": "dcps-0.4.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "7f84728867865ee6c046663309158110",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 12019,
"upload_time": "2018-07-13T00:24:26",
"url": "https://files.pythonhosted.org/packages/10/f2/75a3dbb4cdf8bc2dab2a6e86d2fbb3b5ef7978ae7cdab4cf3e364de18490/dcps-0.4.2-py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "551cf5d9192d946540a705804a07daac",
"sha256": "847b606908c4f8266272fd1527fbd35b147d649d09c2ffb92ae5b04c3e36f639"
},
"downloads": -1,
"filename": "dcps-0.4.2.tar.gz",
"has_sig": false,
"md5_digest": "551cf5d9192d946540a705804a07daac",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 8886,
"upload_time": "2018-07-13T00:24:28",
"url": "https://files.pythonhosted.org/packages/a4/ce/502a9871d0d8f751be006cea00bc2bb848d5e20b29ff41dacfbd723e770b/dcps-0.4.2.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "7f84728867865ee6c046663309158110",
"sha256": "5f9bfc9dd389f067599fecc3defca78452d3ebbd1b4353312d78be3d8675c139"
},
"downloads": -1,
"filename": "dcps-0.4.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "7f84728867865ee6c046663309158110",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 12019,
"upload_time": "2018-07-13T00:24:26",
"url": "https://files.pythonhosted.org/packages/10/f2/75a3dbb4cdf8bc2dab2a6e86d2fbb3b5ef7978ae7cdab4cf3e364de18490/dcps-0.4.2-py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "551cf5d9192d946540a705804a07daac",
"sha256": "847b606908c4f8266272fd1527fbd35b147d649d09c2ffb92ae5b04c3e36f639"
},
"downloads": -1,
"filename": "dcps-0.4.2.tar.gz",
"has_sig": false,
"md5_digest": "551cf5d9192d946540a705804a07daac",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 8886,
"upload_time": "2018-07-13T00:24:28",
"url": "https://files.pythonhosted.org/packages/a4/ce/502a9871d0d8f751be006cea00bc2bb848d5e20b29ff41dacfbd723e770b/dcps-0.4.2.tar.gz"
}
]
}