R&S ESCI RSIB Protocol
1166.6004.12 4.337 E-1
RSIB Protocol
The instrument is equipped with an RSIB protocol as standard, which allows the instrument to be
controlled by means of Visual C++ and Visual Basic programs, but also by means of the Windows
applications WinWord and Excel as well as National Instruments LabView, LabWindows/CVI and
Agilent VEE. The control applications run on an external computer in the network.
A UNIX operating system can be installed on an external computer in addition to a Windows operating
system. In this case, the control applications are created either in C or C++. The supported UNIX
operating systems include:
•
••
• Sun Solaris 2.6 Sparc Station
•
••
• Sun Solaris 2.6 Intel Platform
•
••
• Red Hat Linux 6.2 x86 Processors
Remote Control via RSIB Protocol
Windows Environment
To access the measuring instruments via the RSIB protocol, the file RSIB32.DLL must be copied to the
Windows system32 directory or to the directory of the control applications. For 16-bit applications, the
file RSIB.DLL must be additionally copied to the directories mentioned. The files RSIB.DLL and
RSIB32.DLL are included on the instrument in directory D:\R_S\Instr\RSIB.
For the different programming languages, there are files available that contain the declarations of the
DLL functions and the definition of the error codes.
Visual Basic (16 bit): 'RSIB.BAS' (D:\R_S\Instr\RSIB)
Visual Basic (32 bit): 'RSIB32.BAS' (D:\R_S\Instr\RSIB)
C:/C++: 'RSIB.H' (D:\R_S\Instr\RSIB)
For C/C++: programs, import libraries are additionally available.
Import library for RSIB.DLL: RSIB.LIB' (D:\R_S\Instr\RSIB)
Import library for RSIB32.DLL: RSIB32.LIB' (D:\R_S\Instr\RSIB)
The control is performed using the Visual C++ or Visual Basic programs WinWord, Excel, LabView,
LabWindows/CVI or Agilent VEE. Every application that can load a DLL is able to use the RSIB protocol.
The programs use the IP address of the instrument or its host name to set up the connection.
.
Via VisualBasic: ud = RSDLLibfind ("82.1.1.200", ibsta, iberr, ibcntl)
Return to manual operation is possible via the front panel (LOCAL key) or via the RSIB protocol:
Via RSIB: ud = RSDLLibloc (ud, ibsta, iberr, ibcntl);
or
ud = RSDLLibonl (ud, 0, ibsta, iberr, ibcntl);