Chapter 4 Programming Demos  RIGOL 
DP800 Programming Guide  4-1 
Chapter 4  Programming Demos 
 
This chapter provides the demos for programming and controlling the power supply using SCPI commands 
under Excel, Matlab, LabVIEW, Visual Basic and Visual C++ environment 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) for communicating with various instrument 
buses. It can communicate with instrument in the same method regardless of the type of the instrument 
interface (GPIB, USB, LAN/Ethernet or RS232). 
 
The instruments communicate with NI-VISA via various interfaces are called “resources”. The VISA 
descriptor (namely the resource name) is used to describe the accurate name and location of the VISA 
resource. If LAN interface is currently used for communicating with the instrument, the VISA descriptor 
is :TCPIP0::172.16.2.13::INSTR. Before programming, please acquire the correct VISA descriptor. 
 
Main topics of this chapter: 
  Programming Preparations 
  Excel Programming Demo 
  Matlab Programming Demo 
  LabVIEW Programming Demo 
  Visual Basic Programming Demo 
  Visual C++ Programming Demo