Chapter 3 Programming Examples
RIGOL
Programming Guide for DSA1000A series
3-11
Program in Visual Basic 6.0
Open Visual Basic 6.0, take the following steps:
1.
Create a
Standard EXE
project.
2.
Choose
Project
→
Add File…
and add the file
“visa32.bas”
that contains all
VISA functions and constant statements.
Then add
Declare Sub Sleep Lib "kernel32"
(ByVal dwMilliseconds As Long)
statement into the
visa32.bas
, or create a new module to declare the
Sleep
function.
3.
Add controls: Text, Edit and Button, see figure below:
Summary of Contents for DSA1000A Series
Page 1: ...RIGOL Programming Guide DSA1000A Series Spectrum Analyzer May 2011 RIGOL Technologies Inc...
Page 2: ......
Page 14: ......
Page 137: ...Chapter 3 Programming Examples RIGOL Programming Guide for DSA1000A series 3 3...
Page 154: ...RIGOL Chapter 3 Programming Examples Programming Guide for DSA1000A series 3 20 6 Exit code...
Page 158: ...RIGOL Chapter 3 Programming Examples Programming Guide for DSA1000A series 3 24...