Chapter 4 Programming Instances RIGOL
DL3000 Programming Guide 4-3
Excel Programming Instance
Program used in this instance: Microsoft Excel 2007
Function realized in this example: sending the *IDN? command and reading the instrument
information.
1. Create a new Excel file that enables the Macros, and name it "DL3000_Demo_Excel.xlsm".
2. Run the DL3000_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. Input the VISA descriptor into a cell of the file, as shown in the figure below. Click the Developer
menu and select the Visual Basic option to open the Microsoft Visual Basic.