EasyManuals Logo

Rigol DS1074Z Plus Programming Guide

Rigol DS1074Z Plus
260 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 #255 background imageLoading...
Page #255 background image
Chapter 3 Programming Demos RIGOL
MSO1000Z/DS1000Z Programming Guide 3-13
Visual Basic Programming Demo
The program used in this demo: Visual Basic 6.0
The function realized in this demo: control the on/off state of any channel.
Enter Visual Basic 6.0 and operate according to the following steps:
1. Build a standard application program project (Standard EXE) and name it as Demo.
2. Click the Existing tab of ProjectAdd Module. Search for the visa32.bas file in the include folder
under the NI-VISA installation path and add the file.
3. Add four CommandButton controls to represent CH1 to CH4 respectively. Add four Label controls
(Label1(0), Label1(1), Label1(2), and Label1(3)) to represent the status of CH1 to CH4 respectively
(when the channel is enabled, it displays the color of the channel; when the channel is disabled, it
displays gray).The layout of the controls is as shown in the figure below.
4. Open the General tab in ProjectProject1 Properties and select Form1 in the Startup Object
dropdown box.
5. Double-click CH1 to enter the programming environment. Add the following codes to control CH1 to
CH4. The codes of CH1 are as shown below; the codes of 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

Table of Contents

Other manuals for Rigol DS1074Z Plus

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Rigol DS1074Z Plus and is the answer not in the manual?

Rigol DS1074Z Plus Specifications

General IconGeneral
TypeTabletop
Product type-
CertificationUL 61010-1:2004; CAN/CSA-C22.2 NO. 61010-1-2004; EN 61010-1:2001; IEC 61010-1:2001
Bandwidth70 MHz
Sampling rate- MS/s
Channels quantity4 channels
Minimum time base setting (per division)5 ns
Power consumption (max)50 W
Display diagonal7 \
Non-operating altitude3000 - 15000 m
Storage temperature (T-T)-40 - 70 °C
Operating temperature (T-T)0 - 50 °C
Weight and Dimensions IconWeight and Dimensions
Depth122.4 mm
Width313.1 mm
Height160.8 mm

Related product manuals