A Python package to control PMK's active oscilloscope probes.
Project description
PMK Probes
![PyPI - Version](https://pypi-camo.freetls.fastly.net/db0ed3ddd59b93c2746bfbf443249c0269d953f4/68747470733a2f2f696d672e736869656c64732e696f2f707970692f762f706d6b2d70726f626573)
pmk-probes is the official Python package to control active oscilloscope probes by PMK.
Installation
Use the package manager pip to install pmk-probes.
pip install pmk-probes
Requirements
- Python 3.10 or higher
- pyserial
Usage
from pmk_probes.probes import BumbleBee2kV
from pmk_probes.power_supplies import PS03, Channel
ps = PS03('<YOUR_COM_PORT>') # replace with the COM port of your power supply or specify ip_address parameter
bumblebee1 = BumbleBee2kV(ps, Channel.CH1) # use the BumbleBee probe on channel 1
print(bumblebee1.metadata.serial_number) # print the serial number of the probe
bumblebee1.attenuation = 500 # set the attenuation to 500x
Documentation
The documentation is available at https://pmk-probes.readthedocs.io.
License
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pmk_probes-1.0.11.tar.gz
(17.0 MB
view hashes)
Built Distribution
Close
Hashes for pmk_probes-1.0.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4bc0bd17323e939ff9e6c247701a79af2574342d00d552f786bb7e1bfaf39ab1 |
|
MD5 | 4f919b1f897a551ffe518ee86c5436f7 |
|
BLAKE2b-256 | 3cf4c7f96a1d77db76da41b85bb26d0c8bf5272f1d38a5ac9890c7904129a4bf |