EasyManua.ls Logo

Keysight N9010B - 7.3.51 Select Correction; 7.3.52 Saving a SCPI Recording as a Python Script

Keysight N9010B
2650 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
7 Save/Recall/Print
7.3 Save
Frequency Unit: Hz, kHz, MHz, GHz
Antenna Unit: dBuV/m, dBuA/m, dBG, dBpT, None
Frequency Interpolation: Logarithmic, Linear
7.3.51 Select Correction
Selects the specific Correction to be saved, for example, Correction 1.
Preset Not part of a Preset, but reset to Correction 1 by Restore Input/Output Defaults
Survives a shutdown
7.3.52 Saving a SCPI Recording as a Python Script
To execute the generated Python script:
Install the Python version required by PyVisa
Download the PyVisa library from: https://pypi.org/project/PyVISA/
Modify the connection string, to specify your instrument’s connection string
Example Script
An example of the generated script is shown below.
# _install location: https://pypi.org/project/PyVISA/
import pyvisa
import re
# connected instrument
_inst = ''
# SCPI Recording commands and queries
# Add/Modify the instrument address to execute the script
_connectionString = 'your instrument connection string here'
#Example SCPI Recording Entries
_recordingEntries = ['Active Mode & Measurement'|':INST:CONF:SA:SANalyzer',
'Query Operation Complete'|'*OPC?',
'Active Mode & Measurement'|':INST:CONF:SA:SANalyzer',
'Query Operation Complete'|'*OPC?',
Vector Modulation Analyzer Mode User's &Programmer's Reference 2407

Table of Contents

Other manuals for Keysight N9010B

Related product manuals