![Agilent Technologies Series N6700 User Manual Download Page 99](http://html1.mh-extra.com/html/agilent-technologies/series-n6700/series-n6700_user-manual_2868448099.webp)
Series N6700 User’s Guide
99
7
Programming Examples
This chapter contains several example programs to help you develop
programs for your own application. The example programs are for
illustration only, and are provided with the assumption that you are
familiar with the programming language being demonstrated and the
tools used to create and debug procedures. See Chapter 6, “Language
Dictionary” for the SCPI command syntax.
You have a royalty-free right to use, modify, reproduce and distribute
the example programs (and/or any modified version) in any way you
find useful, provided that you agree that Agilent Technologies has no
warranty, obligations, or liability for any example programs.
The example programs are in Microsoft Visual BASIC 6.0 using the
VISA COM IO library. You must first load the VISA COM library to
use these examples. The VISA COM IO library is available with
version M or later of the Agilent IO libraries for Windows.
NOTE
Before using the example code in Visual BASIC, you must reference two VISA
COM objects. In Visual BASIC, go to
Projects>References
and select
Agilent
VISA COM Resource Manager 1.0
(filename= AgtRM.dll) and
VISA COM 1.0
Type Library
(filename = VisaCom.tlb). To use this sample code in Visual Basic
.NET, see the VISA COM documentation to reference VISA COM in a Visual
BASIC project. Copy the code provided in this chapter and call the subroutine
for each example.
Microsoft, and Visual BASIC, and Windows are U.S. registered trademarks of Microsoft
Corporation.