EasyManua.ls Logo

Rohde & Schwarz R&S ZNA Series - 7.3.13 PROGram commands

Rohde & Schwarz R&S ZNA Series
1849 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...
Command reference
R&S
®
ZNA
1319User Manual 1178.6462.02 ─ 29
7.3.13 PROGram commands
The PROGram... commands control external application programs that can be run on
the analyzer.
PROGram[:SELected]:EXECute.................................................................................... 1319
PROGram[:SELected]:INIMessage................................................................................ 1320
PROGram[:SELected]:INIParameter.............................................................................. 1320
PROGram[:SELected]:NAME........................................................................................ 1321
PROGram[:SELected]:RETVal?.....................................................................................1322
PROGram[:SELected]:WAIT..........................................................................................1322
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.
The same applies to the Windows NT command prompt (cmd.exe). To access the
command prompt, proceed as follows:
Create a batch file (e.g. Start_cmd.bat) containing the command line
start cmd.exe and store the file to C:\Winnt\system32.
Execute the batch file: PROG:EXEC 'C:\winnt\system32\Start_cmd.bat'
The command prompt window is displayed in front of the VNA application. You can
also open several command prompt windows simultaneously.
Setting parameters:
<AppName> String variable containing the 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 cur-
rent directory (MMEMory:CDIRectory).
Blanks in the <AppName> can be used to separate the applica-
tion name from (optional) parameters.
SCPI command reference

Table of Contents

Related product manuals