A Python Wrapper for the usbpt104 library from Pico
Class based interface to the Pico (Omega) PT-104 RTD DAQ Module
Dependencies
libusbpt104 (see installation)
What is Working
discover units connected via USB (Ethernet untested)
Configure the Channels
Reading of measured values
What is not Working/Missing
Documentation
Configure the ethernet interface
Connection via ethernet
usage on Windows
Installation
Linux installation: 1. Install libusb104 following https://www.picotech.com/downloads/linux
Ubuntu 18.04:
sudo bash -c 'echo "deb https://labs.picotech.com/debian/ picoscope main" >/etc/apt/sources.list.d/picoscope.list' wget -O - https://labs.picotech.com/debian/dists/picoscope/Release.gpg.key | sudo apt-key add - sudo apt-get update sudo apt-get install libusbpt104
Install this package:
sudo pip3 install https://github.com/trombastic/Pico_PT104/archive/master.zip
Usage
from PT104 import PT104, Channels, DataTypes, Wires
unit = PT104()
unit.connect('AY429/026')
unit.set_channel(Channels.CHANNEL_1, DataTypes.PT100, Wires.WIRES_4)
value = unit.get_value_channel_1
if value:
print('CH1: %1.3f'%value)
unit.disconnect()
Contribute
Issue Tracker: https://github.com/trombastic/Pico_PT104/issues
Source Code: https://github.com/trombastic/Pico_PT104
License
The project is licensed under the _GNU General Public License v3 (GPLv3)_.
Metadata
Release files for pico-pt104 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pico_pt104-1.0.0.tar.gz | 17.8 kB | Without provenance | Details for pico_pt104-1.0.0.tar.gz |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pico_pt104-1.0.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for pico_pt104-1.0.0-py2.py3-none-any.whl |
| pico_pt104-1.0.0-py2-none-any.whl | Python 2 | none | any | Details for pico_pt104-1.0.0-py2-none-any.whl |
Total release size: 29.1 kB
Release files / pico_pt104-1.0.0.tar.gz
| Download URL | pico_pt104-1.0.0.tar.gz |
|---|---|
| Size | 17.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
df6fd00a25dc3e2c044a1011fda458c157d210042b6c4a1b419fcd8b692cef2d
|
|
BLAKE2b-256 checksum How to use checksums |
589b52ee2daa431c6bf7d402cdc2260288a1a0ae0e87f92aa27ee846a57e403e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.1 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/2.7.15+
|
Release files / pico_pt104-1.0.0-py2.py3-none-any.whl
| Download URL | pico_pt104-1.0.0-py2.py3-none-any.whl |
|---|---|
| Size | 5.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
b9f53dae72a213e1e017f9d19637efc4808df37b1d6775981f03285baadb8b18
|
|
BLAKE2b-256 checksum How to use checksums |
ef137298efa06b850274150aa5ddd03d2341a444e173a682d4ed97429c6c9d9b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.1 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/2.7.15+
|
Release files / pico_pt104-1.0.0-py2-none-any.whl
| Download URL | pico_pt104-1.0.0-py2-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
2fac5d2a74a11771e46122628d980bee6586f2a8c07ce2c8f46ed0cabe59c06d
|
|
BLAKE2b-256 checksum How to use checksums |
9d77b19f1846e3e8c44d730b659c6057acd0de285f522c926e0897a8faf39cb0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.1 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/2.7.15+
|
Security for pico-pt104 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.