Giter Site home page Giter Site logo

rssd's Introduction

Rohde&Schwarz Python SCPI Driver

Project goals:

  • Example python drivers

    • FSW, Vector Spectrum Analyzer
    • SMW, Vector Signal Generator
    • VSE, Vector Signal Explorer
    • OSP, Switch Driver
    • NRQ, Frequency Selective Power Sensor
  • Example code

    • Automated test example
    • Instrument speed/repeatability evaluation
    • Proof of concept/Demo code
  • RSSD is in development. Package APIs may change. We recommend users "freeze/save" package version prior to use.

Drivers:

  • Driver Structure:
    • pyvisa → yaVISA.py → <instr>_Common.py →
      • <instr>_<OptionName>_Kxx.py
      • <instr>_<OptionName>_Kxx.py
      • <instr>_<OptionName>_Kxx.py
  • yaVISA: pyvisa wrapper
    • yaVISA.jav_Open(sFileName, sLogFile): Open VISA link
    • yaVISA.write(sSCPI): Write SCPI command
    • yaVISA.query(sSCPI): Query SCPI command
    • yaVISA.jav_logscpi(): Turn on "SCPI to file"
    • yaVISA.jav_OPC_Wait(sCmd): Wait for longer commands.
    • Please see code for full list of commands.
  • FSW: Vector Spectrum Analyzer
    • Developed & Tested with FSW
    • FSW & VSE share many commands.
    • Possible compatibility: VSE; FPS; FSV;
  • SMW: Vector Signal Generator
    • Developed & Tested with SMW
    • Possible compatibility: SGS; SGT; SMB; SMBV
  • VSE: Vector Signal Explorer SW
    • Developed & Tested with VSE
    • Drivers represent VSE commands not in FSW code
    • OFDMVSA K96 code resides here as well
    • Possible compatibility: FSW

Getting Started

Installing

    python -m pip install rssd

Running

  • Load example files in \Lib\site-packages\rssd\examples
  • Change IP address to match instrument(s)
  • Run

Example Code:

| FileName                | Descriptions                       |
|-------------------------|------------------------------------|
| FSW_ACLR_Timing         | ACLR in Spectral Mode              |
| FSW_ACLR_IQ_Timing      | ACLR in IQ Analyzer                |
| SMW_FSW_5GNR_EVMSpeed   | FSW K144 speed tests               |
| SMW_FSW_5GNR_K144_Read  | Read SMW/FSW 5G NR Parameters      |
| SMW_FSW_Sweep.py        | SMW/FSW Frequency Sweep            |
| SMW_LoadArb.py          | Load Arb file into SMW             |
| OSP_Debug               | Generic OSP example                |
| VSE_ADemod.py           | VSE/FSW Analog FM Demod            |
| VSE_Debug.py            | VSE Raw SCPI                       |
| VSE_OFDM_1CC_K96.py     | VSE Single OFDM Carrier EVM w/ K96 |
| VSE_OFDM_MultiCC_K96.py | VSE Multi  OFDM Carrier EVM w/ K96 |

Project

  • Code Repository: GitHub
  • Author: Martin C Lim
  • License: This project is licensed under the R&S License for Royalty-Free Products- see the LICENSE file for details

References

Acknowledgments

Acknowledgments

rssd's People

Contributors

mclim9 avatar terrabits avatar

Watchers

James Cloos 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.