Chapter 3 Programming Examples
RIGOL
Programming Guide for DSA1000A series
3-25
Linux Programming Guide
First, using one of the two methods below to add the library location to the search
path of the library so as to automatically load the installed library files.
Method 1: indicate the search path of the library in the environment variable
LD_LIBRARY_PATH
.
Operation method: add the library file path
/usr/local/lib
to the
LD_LIBRARY_PATH
viarable in the
/etc/profile
file, as shown in the figure below.
Method 2: add the search path of the library to the
/etc/ld.so.conf
file.
Adding method:
#echo “/usr/local/lib” >> /etc/ld.so.conf
, as shown in the
figure below.
After setting the search path of the library in
/etc/ld.so.conf
, execute the
/sbin/ldconfig
command to update
/etc/ld.so.cache
(this command must have
root right) so as to locate the library when executing the program.
Содержание DSA1000A Series
Страница 1: ...RIGOL Programming Guide DSA1000A Series Spectrum Analyzer May 2011 RIGOL Technologies Inc...
Страница 2: ......
Страница 14: ......
Страница 137: ...Chapter 3 Programming Examples RIGOL Programming Guide for DSA1000A series 3 3...
Страница 154: ...RIGOL Chapter 3 Programming Examples Programming Guide for DSA1000A series 3 20 6 Exit code...
Страница 155: ...Chapter 3 Programming Examples RIGOL Programming Guide for DSA1000A series 3 21 7 Execute results...
Страница 158: ...RIGOL Chapter 3 Programming Examples Programming Guide for DSA1000A series 3 24...