Chapter 4 Programming Instances RIGOL
DL3000 Programming Guide 4-13
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.
In the "Directories" tab, 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: By now, VISA library has been added.
5. Add Text, Com box, Button, and Edit controls. The layout interface is as follows:
6. Modify the control attributes.
1) Name "Text" as "Command".
2) Open the Data item in the Com box attribute and input the following command manually.
*IDN?
3) Open the General item in the Edit attribute and select Disable.
4) Name "Button" as "Send and Read".
7. Add the variables "m_combox" and "m_receive" for the Com box and Edit controls respectively.