FAQs from Rohde & Schwarz

Remote Control via Telnet

Question

I want to remote-control the signal generator via LAN and Telnet. How can I do this?

Answer

For proper operation of the SMA100A in a Telnet connection, the raw TCP/IP interface command should have the following syntax: telnet <ip-addr> <port-number>

The port number should be "5025". telnet <ip-addr> 5025

Remote control is possible via "Raw Ethernet". VISA is not required on the computer.

The instrument is also equipped with an interface for remote control:
- LAN interface: The network card uses 100 MHz Ethernet IEEE 802.3u.

For remote control, the instrument uses a simple Telnet protocol (port 5025). Unlike with VXI-11, no VISA installation is necessary on the remote controller side.

This protocol is sometimes also referred to as "socket communication" or "raw Ethernet mode". To control the instrument manually, you only need a Telnet program (which is part of every operating system).

Example of communicating with an instrument with the address "10.111.10.208":

View attached screen shots

Remote Control via Telnet
Remote Control via Telnet
Remote Control via Telnet

To write a program, only a socket communication must be established. The following program example shows a simple TcpClient class and how to use it:

Name
Type
Version
Date
Size
TopClient.h
Type
FAQ
Version
Date
21-Nov-2012
Size
1 kB
TopClient.ccp
Type
FAQ
Version
Date
21-Nov-2012
Size
3 kB
EthernetRawCommand.ccp
Type
FAQ
Version
Date
21-Nov-2012
Size
2 kB