Instructions

Chapter 4 Programming Examples RIGOL
DG2000 Programming Guide 4-5
6. Add the button control. Click Insert under the Developer menu, and select a button control under
the Form Controls menu item and put it into the Excel cell. At this time, the Assign Macro dialog
box is displayed, select "Sheet1.QueryIdn" and click OK.
The default name of the button is "Button1". Right-click the button and select Edit Text in the pop-up
menu to change the button name to "*IDN?".
7. Click the *IDN? button inserted into the Excel file in the last step to run the program and the device
information is returned.