![Rigol DS4000E Series Programming Manual Download Page 262](http://html1.mh-extra.com/html/rigol/ds4000e-series/ds4000e-series_programming-manual_1460996262.webp)
RIGOL
Chapter 3 Programming Examples
3-2
DS4000E Programming Guide
resource (connected to PC via the USB interface) will be under the directory of "RIGOL Online
Resource" in the Ultra Sigma interface, with the model of the instrument and the USB information
displayed. In this instance, the USB VISA descriptor is
USB0::0x1AB1::0x04B1::DS4A0000000001::INSTR
By now, the programming preparations are complete. The following parts will make a detailed introduction
about the programming examples in Excel, LabVIEW, MATLAB, Visual Basic 6.0, and Visual C++ 6.0.
Excel Programming Example
Software used in this example: Microsoft Excel 2010
Function realized in this example: sending the *IDN? command and reading the instrument
information.
1.
Open a new Macro-enabled Excel file and name it "Demo_Excel.xlsm" in this example.
2.
Displays the Developer tab. Run the 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 time, the Excel menu bar displays the Developer tab.
3.
Enter the VISA descriptor into a cell of the file. In this example, input the VISA descriptor into
SHEET1.CELLS(1,2) (namely the B1 cell in Sheet 1) as shown in the figure below.