Example Programs For C And C - HP 34970A User Manual

Data acquisition / switch unit
Table of Contents

Advertisement

Chapter 7 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 HP 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
HP 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
or
visa.lib
usually found in the c:\vxipnp or c:\visa directory.
visa32.lib
328

Advertisement

Table of Contents
loading

Table of Contents