EasyManua.ls Logo

Keysight 34972A - Example Programs for C and C++

Keysight 34972A
353 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
Loading...
Application Programs 6
Keysight 34970A/34972A User’s Guide 263
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 Keysight
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 Keysight 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.

Table of Contents

Related product manuals