Using Sockets
Power supplies allow any combination of up to six simultaneous data socket, control
socket, and telnet connections to be made.
Keysight instruments have standardized on using port 5025 for SCPI socket services. A data socket on
this port can be used to send and receive ASCII/SCPI commands, queries, and query responses. All
commands must be terminated with a newline for the message to be parsed. All query responses will
also be terminated with a newline.
The socket programming interface also allows a control socket connection. The control socket can be
used by a client to send device clear and to receive service requests. Unlike the data socket, which
uses a fixed port number, the port number for a control socket varies and must be obtained by sending
the following SCPI query to the data socket:
SYSTem:COMMunicate:TCPip:CONTrol?
After the port number is obtained, a control socket connection can be opened. As with the data socket,
all commands to the control socket must be terminated with a newline, and all query responses
returned on the control socket will be terminated with a newline.
To send a device clear, send the string "DCL" to the control socket. When the power analyzer has
finished performing the device clear it echoes the string "DCL" back to the control socket.
Service requests are enabled for control sockets using the Service Request Enable register. Once
service requests have been enabled, the client program listens on the control connection. When SRQ
goes true the instrument will send the string "SRQ +nn" to the client. The "nn" is the status byte value,
which the client can use to determine the source of the service request.
Using Telnet
In an MS-DOS Command Prompt box type: telnet hostname 5024 where hostname is the instrument's
hostname or IP address, and 5024 is the instrument’s telnet port.
You should get a Telnet session box with a title indicating that you are connected to the power
analyzer. Type the SCPI commands at the prompt.
Securing the LAN
You can enable or disable a number of LAN services. All LAN services are enabled when shipped. To
enable or disable selected LAN services from the front panel, select Utilities, then select I/O
Configuration, LAN Settings, then Services...
Keysight N6705C Operating and Service Guide
187
5 Using the System Functions
Summary of Contents for N6705C
Page 76: ......
Page 353: ...Status Diagram Keysight N6705C Operating and Service Guide 353 7 SCPI Programming Reference ...
Page 376: ...8 Verification and Calibration 376 Keysight N6705C Operating and Service Guide ...
Page 389: ...Keysight N6705C Operating and Service Guide 389 8 Verification and Calibration ...
Page 434: ......
Page 438: ...9 Service and Maintenance 438 Keysight N6705C Operating and Service Guide ...
Page 460: ...9 Service and Maintenance 460 Keysight N6705C Operating and Service Guide ...
Page 461: ...Keysight N6705C Operating and Service Guide 461 9 Service and Maintenance ...
Page 462: ...9 Service and Maintenance 462 Keysight N6705C Operating and Service Guide ...
Page 463: ...Keysight N6705C Operating and Service Guide 463 9 Service and Maintenance ...
Page 470: ...Mezzanine Parts 9 Service and Maintenance 470 Keysight N6705C Operating and Service Guide ...
Page 471: ...Front Panel Parts Keysight N6705C Operating and Service Guide 471 9 Service and Maintenance ...
Page 476: ......