Chapter 4 Programming Examples
RIGOL
DG900 Programming Guide
4-3
Excel Programming Examples
Program used in this instance: Microsoft Excel 2007
Function realized in this example: send the *IDN? command and read the instrument information.
1.
Create a new Excel file that enables the Macros and name it "DG900_Demo_Excel.xlsm".
2.
Run the DG900_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 USB ID into a cell of the Excel file. Click the Developer menu and select the Visual Basic
option to open the Microsoft Visual Basic.
4.
Select Tools(T) in the Microsoft Visual Basic menu bar and click References.
In the displayed dialog box, select VISA Library, and click OK to refer to VISA Library.
Summary of Contents for DG952
Page 2: ......
Page 168: ......
Page 181: ...Chapter 4 Programming Examples RIGOL DG900 Programming Guide 4 7 ...
Page 185: ...Chapter 4 Programming Examples RIGOL DG900 Programming Guide 4 11 ...
Page 187: ...Chapter 4 Programming Examples RIGOL DG900 Programming Guide 4 13 ...
Page 199: ...Chapter 4 Programming Examples RIGOL DG900 Programming Guide 4 25 ...
Page 200: ......