EasyManua.ls Logo

Rigol DP2000 Series - Visual Basic Programming Example

Rigol DP2000 Series
145 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
5. Run the program and the interface as shown in the figure below is displayed. Click
the Address drop-down button and select the VISA resource name; click Connect
to connect the instrument; enter the command into the Command input field and
click Write to write the command into the instrument. If the command is a query
command, click Read and the returned value is displayed in the Return field.
5.3 Visual Basic Programming Example
Program used in this example: Visual Basic 6.0
Function realized in this example: turn on the power supply’s three channels with
their color displayed.
Enter the Visual Basic 6.0 programming environment, and perform the following
procedures.
1. Build a standard application program project (Standard EXE), and name it "Demo".
2. Click Project > Add Module to open the Add Module dialog box. In the dialog
box, click the Existing tab to search for the visa32.bas file in the include folder
under the NI-VISA installation path and add the file.
Programming Examples
130
Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved.

Table of Contents

Other manuals for Rigol DP2000 Series

Related product manuals