Instructions

RIGOL Chapter 4 Programming Examples
4-18 DG2000 Programming Guide
Visual C++ Programming Example
Program used in this example: Microsoft Visual C++ 6.0
Function realized in this example: search for the instrument address, connect to the instrument, send
and read commands.
1. Run Microsoft Visual C++ 6.0. Create a MFC project based on a dialog box and name it
"DG2000_Demo_VC".
2. Click Project Settings and add visa32.lib in the Link tab in the pop-up interface manually.