EasyManuals Logo

Rigol DP2000 Series Programming Guide

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
Page #139 background imageLoading...
Page #139 background image
3. Add three CommandButton controls to represent CH1, CH2 and CH3 respectively.
Add three Text controls (Label1(0), Label1(1), and Label1(2)) to represent the
status of the three channels respectively (it displays gray by default; when the
channel is enabled, it displays the color of the channel), as shown in the figure
below.
4. Click Project > Project1 Properties to open the Project1 – Project Properties
dialog box. In the dialog box, click on the General tab and select Form1 from the
drop-down button under Startup Object.
5. Double-click CH1 to enter the programming environment. Add the following
codes to control CH1-CH3. The codes of CH1 are as shown below; the codes of the
other channels are similar.
Dim defrm As Long
Dim vi As Long
Dim strRes As String * 200
Dim list As Long
Dim nmatches As Long
Dim matches As String * 200 'Reserve the obtained device number
Dim s32Disp As Integer
' Obtain the usb resource of visa
Call viOpenDefaultRM(defrm)
Programming Examples
Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved.
131

Table of Contents

Other manuals for Rigol DP2000 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Rigol DP2000 Series and is the answer not in the manual?

Rigol DP2000 Series Specifications

General IconGeneral
BrandRigol
ModelDP2000 Series
CategoryPower Supply
LanguageEnglish

Related product manuals