-
Notifications
You must be signed in to change notification settings - Fork 19
Driver Structure
Martin Lim edited this page May 17, 2019
·
5 revisions
-
Driver Structure:
- Overview: pyvisa → yaVISA.py → <instr>_Common.py → <instr>_<OptionName>_Kxx.py
- Example : pyvisa → yaVISA → FSW_Common.py → FSW_5GNR_K144.py
- yaVISA master class
- yaVISA.K2 = pyVISA object
- methods are commonly used functions.
- <instr>_Common inherit from yaVISA
- <instr>_Common_Kxx inherits from <instr>_Common
-
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.
- 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