Chapter 4 programming demos, Chapter 4, Programming demos -1 – RIGOL DG1000Z Series User Manual

Page 227

Advertising
background image

Chapter 4 Programming Demos

RIGOL

DG1000Z Programming Guide

4-1

Chapter 4 Programming Demos

This chapter provides the demos for programming and controlling the signal generator using SCPI

commands under Excel, Matlab, LabVIEW, Visual Basic and Visual C++ environments 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 which 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

Advertising