18.12.2012 Views

R&S FSQ Signal Analyzer - Rohde & Schwarz

R&S FSQ Signal Analyzer - Rohde & Schwarz

R&S FSQ Signal Analyzer - Rohde & Schwarz

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

R&S <strong>FSQ</strong> Instrument Functions<br />

4.10 RSIB Protocol<br />

RSIB Protocol<br />

The instrument is equipped with an RSIB protocol as standard, which allows the<br />

instrument to be controlled by means of Visual C++ and Visual Basic programs, but<br />

also by means of the Windows applications WinWord and Excel as well as National<br />

Instruments LabView, LabWindows/CVI and Agilent VEE. The control applications<br />

run on an external computer in the network.<br />

A UNIX operating system can be installed on an external computer in addition to a<br />

Windows operating system. In this case, the control applications are created either<br />

in C or C++. The supported UNIX operating systems include:<br />

• Sun Solaris 2.6 Sparc Station<br />

• Sun Solaris 2.6 Intel Platform<br />

• Red Hat Linux 6.2 x86 Processors<br />

4.10.1 Remote Control via RSIB Protocol<br />

4.10.1.1 Windows Environment<br />

To access the measuring instruments via the RSIB protocol, the file RSIB32.DLL<br />

must be copied to the Windows system32 directory or to the directory of the control<br />

applications. For 16-bit applications, the file RSIB.DLL must be additionally copied<br />

to the directories mentioned. The files RSIB.DLL and RSIB32.DLL are included on<br />

the instrument in directory D:\R_S\Instr\RSIB.<br />

For the different programming languages, there are files available that contain the<br />

declarations of the DLL functions and the definition of the error codes.<br />

Visual Basic (16 bit): 'RSIB.BAS' (D:\R_S\Instr\RSIB)<br />

Visual Basic (32 bit): 'RSIB32.BAS' (D:\R_S\Instr\RSIB)<br />

C:/C++: 'RSIB.H' (D:\R_S\Instr\RSIB)<br />

For C/C++: programs, import libraries are additionally available.<br />

Import library for RSIB.DLL: RSIB.LIB' (D:\R_S\Instr\RSIB)<br />

Import library for RSIB32.DLL: RSIB32.LIB' (D:\R_S\Instr\RSIB)<br />

The control is performed using the Visual C++ or Visual Basic programs WinWord,<br />

Excel, LabView, LabWindows/CVI or Agilent VEE. Every application that can load a<br />

DLL is able to use the RSIB protocol. The programs use the IP address of the instrument<br />

or its host name to set up the connection.<br />

Via VisualBasic:<br />

ud = RSDLLibfind ("82.1.1.200", ibsta, iberr, ibcntl)<br />

Return to manual operation is possible via the front panel (LOCAL key) or via the<br />

RSIB protocol:<br />

Via RSIB:<br />

ud = RSDLLibloc (ud, ibsta, iberr, ibcntl);<br />

or<br />

ud = RSDLLibonl (ud, 0, ibsta, iberr, ibcntl);<br />

4.254 Operating Manual 1313.9681.12 - 01

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!