
250
Chapter 6 Application Programs
Example Programs for C and C++
Example Programs for C and C++
The following C programming examples show you how to send and
receive formatted I/O. For more information on non-formatted I/O, refer
to the Agilent VISA
User’s Guide
. The examples in this section show you
how to use the SCPI commands for the instrument with the VISA
functionality and does not include error trapping. Error trapping,
however, is good programming practice and is recommended for your
application. For more information on error trapping, refer to the Agilent
VISA
User’s Guide
.
The example programs are written in Microsoft
Visual C++ Version
1.52 using project type “QuickWin application”, and using the large
memory model. Be sure to have access in the project to
visa.lib
or
visa32.lib
usually found in the
c:\vxipnp
or
c:\visa
directory.
34970A Refresh UG.book Page 250 Wednesday, February 17, 2010 12:34 PM
Summary of Contents for 34970A
Page 16: ...16 34970A Refresh UG book Page 16 Wednesday February 17 2010 12 34 PM ...
Page 20: ...34970A Refresh UG book Page 20 Wednesday February 17 2010 12 34 PM ...
Page 21: ...1 1 Quick Start 34970A Refresh UG book Page 21 Wednesday February 17 2010 12 34 PM ...
Page 39: ...2 2 Front Panel Overview 34970A Refresh UG book Page 39 Wednesday February 17 2010 12 34 PM ...
Page 59: ...3 3 System Overview 34970A Refresh UG book Page 59 Wednesday February 17 2010 12 34 PM ...
Page 87: ...4 4 Features and Functions 34970A Refresh UG book Page 87 Wednesday February 17 2010 12 34 PM ...
Page 217: ...5 5 Error Messages 34970A Refresh UG book Page 217 Wednesday February 17 2010 12 34 PM ...
Page 241: ...6 6 Application Programs 34970A Refresh UG book Page 241 Wednesday February 17 2010 12 34 PM ...
Page 254: ...254 34970A Refresh UG book Page 254 Wednesday February 17 2010 12 34 PM ...
Page 255: ...7 7 Tutorial 34970A Refresh UG book Page 255 Wednesday February 17 2010 12 34 PM ...
Page 324: ...324 34970A Refresh UG book Page 324 Wednesday February 17 2010 12 34 PM ...