beautypg.com

RIGOL DG1000Z Series User Manual

Page 231

background image

Chapter 4 Programming Demos

RIGOL

DG1000Z Programming Guide

4-5

6

Add button control: click “Insert” in the “Developer menu”, select the desired button in “Form Controls”

and click a cell of the Excel to put the button into the cell. At this point, the “Assign Macro” interface is

displayed, select “Sheet1.QueryIdn” and click “OK”.

By default, the button name is “Button 1”. Right-click the button and select “Edit Text” in the pop-up

menu to change the button name to “*IDN?”.

7

Click “*IDN?” button inserted into the Excel file in the last step to run the program and the device

information is returned.