beautypg.com

Chapter 3 programming examples, Prepare for programming, Chapter 3 programming examples -1 – RIGOL DS1000D User Manual

Page 105: Prepare for programming -1

background image

Command Systems

RIGOL

Programming Guide for DS1000E, DS1000D Series

3-1

Chapter 3 Programming Examples



This chapter lists some programming examples about how to realize the basic
functions of the oscilloscope in the development environments of Visual C++ 6.0,
Visual Basic 6.0 or LabView 8.6. Users can programme the oscilloscope based on the
USB driver provided by RIGOL or VISA library. For VISA programming, your computer
must have been installed the NI-VISA which can be downloaded from

http://www.ni.com

. In the example, we assume NI-VISA is installed under

C:\Program Files\IVI Foundation\VISA.

Prepare for Programming

In this text, we use USB data cable to achieve the communication between DS1000E,
DS1000D and PC. See the figure below.

C

US

RS232

Pass/Fail out
(ISOLATEO)

After successful connection, turn on the instrument, a dialog will guide you to install
the driver of “Rigol USB Test and Measurement Device” on the PC. For VISA
programming, the driver should be “USB Test and Measurement Device”.








At present, you have finished the preparations. Next, we will give you some
programming examples in Visual C++ 6.0 and Visual Basic 6.0 or LabView 8.6.

This manual is related to the following products: