The following example sets up a VVM measurement.
Note: In the following example: "-p" indicates a user prompt. "#" indicates a comment This example can be copied into a text editor, saved as a *.txt file, and run using the free Keysight Instrument Console program. Learn more. |
# Preset Instrument SYST:PRESet;*OPC? # Change to VVM Mode and wait until changed INST:SEL "VVM";*OPC? # Set to single sweep INIT:CONT 0;*OPC? # Setup the instrument for 1-port cable trimming CALC:PAR:DEF S11 # Set Center Freq SENS:FREQ:CENT 2e9 # Take a sweep to ensure you get a valid point on your new frequency. INIT:IMM;*OPC? # Attach the Reference cable -p "Attach Reference Cable" # Zero the display SENS:CORR:ZERO:STAT ON;*OPC? # Take another sweep to show the zero in action INIT:IMM;*OPC? # Prompt to attach a cable -p "Attach Cable to Trim" # Put into freerun mode INIT:CONT ON
|