EasyManua.ls Logo

Agilent Technologies 86100A

Agilent Technologies 86100A
366 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...
2-26
Sample Programs
C Programming Examples
GPIB Header File
File: gpibdecl.c
/* gpibdecl.h */
/*
* This file includes necessary prototypes and declarations for
* the example programs for the Agilent 86100*/
*/
/*
* User must indicate which GPIB card (Agilent or National) is being used.
* Also, if using a National card, indicate which version of windows
* (WIN31 or WIN95) is being used.
*/
#define AGILENT /* Uncomment if using AGILENT interface card */
/* #define NATL */
/* #define WIN31 */ /* For National card ONLY - select windows version */
#define WIN95
#ifdef AGILENT
#include <sicl.h>
#else
#ifdef WIN95
#include <windows.h> /* include file for Windows 95 */
#include <decl-32.h>
#else
#include <windecl.h> /* include file for Windows 3.1 */
#endif
#endif
#define CME 32
#define EXE 16
#define DDE 8
#define QYE 4
#define SRQ_BIT 64
#define MAX_LRNSTR 14000
#define MAX_LENGTH 4096
#define MAX_INT 4192
#ifdef AGILENT
#define DEVICE_ADDR "hpib7,7"
#define INTERFACE "hpib7"
#else
#define INTERFACE "hpib0"
#define board_index 0

Other manuals for Agilent Technologies 86100A

Related product manuals