RIGOL Chapter 4 Programming Instances
4-12 DL3000 Programming Guide
Visual C++ Programming Instance
Program used in this example: Microsoft Visual C++6.0
Function realized in this example: sending the *IDN? command and reading the instrument
information.
1. Run Microsoft Visual C++6.0. Create a MFC project based on a dialog box.
2. Click ProjectSettings to open the "Project Settings" dialog box. In the dialog box, click the
"C/C++" tab, select Code Generation from the drop-down list under Category. Choose Debug
Multithreaded DLL from the drop-down list under Use run-time library. Click OK to close the
dialog box.
3. Click ProjectSettings to open the "Project Settings" dialog box. In the dialog box, click the "Link"
tab, add "visa32.lib" under Object/library modules, then click OK to close the dialog box.
4. Click ToolsOptions to open the "Options" dialog box. Then, click the "Directories" tab.