beautypg.com

Defined constants, Structure definitions – Measurement Computing Personal488 rev.3.0 For DOS & Windows 3.Xi User Manual

Page 293

background image

14D. Driver488/W31, C Languages

III. COMMAND REFERENCES - 14. Command Summaries

III-278

Personal488 User’s Manual, Rev. 3.0

Defined Constants

Bus Command Constants

Miscellaneous Constants:

bcUNT

1

IN

1

bcUNL

2

OUT

2

bcMTA

3

ON

1

bcMLA

4

OFF

0

bcTALK

5

ALL

-1

bcLISTEN

6

SAME

-2

WHILE_SRQ

-2

UNTIL_RSV

-3

TRUE

1

FALSE

0

MAXHANDLES

50

NOIEEEADRESS

-1

NODEVICE

-1

NONODE

NULL

TERMIN

1

TERMOUT

2

Structure Definitions

typedef struct {

bool

SC;

bool

CA;

uchar

Primaddr;

uchar

Secaddr;

bool

SRQ;

bool

addrChange;

bool

talker;

bool

listener;

bool

triggered;

bool

cleared;

bool

transfer;

bool

byteIn;

bool

byteOut;

} IeeeStatusT;

typedef struct {

bool

EOI;

int

Char;

bool

EightBits;
int

termChar[2];

} TermT;