printf("

**** Channel 1

****

**** Channel 2 ****\n");

printf("

Seg 1 Seg

2

Seg 1 Seg 2\n");

printf("

---------- ----------

---------- ----------\n");

Reading = Readings;

Reading2 = Readings + NReadings;

for (ReadCnt = 1; ReadCnt <= NReadings; ReadCnt++) { printf("%2d%+10.4f%+10.4f %+10.4f%+10.4f\n",ReadCnt,

Scale*LOWORD(*Reading), Scale*LOWORD(*Reading2), Scale*HIWORD(*Reading), Scale*HIWORD(*Reading2)

);

Reading++;

Reading2++;

}

printf("\n");

free(Readings); return 0;

}

 

SEGTST16.CPP

The following files are used with programs SEGTST16.CPP and

and

SEGTST32.CPP:

SEGTST32.CPP

INST.H

#include Files

INST.CPP

 

 

E1429.H

 

E1429.CPP

INST.H

#ifndef INST_DEFD

#define INST_DEFD

#include <sicl.h>

#define BYTE char #define WORD short int #define LONG long #define UBYTE unsigned char #define UWORD unsigned short int #define ULONG unsigned long

Continued on Next Page

Chapter 2

Using the Digitizer 77

Page 77
Image 77
HP E1429A manual #include Files, Inst.H