EasyManua.ls Logo

Rohde & Schwarz SGS100A - Building a Program; Making Shared Libraries Accessible

Rohde & Schwarz SGS100A
324 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Network and Remote Control Operation
R&S
®
SGS100A
175User Manual 1173.9105.02 ─ 12
10.3.3.2 Making Shared Libraries Accessible
Two library files per operating system are included in SharedLibraries-Dlls file:
For Linux operating system
libsocketcontroller.so and libpciecontroller.so
For Windows operating system
SocketController.dll and PCIeController.dll
These libraries act as the dynamic link libraries for programs using the socket or PCIe
interface.
Linux operating system
To make the libraries accessible, perform one of the following:
a) Append the environment variable LD_LIBRARY_PATH with the path of these
two files e.g. by changing the /etc/environment file.
b) Move these two files to /usr/lib or /lib directory.
Windows operating system
To make the libraries accessible, perform one of the following:
a) Copy these two files to the folder of your executable.
b) Copy these two files to the WINDOWS\system32 folder.
10.3.3.3 Building a Program
The help file rssgs_vxi.chm shows all functions of the instrument which you can use
in your own remote control program.
An example file is provided ( SgsDriverDemo.c), too.
Building the example program (Linux)
1. Copy folders InstrumentDriver and SgsDriverDemo to your hard disk.
2. Go to folder Build
3. On the command line, enter cmake ..
4. Enter make
Folder Build contains the executable SgsDriverDemo.
Building the example program (Windows)
1. Copy folders InstrumentDriver and SgsDriverDemo to your hard disk.
2. Open SgsDriverDemo.vcproj with Visual Studio.
3. Build the program.
Advanced Remote Control Using PCIe

Table of Contents

Related product manuals