Excel Programming Example - Rigol DS7034 User Programming Manual

Mso7000 series; ds7000 series; digital oscilloscope
Hide thumbs Also See for DS7034:
Table of Contents

Advertisement

Chapter 3 Programming Examples

Excel Programming Example

Program used in this instance: Microsoft Excel 2007
Function realized in this example: send the *IDN? command and read the instrument information.
1.
Open a new Macro-enabled Excel file and name it "MSO7000_Demo_Excel.xlsm".
2.
Run the MSO7000_Demo_Excel.xlsm file. Click FileOptions at the upper-left corner of the Excel file
to open the interface as shown in the figure below. Click Customize Ribbon at the left, check
Developer and click OK. At this point, the Excel menu bar displays the Developer menu.
3.
Enter a device resource descriptor into a cell of the file as shown in the figure below. For example, the
device resource descriptor is USB0::0x1AB1::0x0514::DS7B200112345::INSTR. Input it into
SHEET1.CELLS(1,2) (i.g. the B1 cell in Sheet1). Click the Developer menu and select the Visual
Basic option to open the Microsoft Visual Basic.
MSO7000/DS7000 Programming Guide
RIGOL
3-3

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ds7054Ds7024Ds7014Mso7034Mso7024Mso7014 ... Show all

Table of Contents