Skip to main content

Rohde & Schwarz SCPI Driver

Project description

Rohde&Schwarz Python SCPI Driver

##Project goals:

  • Example general purpose python driver

    • Vector Spectrum Analyzer, VSA
    • Vector Signal Generator, VSG
    • Vector Signal Explorer, VSE
    • Power Meter, PM
  • Example code

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


  • Structure:
    • pyvisa → → <instr> →
      • <instr>_<OptionName>
      • <instr>_<OptionName>
      • <instr>_<OptionName>
  • 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


    python -m pip install rssd


  • Load example files in Python\Lib\site-packages\rssd\examples
  • Change IP address to match instrument(s)
  • Run
  • Examples Include: <<<<<<< HEAD
    • |Basic SMW commands
    • |VSE/FSW Analog FM Demod
    • |VSE Raw SCPI
    • |VSE Single OFDM Carrier EVM w/ K96
    • |VSE Multi OFDM Carrier EVM w/ K96


We use Bitbucket for versioning.


| FileName                |Descriptions                       |
| SMW_FSW_5GNR_K144_Read  |Read SMW/FSW 5G NR Parameters      |
|        |SMW/FSW Frequency Sweep            |
|          |Basic SMW commands                 |
|           |VSE/FSW Analog FM Demod            |
|            |VSE Raw SCPI                       |
|     |VSE Single OFDM Carrier EVM w/ K96 |
| |VSE Multi  OFDM Carrier EVM w/ K96 |


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


<<<<<<< HEAD Acknowledgments




Project details

Download files

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

Files for rssd, version 0.1.5
Filename, size File type Python version Upload date Hashes
Filename, size rssd-0.1.5.tar.gz (28.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page