Skip to main content

Rohde & Schwarz SCPI Driver

Project description

Rohde&Schwarz Python SCPI Driver

Description

  • Example python drivers

    • FSW, Vector Spectrum Analyzer
    • SMW, Vector Signal Generator
    • NRP, Power Sensor
    • VSE, Vector Signal Explorer
    • VST, Vectro Signal Transciever (FSW/SMW calls)
    • 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.
    • SW is provided as is

Getting Started

Installation

python -m pip install rssd

Running

  • Load example files in <Python Install Directory>\Lib\site-packages\rssd\examples

    python -m pip show rssd
    
  • Change IP address to match instrument(s)

  • Run

Example Code

FileName Instrumnt Description
AAA_CommandTime Any Time command to instrument
AAA_IDN_IPArry Any Send *IDN to instruments in IPArry
FSW_ACLR_Timing VSA ACLR in Spectral Mode
FSW_ACLR_IQ_Timing VSA ACLR in IQ Analyzer
FSW_CCDF VSA CCDF in Spectral Mode
FSW_IQCaptureTime VSA IQ Capture time looping Fs
NRP_AvGPwr NRP NRP Average power capture
NRP_BufferedContAvg NRP Bufferened NRP measurement
SMW_LoadArb.py VSG Load Arb file into SMW
OSP_Debug OSP Generic OSP example
VSE_ADemod.py VSE VSE/FSW Analog FM Demod
VSE_Debug.py VSE VSE Raw SCPI
VSE_OFDM_1CC_K96.py VSE VSE Single OFDM Carrier EVM w/ K96
VSE_OFDM_MultiCC_K96.py VSE VSE Multi OFDM Carrier EVM w/ K96
VST_5GNR_EVM VSG VSA SMW/FSW K144 speed tests
VST_5GNR_K144_Read VSG VSA SMW/FSW Read 5G NR Parametes
VST_Sweep.py VSG VSA SMW/FSW Frequency Sweep
VST_WLAN_EVM VSG VSA SMW/FSW 802.11 EVM sweep test

Documentation

Driver Structure

  • Driver Structure:
    • Common Driver Call: pyvisa → yaVISA.py → <instr>_Common.py →
    • Instrument Options: pyvisa → yaVISA.py → <instr>_Common.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 *yaVISA.py- for full list of commands.

Specific Instrument Drivers

  • 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
  • NRP: Power Sensor
    • Developed & Tested with NRPxxS/SN sensors
  • 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
  • VST: Vector Signal Transceiver
    • Code that calls both SMW & FSW
    • Currently 5GNR; LTE; WLAN implemented
  • OSP: Open Switch and Control Platform
    • Developed & Tested with OSP120

Instrument Documentation

Driver Description User Manual Models
SMW Vector Signal Generator User Manual SMW; SMBV; SGT; SGS; SMA-B; SMB-B; SMF
FSW Vector Signal Analyzer User Manual FSW; FSWP; FSVA; FPL;
VSE Vector Analysis Software User Manual VSE
CMW Basestation Emulator User Manual CMW500; CMW100; CMP200
NRP Three Path Power Sensor User Manual NRP; NRPM
NRQ Freq Selective Pwr Sensor User Manual NRQ
OSP Switch Matrix User Manual OPS1xx; OPS2xx
VNA Network Analyzer User Manual ZVA; ZNA; ZNB
[N/A] Digital Oscillocope User Manual RTP; RTO;
[N/A] Radiated Chambers User Manual ATS800; ATS1000; ATS1800; CMQ; DST200; TS7124

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

Acknowledgments

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rssd-2019.5.1.1.tar.gz (66.4 kB view details)

Uploaded Source

File details

Details for the file rssd-2019.5.1.1.tar.gz.

File metadata

  • Download URL: rssd-2019.5.1.1.tar.gz
  • Upload date:
  • Size: 66.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.2

File hashes

Hashes for rssd-2019.5.1.1.tar.gz
Algorithm Hash digest
SHA256 88da8ef018c1c85fe00b20da0ea8890592735dd3e11943fd0d7a7d9b6f8ce09d
MD5 f42f0db80705ffb906c280bf693a7a2c
BLAKE2b-256 611420fcc146437cb721bcfbd879b602b0ee282496b4e7ad56af9f98079f45c5

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page