R&S
®
ZVA / R&S
®
ZVB / R&S
®
ZVT Command Reference
SCPI Command Reference
Operating Manual 1145.1084.12 – 30 806
PROGram[:SELected]:EXECute '<file_path>[ <command>]'
Starts an application program or open a file using an application available on the analyzer.
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...".
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 network analyzer (NWA) application. The same applies to the Windows NT
command prompt (cmd.exe).
To access the command prompt, proceed as follows:
1. Create a batch file (e.g. "Start_cmd.bat") containing the command line start cmd.exe and store
the file to C:\Winnt\system32.
2. Execute the batch file: PROG:EXEC 'C:\winnt\system32\Start_cmd.bat'
The command prompt window is displayed in front of the NWA application. You can also open several
command prompt windows simultaneously.
Name and path of an application program to be executed or of a file to be opened.
The path can be defined as an absolute path (e.g. 'c:\...') or relative to the current
directory (MMEMory:CDIRectory). Blanks in the file name are not allowed because
everything after a blank is interpreted as a <command>.
Command name in the selected application <file_name> (optional).
PROG:SEL:NAME PROG
Select general program execution on the analyzer.
MMEM:CDIR 'C:\Program Files\Rohde&Schwarz\Network Analyzer\Bin'
Go to the program directory.
PROG:EXEC 'iecwin32.exe'
Start the application iecwin32.
PROG:WAIT
Lock command execution and manual control of the analyzer until iecwin32 is
paused or stopped.