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

14A. Driver488/SUB, C Languages
III. COMMAND REFERENCES - 14. Command Summaries
III-266
Personal488 User’s Manual, Rev. 3.0
Prim
char
IEEE 488 primary address
SPResult
unsigned char *
Array of SPOLL results
Sec
char
IEEE 488 secondary address
SPstatus
int
Service request status
StatusVal
IeeeStatusT *
Pointer to status structure
SysCont
bool
System Controller flag for IEEE 488 interface
TermP
TermT *
Pointer to terminator structure
TermType
int
Terminator type: TERMIN or TERMOUT
Timeout
long
Timeout value in milliseconds
UntilFlag
char
SpollList operating mode
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;