# Rigol DP832 powersupply control library (unofficial, Python)
This is a _currently under development_ control library for the DP832
power supply. It implements the ```PowerSupply``` base class from
the [pylabdevs](https://github.com/tspspi/pylabdevs/tree/master) base
class.
Currently only control via Ethernet is implemented in the ```DP832LAN```
class.
## Simple usage example
```
with DP832LAN("10.4.1.12", logLevel = "DEBUG") as dp:
print(dp.idn())
dp.setChannelEnable(True, 1)
dp.setVoltage(23, 1)
dp.setCurrent(1.2, 1)
print(f"Measured voltage {dp.getVoltage(1)} and current {dp.getCurrent(1)}")
dp.setChannelEnable(False, 1)
```
Raw data
{
"_id": null,
"home_page": "https://github.com/tspspi/pydp832",
"name": "pydp832-tspspi",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "",
"author": "Thomas Spielauer",
"author_email": "pypipackages01@tspi.at",
"download_url": "https://files.pythonhosted.org/packages/25/40/6cda315edbc74c2fa2ac55241b8694598f6157bfabea543c380e201f6bb0/pydp832-tspspi-0.0.4.tar.gz",
"platform": null,
"description": "# Rigol DP832 powersupply control library (unofficial, Python)\n\nThis is a _currently under development_ control library for the DP832\npower supply. It implements the ```PowerSupply``` base class from\nthe [pylabdevs](https://github.com/tspspi/pylabdevs/tree/master) base\nclass.\n\nCurrently only control via Ethernet is implemented in the ```DP832LAN```\nclass.\n\n## Simple usage example\n\n```\nwith DP832LAN(\"10.4.1.12\", logLevel = \"DEBUG\") as dp:\n print(dp.idn())\n dp.setChannelEnable(True, 1)\n dp.setVoltage(23, 1)\n dp.setCurrent(1.2, 1)\n print(f\"Measured voltage {dp.getVoltage(1)} and current {dp.getCurrent(1)}\")\n dp.setChannelEnable(False, 1)\n```\n",
"bugtrack_url": null,
"license": "",
"summary": "Rigol DP832 power supply control library (unofficial)",
"version": "0.0.4",
"project_urls": {
"Homepage": "https://github.com/tspspi/pydp832"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "dde98772fd49d33dd0ad5263d0d21aacb85ccde23c6c415118193e99bd82342f",
"md5": "a6c8c0b772152b57106b2294662b9136",
"sha256": "8248bcc679244b72d389931c8ba5cff08c34c2c890e7692e52595f08faaf5d7d"
},
"downloads": -1,
"filename": "pydp832_tspspi-0.0.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a6c8c0b772152b57106b2294662b9136",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 5349,
"upload_time": "2023-08-17T17:33:01",
"upload_time_iso_8601": "2023-08-17T17:33:01.198143Z",
"url": "https://files.pythonhosted.org/packages/dd/e9/8772fd49d33dd0ad5263d0d21aacb85ccde23c6c415118193e99bd82342f/pydp832_tspspi-0.0.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "25406cda315edbc74c2fa2ac55241b8694598f6157bfabea543c380e201f6bb0",
"md5": "eda160ae1a5eab2503539e5950206d61",
"sha256": "a8eb492e71564a452ff4f20c7b595b0ab12d34afcd5b594e266471ef83a271b9"
},
"downloads": -1,
"filename": "pydp832-tspspi-0.0.4.tar.gz",
"has_sig": false,
"md5_digest": "eda160ae1a5eab2503539e5950206d61",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 5009,
"upload_time": "2023-08-17T17:33:03",
"upload_time_iso_8601": "2023-08-17T17:33:03.678317Z",
"url": "https://files.pythonhosted.org/packages/25/40/6cda315edbc74c2fa2ac55241b8694598f6157bfabea543c380e201f6bb0/pydp832-tspspi-0.0.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-08-17 17:33:03",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "tspspi",
"github_project": "pydp832",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "pydp832-tspspi"
}