
Annex
NRP2
364
User Manual 1173.9140.02 ─ 07
Table 1-7: Additional control sequences:
Control
sequences
Transmitter
Function
>M
Controller
go to mixed
Changes the remote-local state to local & remote
>R
Controller
go to remote
Changes the remote-local state to remote
&DCL
Controller
device clear
Initiates a device clear
&ABO
Controller
abort
Asynchronous device clear
A.2.3.2
Architecture of the Ethernet interface
The R&S
NRP2 offers a listener socket for connection queries. If the listener socket
accepts a connection query, two related peer sockets will be created (link 1 and link 2)
via which communications take place. The R&S
NRP2 accepts the role of the server,
and the remote control program is the client.
Link 1 is used to transmit the SCPI commands and the response data. Link 2 is
reserved for service request messages (SRQ) and for an abort of the remote-control
function being currently performed. Since the two links share the same IP address and
port number, the sequence of the connection setup determines their allocation. Link 1
is the first accepted link and link 2 the second. In the 1174.0 mode, only the first link is
used.
Program example for the Ethernet interface
This example is a simple Windows program that displays the programming with sock-
ets.
/************************************************************************
*************************************************************************
Remote control interfaces
北京海洋兴业科技股份有限公司(证券代码:839145)
电话:010-62176775
网址:www.hyxyyq.com