SYSTem:COMMunicate:LAN:TELNet:PROMpt
SYSTem:COMMunicate:LAN:TELNet:PROMpt
SYSTem:COMMunicate:LAN:TELNet:WMESsage
This functionality is available on the 34972A only.
Syntax
SYSTem:COMMunicate:LAN:TELNet:PROMpt "<string>"
SYSTem:COMMunicate:LAN:TELNet:PROMpt?
SYSTem:COMMunicate:LAN:TELNet:WMESsage "<string>"
SYSTem:COMMunicate:LAN:TELNet:WMESsage?
Description
These commands set the command prompt and welcome message that are displayed when you use a Telnet session to communicate with the instrument.
Parameters
Name Type Range of Values Default Value <string> Quoted ASCII String A string of up to 15 characters (prompt) or 63 characters (welcome message). "34972A> " (prompt)
"Welcome to Keysight's 34972A Switch/Measure Unit" (welcome message)
Remarks
- The Telnet port is an alternate way to send SCPI commands to the instrument.
- Port 5024 is used for SCPI Telnet sessions.
- Telnet session can typically be started as follows from a host computer shell:
telnet <IP_address> <port>
For example:
telnet 169.254.4.10 5024
To exit a Telnet session, press <Ctrl-D>. - The command prompt and welcome message are stored in non-volatile memory, and they do not change when power has been off or after a Factory Reset (*RST command).
- The following image shows both the prompt and the welcome message.
Return Format
The queries return the command prompt or welcome message as ASCII strings enclosed in double quotes.
Examples
The following command defines the command prompt.
SYST:COMM:LAN:TELN:PROM "Command>"
The following query returns the command prompt currently being used (the quotes are also returned).
SYST:COMM:LAN:TELN:PROM?
Typical Response: "Command>"