Network operation and remote control
R&S
®
SGS100A
188User Manual 1173.9105.02 ─ 13
To build and install this driver, root authority is required.
1. Copy folder KernelDriver to your hdd
2. Go to directory host.
3. On the command line, enter make.
The driver sgshost.ko is automatically built.
4. Enter make install.
Device nodes sgsX are created under the folder /dev (X from 0 to 31).
The module sgshost is loaded.
5. Enter lsmod to verify the module.
12.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.
12.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.
Advanced remote control using PCIe