A Python package to control PMK's active oscilloscope probes.
Project description
PMK Probes
pmk-probes is a 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 10x
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
pmk_probes-1.0.3-py3-none-any.whl
(12.7 kB
view hashes)
Close
Hashes for pmk_probes-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0aad1ca1d395f091542ee94d53a24aba92fa66f951eede87a1756b9875e7fea |
|
MD5 | e17de022904a0a033bb5546114c0cd5a |
|
BLAKE2b-256 | 3b27a682ed84c004b10c6bb18456a40aac506e72ca3cff1a3de7b36fc4afb8e8 |