Giter Site home page Giter Site logo

u8488a_usrp_calibration's Introduction

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

u8488a_usrp_calibration's People

Contributors

anilgurses avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.