Instructions
Chapter 4 Programming Demos RIGOL
DSG800 Programming Guide 4-1
Chapter 4 Programming Demos
This chapter provides the demos for programming and controlling the RF signal generator 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 the instrument in the same method regardless of the type of the
instrument interface (USB or LAN/Ethernet).
The instrument communicating with NI-VISA via various interfaces is called "resource". 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.3.199::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