Getting Started
6. Choose whether
the protocol should be None or Term inal. A communication
session run by a human at a keyboard typically uses a terminal protocol.
An automated session might handle its own communications without using
such a protocol.
7. If required, change the port number by rotating multipurpose knob a.
8. If required, press OK to set the new port number.
9. After setting u p the socket server parameters, you can n ow have the computer
“talk” to the oscilloscope. If you are running an MS Windows PC, you could
run its default client with its command-like interface. One way to do this is
by typing “
Telnet ” in the Run window. The Telnet window will open on
the PC.
NOTE. On MS Windows 7, y ou must first enable Telnet in order for it to work.
10. Start a terminal session between your computer and your oscilloscope b y
typing in an open command with the oscilloscope LAN address and port
#. You can obtain the LAN address by pushing the LAN panel to view the
resulting LAN setting panel. You can obtain the port # by tapping the Socket
Server panel and viewing the Port item.
For example, if the oscilloscope IP address was
123.45.67.89 and the port
# was the default of
4000, you could open a session by writing into the MS
Windows Telnet screen:
open 12 3.45.67.89 4000
The o scilloscope will send a help screen t o the computer when it is done
connecting.
11. You can now type in a standard query, as found in the programmer manual,
such as
*idn?
The Telnet session window will respond by displaying a character string
describing your i nstrument. You can type in more queries and view more
results on this Telnet session window. You can find the syntax for relevant
queries and related status codes in other sections of this manual.
NOTE. Do not use the computer’s backspace key during an MS Windows' Telnet
session with the oscilloscope.
Socket Server Terminal Protocol Mode Commands. Following are Tektronix
Instrument Control Terminal Session Control commands:
!t <timeout> : set the response timeout in milliseconds.
!d : send device c lear to the instrument.
1-6 MSO54, MSO56, MSO58, MSO58LP Programmer