Programming demos, Chapter 4 programming demos, Chapter 4 – RIGOL DSG3000 Series User Manual
Page 157: Programming demos -1

RIGOL
DSG3000 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 (GPIB, 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:
Visual Basic Programming Demo