3 Programming Demos RIGOL
DS2000E Programming Guide 3-1
3 Programming Demos
This chapter lists the programming demos to illustrate how to program and control the oscilloscope in the
development environments of Excel, LabVIEW, MATLAB, Visual Basic 6.0, and Visual C++ 6.0 using SCPI
commands on the basis of NI-VISA.
NI-VISA (National Instrument-Virtual Instrument Software Architecture) is an advanced application
programming interface developed by NI (National Instrument) and is used for communication with
various instrument buses. It communicates with instruments in the same method regardless of the type of
the instrument interface (GPIB, USB, LAN/Ethernet or RS232).
NI-VISA calls the instruments that communicate with it via various interfaces as "resources". The VISA
descriptor (namely the resource name) is used to describe the accurate name and location of the VISA
resource. For example, when the LAN interface is used to communicate with the instrument, the VISA
descriptor is TCPIP::172.16.3.4::INSTR.
Before programming, acquire the correct VISA descriptor.
The topics of this chapter:
Programming Preparations
Excel Programming Demo
LabVIEW Programming Demo
MATLAB Programming Demo
Visual Basic 6.0 Programming Demo
Visual C++ 6.0 Programming Demo