NA Mode Setup


This example shows how to:

 

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 and Hold

*RST

# Change to NA Mode and wait until changed

INST:SEL "NA";*OPC?

# 4 window configuration

DISP:WIND:SPL D12_34

#change window 4 to R1 measurement

CALC:PAR4:DEF R1

#Select window 4

CALC:PAR4:SEL

#change window 4 format to SWR

CALC:FORMat SWR

# Autoscale window 1

DISP:WIND:TRAC1:Y:AUTO

# Set Center Freq

SENS:FREQ:CENT 2e9

# Set Freq Span

SENS:FREQ:SPAN 500e6

#set IFBW to 10 kHz

BWID 10e3

# Set averaging to 5 sweeps

AVER:COUNt 5

#Select window 1

CALC:PAR1:SEL

# Set to HOLD mode; wait

INIT:CONT 0;*OPC?

# Trigger FIVE measurements

# Wait between each

INIT:IMMediate;*OPC?

INIT:IMMediate;*OPC?

INIT:IMMediate;*OPC?

INIT:IMMediate;*OPC?

INIT:IMMediate;*OPC?

#Read formatted data from selected trace (1)

CALC:DATA:FDATa?

#Clear averaging

AVER:CLEar

#And do anther sweep

INIT:IMMediate;*OPC?

 

Last Modified:

23-Aug-2011

New command