Command reference
R&S
®
ZNA
1222User Manual 1178.6462.02 ─ 20
Range: #B00000000 to #B11111111 (for setting command),
0 to 255 (query)
*RST: #B00000000 (0)
Example:
*RST; :OUTP1:UPOR #B00000001
Assign the channel bit value #B00000001 to the active channel
no. 1. The analyzer performs a measurement in channel no. 1,
therefore the output signal at pin 8 is switched on.
CONF:CHAN2:STAT ON; OUTP2:UPOR #B00000010
Create channel no. 2, causing it to become the active channel,
and assign the channel bit value #B00000010. The analyzer
performs no measurement in channel no. 2, therefore the output
signal is not changed.
CALC2:PAR:SDEF 'Ch2Tr1', 'S11'
Create a trace named 'Ch2Tr1' and assign it to channel 2. While
the analyzer measures in channel 2, the output signal changes
from pin 8 to pin 9.
OUTP:UPOR:ECB OFF
Reserve pin 16 to 19 for monitoring the drive ports of the ana-
lyzer.
Manual operation:
See "Channel Bits (Decimal)" on page 795
7.3.13 PROGram commands
The PROGram... commands control external application programs that can be run on
the analyzer.
PROGram[:SELected]:EXECute.................................................................................... 1222
PROGram[:SELected]:INIMessage................................................................................ 1223
PROGram[:SELected]:INIParameter.............................................................................. 1224
PROGram[:SELected]:NAME........................................................................................ 1225
PROGram[:SELected]:RETVal?.....................................................................................1225
PROGram[:SELected]:WAIT..........................................................................................1225
PROGram[:SELected]:EXECute <AppName>
Starts an application process or open a file using an application available on the ana-
lyzer.
Use the comman sequence PROGram[:SELected]:WAIT? ; PROGram[:
SELected]:RETVal? to query the return value (see example below).
Note: It is not possible to run several programs simultaneously. If the command
PROGram[:SELected]:EXECute ... is sent while a previously started program is
still executed, the analyzer generates a SCPI error –100,"Command error...".
Tip: Executing batch files; command prompt
When executing batch scripts or other DOS applications, the analyzer does not display
any DOS windows; the screen is left for the vector network analyzer (VNA) application.
SCPI command reference