RIGOL
Chapter 3
Programming Examples
Programming Guide for DSA1000A series
3-22
Linux Programming Example
This section demonstrates how to use commands to control the analyzer to realize
common functions in Linux operation system.
Prepare for Programming
1.
Programming environment used:
Operation system: Fedroa 8 (Linux-2.6.23)
GCC version: gcc-4.1.2
2.
Install VISA library: make sure your computer has installed VISA library of NI (see
). If not, install it following the steps below:
First, download the VISA library (NI-VISA-4.4.0.ISO) from NI website.
Create a new directory
#mkdir NI_VISA
Mount the
iso
file
#mount -o loop -t iso9660 NI-VISA-4.4.0.iso NI_VISA
Enter the
NI_VISA
directory to install
#cd NI_VISA
#./INSTALL
Unload the
iso
file
#umount NI_VISA
After the installation finishes, the default installation path is
/usr/local
.
3.
As shown in the figure below, use network cable to connect the LAN interface at
the rear panel of the analyzer with the LAN interface of the PC for communication.
Users can also use network cable to connect the analyzer to the local network of
the PC.
Summary of Contents for DSA1000A Series
Page 1: ...RIGOL Programming Guide DSA1000A Series Spectrum Analyzer May 2011 RIGOL Technologies Inc...
Page 2: ......
Page 14: ......
Page 137: ...Chapter 3 Programming Examples RIGOL Programming Guide for DSA1000A series 3 3...
Page 154: ...RIGOL Chapter 3 Programming Examples Programming Guide for DSA1000A series 3 20 6 Exit code...
Page 158: ...RIGOL Chapter 3 Programming Examples Programming Guide for DSA1000A series 3 24...