®
R&S
SGT100A
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
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 rssgt_vxi.chm shows all functions of the instrument which you can use
in your own remote control program.
An example file is provided ( SgtDriverDemo.c), too.
Building the example program (Linux)
1. Copy folders InstrumentDriver and SgtDriverDemo to your hard disk.
2. Go to folder Build
3. On the command line, enter cmake ..
4. Enter make
Folder Build contains the executable SgtDriverDemo.
Building the example program (Windows)
1. Copy folders InstrumentDriver and SgtDriverDemo to your hard disk.
2. Open SgtDriverDemo.vcproj with Visual Studio.
3. Build the program.
User Manual 1176.8674.02 ─ 07
two files e.g. by changing the /etc/environment file.
Network and Remote Control Operation
Advanced Remote Control Using PCIe
289