Agilent Technologies E1564A, E1563A Digitizers Application Examples, Introduction, Programming

Models: E1563A E1564A

1 173
Download 173 pages 42.87 Kb
Page 42
Image 42

Digitizers Application Examples

 

This section contains example programs that demonstrate some E1563A or

 

E1564A Digitizer applications. The examples list only the SCPI commands

 

required to perform the application. You can use these examples to help you

 

develop programs for your specific application

Introduction

Example programs are provided on the VXIplug&play media that have been

 

compiled and tested using Microsoft® Visual C++™ Version 1.51 for the

 

C programs. All C language example programs are written for the 82341

 

GPIB Interface Card using the Agilent VISA I/O Library.

Programming

All projects written in C programming language require the following

Requirements

Microsoft® Visual C++™ Version 1.51 settings to work properly:

 

Project Type: QuickWin application (.EXE)

 

Project Files: <source code file name>.C

 

[drive:]\VXIPNP\WIN\LIB\MSC\VISA.LIB (Microsoft® compiler)

 

[drive:]\VXIPNP\WIN\LIB\BC\VISA.LIB (Borland® compiler)

 

Memory Model: Options Project Compiler Memory Model Þ

 

Large

 

Directory Paths: Options Directories

 

Include File Paths: [drive:]\VXIPNP\WIN\INCLUDE

 

Library File Paths: [drive:]\VXIPNP\WIN\LIB\MSC (Microsoft®)

 

[drive:]\VXIPNP\WIN\LIB\BC (Borland®)

 

Example programs: On the Universal Instrument Drivers CD.

NOTE

 

You can find instructions to compile C language programs for a PC in the

 

Agilent VISA User’s Guide. See the section "Compiling and Linking a

 

VISA Program".

Hardware Used

 

PC running Windows with an 82341 GPIB interface. The VXI modules are

 

installed in a VXI C-Size mainframe. An E1406A Command Module is the

 

resource manager and is connected to the PC via an 82341 GPIB card.

42 Using the Digitizers

Chapter 2

Page 42
Image 42
Agilent Technologies E1564A, E1563A user manual Digitizers Application Examples, Introduction, Programming, Requirements