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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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

4.10.1.2 UNIX Environment<br />

RSIB Protocol<br />

To access the measuring equipment via the RSIB interface, copy the<br />

librsib.so.X.Y file to a directory for which the control application has read<br />

rights. X.Y in the file name indicates the version number of the library, for example<br />

1.0.<br />

The librsib.so.X.Y library is created as a shared library. The applications using<br />

the library need not consider its version. They simply link the library with the lrsib<br />

option. The following instructions have to be observed so that linking can be successfully<br />

performed and the library can be found during program execution:<br />

File link:<br />

• Use the operating system command In to create a file with the link name<br />

librsib.so and pointing to librsib.so.X.Y in a directory for which the<br />

control application has read rights. Example:<br />

$ ln –s /usr/lib/librsib.so.1.0 /usr/lib/librsib.so<br />

Linker options for creating applications:<br />

• -lrsib : import library<br />

• -Lxxx : path information where the import library can be found. This is where the<br />

above file link has been created. Example: -L/usr/lib.<br />

Additional linker options for creating applications (only under Solaris):<br />

• -Rxxx: path information where the library is searched for during the program run:<br />

-R/usr/lib.<br />

Run-time environment:<br />

• Set environment variable LD_RUN_PATH to the directory in which the file link has<br />

been created. This is necessary only if librsib.so cannot be found in the<br />

default search path of the operating system and the -R linker option (only Solaris)<br />

was not specified.<br />

For C/C++ programming, the declarations of the library functions and the definition<br />

of error codes are contained in:<br />

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

Operating Manual 1313.9681.12 - 01 4.255

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

Saved successfully!

Ooh no, something went wrong!