Keysight U8488A Powermeter Driver for USRP Power Calibration
Project description
Unofficial driver for Keysight U8488A
This is a simple driver for Keysight U8488A power meter. There are 2 classes in this package. You can use this package individually or for USRP calibration.
Install
$ pip install u8488a
Example Usage
from u8488a import base
from time import sleep
dev = base.PowerMeter()
# List available devices
devs = dev.get_device_list()
if len(devs) > 0:
dev.open_device(devs(0))
else:
print("No device found!")
exit(1)
print("Available devices:")
print(devs)
# Setting frequency to 20 GHz
dev.frequency(20e9)
while True:
# Read power level every second
print(f"Power: {dev.get_power()} dBm")
sleep(1)
USRP TX Power Reference Level Calibration
This package includes "custom" driver for USRP calibration. uhd_power_cal.py
scripts is installed with UHD installation by default. It's located under ```/usr/local/lib64/uhd/utils``.
Note: If you can't find uhd folder, it's probably under this directory /usr/local/lib/
$ cd /usr/local/lib64/uhd/utils/
$ uhd_power_cal.py -d tx --meas-dev visa -o import=u8488a
Note: This can only be used for TX power calibration
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 Distribution
Built Distribution
File details
Details for the file u8488a-0.1.2.tar.gz
.
File metadata
- Download URL: u8488a-0.1.2.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a461d7b3529d37833dd6808560ec0da2a149fb5f5b55cf0d4e2a9dfa43221f42 |
|
MD5 | 3ba396120b32e35f719a76fcc0abdd35 |
|
BLAKE2b-256 | 37dca4f863dfc497c94492e1f6e48bbd0a6fe85f165b8914be8a930de8d2eacb |
Provenance
File details
Details for the file u8488a-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: u8488a-0.1.2-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 975ed45dcf7d3846eea18ce3ca69f945e6528d2362bf89f4671b13ac66bf6aee |
|
MD5 | 811133e051a00070575a77f28544e03b |
|
BLAKE2b-256 | 4bbad4a2faca69dca59bc41f23e37832029b4786e6a4e0fe609d5416d2ec962f |