Instructions

Table Of Contents
Chapter 3 Programming Examples RIGOL
RSA5000 Programming Guide 3-3
Visual C++ 6.0 Programming Example
Enter the Visual C++6.0 programming environment, and perform the following procedures.
1. Create a MFC project based on a dialog box and name it "DemoForRSA" in this example.
2. Click Project Settings to open the "Project Setting" 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.
3. Click Tools Options to open the "Options" dialog box. Then, click the Directories tab.
Select Include files from the drop-down list under Show directories for. Double click the empty
space under Directories to enter the specified path of Include files: C:\Program Files\IVI
Foundation\VISA\WinNT\include. Click OK to close the dialog box.
Select Library files from the drop-down list under Show directories for. Double click the empty
space under Directories to enter the specified path of Library files: C:\Program Files\IVI
Foundation\VISA\WinNT\lib\msc. Click OK to close the dialog box.
Note: The two paths added here are related to the installation path of NI-VISA on your PC. By default,
NI-VISA is installed under C:\Program Files\IVI Foundation\VISA.