Network and Remote Operation
R&S
®
FSPN
279
User Manual 1179.4363.02 ─ 01
Error queues
The error queue should be queried after every service request in the controller pro-
gram as the entries describe the cause of an error more precisely than the status regis-
ters. Especially in the test phase of a controller program the error queue should be
queried regularly since faulty commands from the controller to the instrument are
recorded there as well.
10.2
The IECWIN Tool
The R&S
FSPN is delivered with
IECWIN
installed, an auxiliary tool provided free of
charge by R&S. IECWIN is a program to send SCPI commands to a measuring instru-
ment either interactively or from a command script.
The R&S IECWIN32 tool is provided free of charge. The functionality may change in a
future version without notice.
IECWIN offers the following features:
●
Connection to instrument via several interfaces/protocols (GPIB, VISA, named pipe
(if IECWIN is run on the instrument itself), RSIB)
●
Interactive command entry
●
Browsing available commands on the instrument
●
Error checking following every command
●
Execution of command scripts
●
Storing binary data to a file
●
Reading binary data from a file
●
Generation of a log file
For command scripts, IECWIN offers the following features:
●
Synchronization with the instrument on every command
●
Checking expected result for query commands (as string or numeric value)
●
Checking for expected errors codes
●
Optional pause on error
●
Nested command scripts
●
Single step mode
●
Conditional execution, based on the *IDN and *OPT strings
You can use the IECWIN to try out the programming examples provided in the
R&S
FSPN User Manuals.
Starting IECWIN
IECWIN is available from the Windows "Start" menu on the R&S
FSPN, or by execut-
ing the following file:
The IECWIN Tool