Agilent Technologies 86100A Instrukcja Obsługi Strona 70

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 364
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 69
2-16
Sample Programs
Listings of the Sample Programs
#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
#define prim_addr 7
#define second_addr 0
#define timeout 13
#define eoi_mode 1
#define eos_mode 0
#endif
#define TRUE 1
#define FALSE 0
/* GLOBALS */
#ifdef AGILENT
INST bus;
INST scope;
#else
int bus;
int scope;
#endif
/* GPIB prototypes */
void init_IO ( );
void write_IO ( void* );
void write_lrnstr ( void*, long );
int read_IO ( void*, unsigned long );
int check_SRQ ( );
Przeglądanie stron 69
1 2 ... 65 66 67 68 69 70 71 72 73 74 75 ... 363 364

Komentarze do niniejszej Instrukcji

Brak uwag