mDNS Service
The mDNS service name is registered with the selected naming service.
Each power supply is shipped with a default service name with the format: Keysight-modelnumberserialnumber,
where modelnumber is the power supply’s 7-character model number (e.g. E36154A), and serialnumber is the last
five characters of the 10-character power supply serial number located on the label on the top of the unit (e.g. 45678
if the serial number is MY12345678).
– The instrument receives a unique mDNS service name at the factory, but you may change it. The mDNS service
name must be unique on the LAN.
– The name must start with letter; other characters can be an upper- or lower-case letters, numeric digits, or
dashes ("-").
1. Press Utilities > I/O Config > LAN Settings > mDNS Off to configures the service name registered with the selec-
ted naming service automatically.
2. Press Utilities > I/O Config > LAN Settings > mDNS On to configure the service name of the instrument manu-
ally.
3. Select mDNS Service field using the navigation keys.
4. Press mDNS Srv and enter the service name with the keyboard provided.
5. Press Back to exit.
Using sockets
Power supplies allow any combination of up to two simultaneous data socket, control socket, and telnet con-
nections 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 system 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 the SRQ value is 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.
Keysight E36150 Series User's Guide
51