pmk-probes is the official Python package to control active oscilloscope probes by PMK.
Use the package manager pip to install pmk-probes.
pip install pmk-probes
- Python 3.10 or higher
- pyserial
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
The documentation is available at https://pmk-probes.readthedocs.io.