
R&S NRP
Remote Control - Fundamentals
1144.1400.12 5.13
E-3
Device Model and Command Processing
The device model shown in
Fig. 5-2
was prepared from the point of view of the processing of remote
control commands. The individual components operate independently of each other and
simultaneously. They communicate with each other by means of messages.
IEC/IEEE
Bus
Ethernet
Device hardware
Output unit
Input unit
Command
identification
(parser)
Status reporting system
Data set
Ethernet
Input unit
Output unit
IEC/IEEE
Bus
Fig. 5-2: Device model for remote control
Input Unit
The input unit receives the commands in the form of characters from the remote control interface and
collects them in the input buffer. The input unit sends a message to the command identification as soon
as the input buffer is full or as soon as it receives a delimiter. The received data is processed in the
parser (command identification).
Command Identification (Parser)
The parser analyzes the data received from the input unit. Data is processed in the sequence in which it
was received. Syntax errors in the command are recognized and passed on to the status reporting
system. Following the syntax test, the value range of the data is verified and the setting is adapted.
Only after the command has been completely executed will the next command be processed.
Data Base and Device Hardware
The term "device hardware" refers to that part of the device which performs the measurement function.
The data base contains all parameters required for setting the device hardware. Setting commands
cause a modification of the data set. Before the data is entered in the data set, it is verified for
compatibility both with the other data and with the device hardware. If the setting is not possible, an
error message will be sent to the status reporting system and the setting will be ignored. After
successful completion of the verification, the setting will immediately be performed.
If the setting influences the result calculation, the MEASuring bit is set in the status operation register
until new measured values are available. The MEASuring bit is described in more detail in the Status
Reporting System section that follows. This bit may be used for the synchronization of command
processing. Queries cause the data-set management to send the desired data to the output unit.