Skip to main content

Rohde & Schwarz SCPI Driver

Project description

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: 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

References

Acknowledgments

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-0.1.9.tar.gz (41.1 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: rssd-0.1.9.tar.gz
  • Upload date:
  • Size: 41.1 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-0.1.9.tar.gz
Algorithm Hash digest
SHA256 e3755d6a2bcabcee14d00fd950326185e51c29e4306a7427e9a84d216524ca37
MD5 99ef2cb441dbd6cd844ebd2b33c4951d
BLAKE2b-256 0e9cf234e0d65346446c7c7410dc27d40b94935ceabb495417ae2eb678d1d051

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