Instructions

Table Of Contents
Chapter 3 Programming Examples RIGOL
RSA5000 Programming Guide 3-27
rm demo $(obj)
5. Run the results.
1) #make
2) ./demo
3) When the program runs, the instrument is connected automatically. If no instrument is found, a
prompt message "No VISA equipment!" is displayed, and the system exits the program. If the
instrument is found and successfully connected, the following interface is displayed, as shown in
the figure below.
4) Input write<command> (for example, write<*IDN?>) to write the command into the spectrum
analyzer.
5) Input "read" to read the return value, as shown in the figure below.