User manual
49
User Manual
Interface cards IF-XX
EN
Date: 04-09-2012
About the interface cards
9.3 Communicating with the device
General information
The communication with the device is done with the TCP/
IP protocol via a user-selectable port. The default port is
1001. The port can only be changed on the device website,
see section 9.2.3 for more information. Following ports are
available:
Port 80: HTTP
Ports 0-65535, except 80: TCP/IP
9.3.1 Communication via HTTP
The network cards features a HTTP server. When accessing
the IP of the device by a web browser, a graphical user in-
terface appears which displays information about the device
such as device type, nominal values, actual values and set
values. This web site can also be used to remotely control
the device and configure the network settings.
Remote control is done with SCPI commands. The command
set is described in external user guides. Refer to section „13.
Programming“ for an overview. The commands are input as
plain ASCII strings into the command line and sent by hitting
the Return key or by clicking the SEND button. The error and
response box below the command line will report errors and
display queried values.
Notes & requirements:
• Requires Javascript enabled for refresh and content
• Refresh interval (values, status): 200ms
• SCPI commands can also be entered in lowercase
• The web site allows port selection for TCP/IP communi-
cation
9.3.2 Communication in LabView
LabView has implemented VIs for interface communication
via TCP/IP (VISA) by default. These can be used according to
their given handling instruction. Further information can also
be found on the internet. There is also a set of VIs included
on the tools CD, which will simplify the remote control of your
device via Ethernet.
9.3.3 Communication in other programming languages
The user has to establish the appropriate communication
with TCP/IP protocol in order to transport SCPI commands as
correct ASCII strings to the device. Based upon the manifold
of operating systems and programming languages, there are
no libraries (DLL) or code examples available.
For a socket connection, only IP and port of the target device
are required. The port can only be changed via the device
website and is stored on the interface card.
It is allowed to keep the socket connection open as long
as communication with the device is continued. Permanent
closing and opening of the socket is also possible, but con-
sumes more time.
9.3.4 Communication via the USB port
The Ethernet card features an additional interface, a USB
port of type A. This interface works identically to the IF-U1
USB card,. Also see section 5.
When using USB, following applies:
• No SCPI commands, no TCP/IP, no HTTP, no website
• Transmission speed is xed to 57600 baud
• USB driver required
• Communication via LabView and other languages only with
the object orientated communication protocol (see section
7.) resp. the corresponding LabView VIs.
IF-Ex: Javascript error