Omega Products OMB-PER-488 Installation Manual

OMEGAnetSM On-Line Service
http://www.omega.com
Servicing North America:
Internet e-mail
info@omega.com
USA:
Canada:
976 Berger Laval (Quebec) H7L 5A1 Tel: (514) 856-6928 e-mail: canada@omega.com
FAX: (203) 359-7700
FAX: (514) 856-6886
For immediate technical or application assistance:
USA and Canada:
Mexico and Latin America:
Sales Service: 1-800-826-6342 / 1-800-TC-OMEGA Customer Service: 1-800-622-2378 / 1-800-622-BEST Engineering Service: 1-800-872-9436 / 1-800-USA-WHEN TELEX: 996404 EASYLINK: 62968934 CABLE: OMEGA
Tel: (95) 800-TC-OMEGA En Espanol: (95) 203-359-7803
SM
FAX: (95) 203-359-7807 e-mail: espanol@omega.com
SM
SM
SM
Servicing Europe:
Benelux:
Czech Republic:
France:
Germany/Austria:
United Kingdom:
It is the policy of OMEGA to comply with all worldwide safety and EMC/EMI regulations that apply. OMEGA is constantly pursuing certification of its products to the European New Approach Directives. OMEGA will add the CE mark to every appropriate device upon certification.
The information contained in this document is believed to be correct but OMEGA Engineering, Inc. accepts no liability for any errors it contains, and reserves the right to alter specifications without notice. WARNING: These products are not designed for use in, and should not be used for, patient connected applications.
Postbus 8034, 1180 LA Amstelveen, The Netherlands Tel: (31) 20 6418405
Toll Free in Benelux: 06 0993344 e-mail: nl@omega.com
ul. Rude armady 1868 733 01 Karvina-Hranice Tel: 420 (69) 6311899 e-mail:czech@omega.com
9, rue Denis Papin, 78190 Trappes Tel: (33) 130-621-400 Toll Free in France: 0800-4-06342 e-mail: france@omega.com
Daimlerstrasse 26, D-75392 Deckenpfronn, Germany Tel: 49 (07056) 3017
Toll Free in Germany: 0130 11 21 66 e-mail: germany@omega.com
25 Swannington Road, Broughton Astley, Leicestershire, LE9 6TU, England Tel: 44 (1455) 285520 FAX: 44 (1455) 283912
Toll Free in England: 0800-488-488
e-mail: uk@omega.com
FAX: (31) 20 6434643
FAX: 420 (69) 6311114
FAX: (33) 130-699-120
FAX: 49 (07056) 8540
P.O. Box 7, Omega Drive, Irlam, Manchester, M44 5EX, England Tel: 44 (161) 777-6611 FAX: 44 (161) 777-6622
Personal488 PC/IEEE 488 Controller
General Table of Contents
General Table of Contents....................................................................................... v
Detailed Table of Contents....................................................................................vii
Introduction to this Manual ...............................................................................xvii
SECTION I: HARDWARE GUIDES ......................................................................I-1
1. Overview ............................................................................................................. I-3
2. Personal488 (with GP488B): 8-bit DMA Interface Board .....................................I-8
3. Personal488/AT: 16-bit DMA Interface Board .......................................................I-13
4. Personal488/NB: 170 kByte Interface Module for Notebook, Laptop, & Desktop PCs ...I-17
5. Personal488/MM: 330 kByte Interface Board........................................................I-18
6. Personal488/CARD: Type II PCMCIA Interface Card for Notebook & Desktop PCs ...I-22
SECTION II: SOFTWARE GUIDES.................................................................. II-31
7. Overview ......................................................................................................... II-33
8. Driver488/DRV: All Languages Compatible ........................................................ II-34
9. Driver488/SUB: C Language, Pascal & QuickBasic Compatible ............................ II-133
10. Driver488/W31: C Language & Visual Basic Compatible...................................... II-191
11. Driver488/W95: (Software Revisions Pending) ................................................... II-257
12. Driver488/WNT: (Software Revisions Pending) .................................................. II-258
SECTION III: COMMAND REFERENCES ..................................................III-259
13. Overview ......................................................................................................III-261
14. Command Summaries ...............................................................................III-262
15. Command References ...............................................................................III-282
SECTION IV: TROUBLESHOOTING.............................................................. IV-353
16. Overview ...................................................................................................... IV-355
17. Radio Interference Problems.................................................................. IV-356
18. Troubleshooting Checklists..................................................................... IV-357
19. Error Messages ........................................................................................... IV-361
SECTION V: APPENDIX .....................................................................................V-367
SECTION VI: INDEX.......................................................................................... VI-375
Personal488 User’s Manual, Rev. 3.0 v
vi Personal488 User’s Manual, Rev. 3.0
Personal488 PC/IEEE 488 Controller
Detailed Table of Contents
FCC Radio Frequency Interference Statement .......................................................................ii
Warranty..................................................................................................................................... iii
Limitation of Liability.............................................................................................................. iii
Copyright Notice........................................................................................................................ iii
Trademark Notice ..................................................................................................................... iii
Quality Notice............................................................................................................................ iii
General Table of Contents....................................................................................... v
Detailed Table of Contents....................................................................................vii
Introduction to this Manual ...............................................................................xvii
About this Manual ..................................................................................................................xvii
How to Use this Manual .........................................................................................................xvii
Header Files & Command References ..................................................................................xvii
SECTION I: HARDWARE GUIDES .........................................................................I-1
1. Overview ...........................................................................................................I-3
Introduction...............................................................................................................................I-3
IEEE 488.2 Interface Boards ...................................................................................................I-4
Driver488 Software Interface ..................................................................................................I-4
Interface & Interface Board Specifications..........................................................................I-6
IEEE 488.1-1987 Interface............................................................................................................ I-6
IEEE 488.2-1987 Interface............................................................................................................ I-6
GP488B Interface Board ...............................................................................................................I-6
AT488 Interface Board .................................................................................................................. I-6
MP488 Interface Board .................................................................................................................I-6
MP488CT Interface Board ............................................................................................................I-7
GP488/2 Interface Board............................................................................................................... I-7
GP488/MM Interface Board .......................................................................................................... I-7
NB488 Interface Module ...............................................................................................................I-7
PCMCIA Interface Card................................................................................................................ I-7
2. Personal488 (with GP488B) ..........................................................................I-8
The Package...............................................................................................................................I-8
Hardware Installation (for PC/XT/AT)..................................................................................I-8
Installation & Configuration of the Interface Card..................................................................... I-8
Default Settings ............................................................................................................................. I-9
I/O Base Address Selection ...........................................................................................................I-9
Interrupt Selection ......................................................................................................................I-10
DMA Channel Selection ..............................................................................................................I-10
Wait State Configuration ............................................................................................................I-11
Internal Clock Selection .............................................................................................................. I-11
Board Installation........................................................................................................................ I-11
3. Personal488/AT ..............................................................................................I-13
The Package.............................................................................................................................I-13
Hardware Installation (for PC/XT/AT)................................................................................I-13
Personal488 User’s Manual, Rev. 3.0 vii
Installation & Configuration of the Interface Card .................................................................. I-13
Default Settings........................................................................................................................... I-13
I/O Base Address Selection......................................................................................................... I-13
Interrupt Selection...................................................................................................................... I-14
DMA Channel Selection.............................................................................................................. I-15
Board Installation ....................................................................................................................... I-15
4. Personal488/NB ............................................................................................. I-17
The Package ............................................................................................................................ I-17
Hardware Installation (for Notebook, Laptop, & Desktop PCs) ..................................... I-17
5. Personal488/MM............................................................................................ I-18
The Package ............................................................................................................................ I-18
Hardware Installation (for PC/XT/AT) ............................................................................... I-18
Installation & Configuration of the Interface Card .................................................................. I-18
Default Settings........................................................................................................................... I-18
I/O Base Address Selection......................................................................................................... I-19
Interrupt Selection...................................................................................................................... I-20
DMA Channel Selection.............................................................................................................. I-20
Internal Clock Selection.............................................................................................................. I-21
Board Installation ....................................................................................................................... I-21
6. Personal488/CARD ....................................................................................... I-22
The Package ............................................................................................................................ I-22
Introduction ............................................................................................................................ I-22
Hardware Installation (for Notebook & Desktop PCs)..................................................... I-23
Interfaces & Connectors ............................................................................................................. I-23
Interface Cable Connection ........................................................................................................ I-23
Installation into a PC.................................................................................................................. I-24
Interface Cable & IEEE 488 Accessories ................................................................................... I-24
Software Installation............................................................................................................. I-24
Initialization Software ................................................................................................................ I-24
Configuration Software............................................................................................................... I-27
Functionality........................................................................................................................... I-29
SECTION II: SOFTWARE GUIDES ....................................................................II-31
7. Overview........................................................................................................II-33
8. Driver488/DRV ............................................................................................. II-34
8A. Introduction............................................................................................ II-34
8B. Installation & Configuration ..............................................................II-35
Before You Get Started .........................................................................................................II-35
Making Backup Disk Copies................................................................................................II-36
Driver Installation ................................................................................................................II-36
Selective Installation of Support files ....................................................................................... II-36
Driver Installation to Disk ........................................................................................................ II-37
Configuration Utility ............................................................................................................II-38
Interfaces .................................................................................................................................... II-38
External Devices ........................................................................................................................II-38
Opening the Configuration Utility............................................................................................II-38
Configuration of IEEE 488 Interfaces ................................................................................II-39
Configuration of Serial Interfaces .....................................................................................II-41
Configuration of IEEE 488 External Devices ....................................................................II-42
Multiple Interface Management..........................................................................................II-43
8C. External Device Interfacing................................................................ II-45
Introduction ...........................................................................................................................II-45
Character Command Language (CCL) ..............................................................................II-45
DOS Devices............................................................................................................................II-46
Configuration of Named Devices ........................................................................................II-46
viii Personal488 User’s Manual, Rev. 3.0
Use of External Devices ........................................................................................................II-47
Direct I/O with DOS Devices................................................................................................II-47
Extensions For Multiple Interfaces ....................................................................................II-48
Duplicate Device Names ............................................................................................................II-48
Access of Multiple Interfaces .....................................................................................................II-48
Example.......................................................................................................................................II-49
8D. Getting Started ...................................................................................... II-49
Introduction...........................................................................................................................II-49
Keyboard Controller Program............................................................................................. II-50
Direct Control from DOS Using CCL .................................................................................II-51
8E. Microsoft C.............................................................................................. II-53
Use of the Character Command Language ....................................................................... II-53
Initialization of the System .................................................................................................II-53
Configuration of the 195 DMM ............................................................................................ II-56
Taking Readings ...................................................................................................................II-56
Buffer Transfers ....................................................................................................................II-56
Interrupt Handling............................................................................................................... II-57
IEEEIO.C ................................................................................................................................II-59
CRITERR.ASM (Microsoft C & Turbo C) ...........................................................................II-61
Sample Program.................................................................................................................... II-62
8F. Microsoft Fortran .................................................................................. II-63
Sample Program.................................................................................................................... II-63
8G. QuickBASIC............................................................................................ II-64
Use of the Character Command Language ....................................................................... II-64
Initialization of the System .................................................................................................II-64
Configuration of the 195 DMM ............................................................................................ II-66
Taking Readings ...................................................................................................................II-66
Buffer Transfers ....................................................................................................................II-67
BASIC VARPTR & SADDR................................................................................................... II-68
Interrupt Handling............................................................................................................... II-68
Sample Program.................................................................................................................... II-70
8H. Turbo C.................................................................................................... II-71
Use of the Character Command Language ....................................................................... II-71
Initialization of the System .................................................................................................II-72
Configuration of the 195 DMM ............................................................................................ II-74
Taking Readings ...................................................................................................................II-74
Buffer Transfers ....................................................................................................................II-75
Interrupt Handling............................................................................................................... II-76
IEEEIO.C ................................................................................................................................II-78
CRITERR.ASM (Microsoft C & Turbo C) ...........................................................................II-80
Sample Program.................................................................................................................... II-80
8I. Turbo Pascal............................................................................................ II-82
Use of Character Command Language..............................................................................II-82
Initialization of the System .................................................................................................II-83
Configuration of the 195 DMM ............................................................................................ II-84
Taking Readings ...................................................................................................................II-85
Buffer Transfers ....................................................................................................................II-85
Interrupt Handling............................................................................................................... II-86
Sample Program.................................................................................................................... II-88
8J. Spreadsheets........................................................................................... II-90
Use of Direct DOS I/O Devices ............................................................................................. II-90
Initialization of the System .................................................................................................II-90
Configuration of the 195 DMM ............................................................................................ II-91
Taking Readings ...................................................................................................................II-92
Interrupt Handling............................................................................................................... II-92
Personal488 User’s Manual, Rev. 3.0 ix
8K. Other Languages ...................................................................................II-96
Introduction ...........................................................................................................................II-96
Finding Addresses .................................................................................................................II-97
Garbage Collection ..................................................................................................................... II-97
Memory Models ..........................................................................................................................II-97
Calling Protocols......................................................................................................................... II-99
Opening & Closing the Driver ...........................................................................................II-100
I/O Control (IOCTL) Communication...............................................................................II-100
IOCTL Get & Set Device Data ................................................................................................II-100
IOCTL Read & Write ...............................................................................................................II-101
Data & Command Communication ..................................................................................II-102
ARM Condition Detection...................................................................................................II-102
Sample Program..................................................................................................................II-102
8L. Language-Specific Information........................................................II-104
Aztec C...................................................................................................................................II-104
Use of Character Command Language................................................................................... II-104
CRITERR.C (for Aztec C)......................................................................................................... II-105
GW-BASIC (for GW-BASIC or Interpreted BASIC) ........................................................II-105
Use of Direct DOS I/O Devices ................................................................................................ II-105
BASIC VARPTR & SADDR ..................................................................................................... II-105
GET & PUT (for GW-BASIC only) .......................................................................................... II-106
JPI TopSpeed Modula-2 .....................................................................................................II-106
Use of Direct DOS I/O Devices ................................................................................................ II-106
Logitech Modula-2...............................................................................................................II-106
Use of Direct DOS I/O Devices ................................................................................................ II-106
True Basic.............................................................................................................................II-107
Use of Character Command Language................................................................................... II-107
IEEEIO.TRU ............................................................................................................................II-107
TOOLKIT.LIB ..........................................................................................................................II-107
Turbo Basic ..........................................................................................................................II-108
Use of Character Command Language................................................................................... II-108
8M. Data Transfers ..................................................................................... II-108
Terminators..........................................................................................................................II-108
End-Of-Line (EOL) Terminators............................................................................................. II-108
TERM Terminators .................................................................................................................. II-112
Direct I/O & Buffered I/O....................................................................................................II-113
Direct Bus OUTPUT ................................................................................................................II-113
Direct Bus ENTER................................................................................................................... II-113
Buffered I/O .............................................................................................................................. II-114
Asynchronous Transfers.....................................................................................................II-115
8N. Operating Modes .................................................................................II-115
Introduction .........................................................................................................................II-116
Operating Mode Transitions..............................................................................................II-116
System Controller Mode......................................................................................................II-117
System Controller, Not Active Controller Mode ..............................................................II-117
Not System Controller Mode ..............................................................................................II-119
Active Controller, Not System Controller Mode ..............................................................II-119
8O. Utility Programs .................................................................................. II-120
Printer & Serial Redirection .............................................................................................II-120
Removal & Reinstallation..................................................................................................II-122
MARKDRVR & REMDRVR..................................................................................................... II-122
Moving Files from an IEEE 488 (HP-IB) Controller to a PC.........................................II-123
PRNTEMUL Files .................................................................................................................... II-123
Configuration of the IEEE Interface for PRNTEMUL ..........................................................II-123
Running PRNTEMUL.............................................................................................................. II-124
Data Transfer ...........................................................................................................................II-124
x Personal488 User’s Manual, Rev. 3.0
8P. Command Descriptions...................................................................... II-124
Introduction.........................................................................................................................II-124
Format ..................................................................................................................................II-125
Syntax........................................................................................................................................II-125
Response....................................................................................................................................II-127
Mode ..........................................................................................................................................II-127
Bus States .................................................................................................................................II-127
Examples ...................................................................................................................................II-131
Data Types............................................................................................................................II-131
CCL Reserved Words ...........................................................................................................II-132
List of Reserved Words............................................................................................................II-132
8Q. Command Reference .......................................................................... II-132
9. Driver488/SUB ........................................................................................... II-133
9A. Introduction ......................................................................................... II-133
9B. Installation & Configuration ............................................................ II-134
Before You Get Started ....................................................................................................... II-134
Making Backup Disk Copies.............................................................................................. II-135
Driver Installation.............................................................................................................. II-135
Configuration Utility..........................................................................................................II-135
Interfaces...................................................................................................................................II-136
External Devices.......................................................................................................................II-136
Opening the Configuration Utility ..........................................................................................II-136
Configuration of IEEE 488 Interfaces.............................................................................. II-136
Configuration of Serial Interfaces ................................................................................... II-139
Configuration of IEEE 488 External Devices..................................................................II-140
9C. External Device Interfacing ............................................................. II-141
Introduction.........................................................................................................................II-141
Subroutine Calls .......................................................................................................................II-142
Configuration of Named Devices ...................................................................................... II-142
Use of External Devices ......................................................................................................II-143
Extensions for Multiple Interfaces ...................................................................................II-144
Duplicate Device Names ..........................................................................................................II-144
Access of Multiple Interfaces ...................................................................................................II-144
Example.....................................................................................................................................II-145
9D. Getting Started .................................................................................... II-145
Introduction.........................................................................................................................II-145
C Language ..........................................................................................................................II-145
Required Headers .....................................................................................................................II-146
Required Libraries....................................................................................................................II-146
QuickBASIC .........................................................................................................................II-148
Required Definition File...........................................................................................................II-149
Required Libraries....................................................................................................................II-149
Pascal.................................................................................................................................... II-149
Required Libraries....................................................................................................................II-149
9E. C Languages ........................................................................................ II-150
Accessing from a C Program .............................................................................................II-150
Establishing Communications..........................................................................................II-151
Confirming Communication.............................................................................................. II-152
Setting Up Event Handling ...............................................................................................II-152
Reading Driver Status........................................................................................................ II-152
External Device Initialization .......................................................................................... II-153
Interrupt Handling............................................................................................................. II-153
Basic Data Acquisition....................................................................................................... II-154
Block Data Acquisition ......................................................................................................II-154
Sample Program.................................................................................................................. II-155
Personal488 User’s Manual, Rev. 3.0 xi
Command Summary............................................................................................................II-158
9F. QuickBASIC .......................................................................................... II-159
Accessing from a QuickBASIC Program..........................................................................II-159
Establishing Communications ..........................................................................................II-159
Confirming Communications ............................................................................................II-160
Setting Up Event Handling................................................................................................II-160
Reading Driver Status........................................................................................................II-161
External Device Initialization...........................................................................................II-161
Interrupt Handling .............................................................................................................II-162
Basic Data Acquisition.......................................................................................................II-162
Block Data Acquisition ......................................................................................................II-162
Sample Program..................................................................................................................II-163
Command Summary............................................................................................................II-166
9G. Pascal .....................................................................................................II-166
Accessing from a Pascal Program ....................................................................................II-166
Establishing Communications ..........................................................................................II-167
Confirming Communication..............................................................................................II-168
Setting Up Event Handling................................................................................................II-168
Reading Driver Status........................................................................................................II-168
External Device Initialization...........................................................................................II-169
Interrupt Handling .............................................................................................................II-169
Basic Data Acquisition.......................................................................................................II-170
Block Data Acquisition ......................................................................................................II-170
Sample Program..................................................................................................................II-171
Command Summary............................................................................................................II-174
9H. Data Transfers .....................................................................................II-175
Terminators..........................................................................................................................II-175
TERM Terminators .................................................................................................................. II-175
Data Input and Output ......................................................................................................II-176
Asynchronous Transfers.....................................................................................................II-177
9I. Operating Modes...................................................................................II-177
Introduction .........................................................................................................................II-177
Operating Mode Transitions..............................................................................................II-178
System Controller Mode......................................................................................................II-179
System Controller, Not Active Controller Mode ..............................................................II-179
Not System Controller Mode ..............................................................................................II-181
Active Controller, Not System Controller Mode ..............................................................II-181
9J. Utility Programs................................................................................... II-182
Printer & Serial Redirection .............................................................................................II-182
Removal & Reinstallation..................................................................................................II-184
MARKDRVR & REMDRVR..................................................................................................... II-184
Moving Files from an IEEE 488 (HP-IB) Controller to a PC.........................................II-185
PRNTEMUL Files .................................................................................................................... II-185
Configuration of the IEEE Interface for PRNTEMUL ..........................................................II-185
Running PRNTEMUL.............................................................................................................. II-185
Data Transfer ...........................................................................................................................II-186
9K. Command Descriptions......................................................................II-186
Introduction .........................................................................................................................II-186
Format...................................................................................................................................II-187
Syntax .......................................................................................................................................II-187
Returns .....................................................................................................................................II-187
Mode..........................................................................................................................................II-187
Bus States ................................................................................................................................. II-187
Examples .................................................................................................................................. II-189
Data Types ............................................................................................................................II-189
xii Personal488 User’s Manual, Rev. 3.0
Arm Condition Bit Masks.........................................................................................................II-189
Control Line Bit Masks ............................................................................................................II-189
Terminator Structures .............................................................................................................II-189
Status Structure .......................................................................................................................II-190
Completion Code Bit Masks.....................................................................................................II-190
Miscellaneous Constants..........................................................................................................II-190
9L. Command Reference........................................................................... II-190
10. Driver488/W31 .......................................................................................... II-191
10A. Introduction ....................................................................................... II-191
10B. Installation & Configuration .......................................................... II-192
Before You Get Started ....................................................................................................... II-192
Making Backup Disk Copies.............................................................................................. II-193
Driver Installation.............................................................................................................. II-193
Enhanced Mode DMA Transfers..............................................................................................II-194
Configuration Utility..........................................................................................................II-195
Interfaces...................................................................................................................................II-195
External Devices.......................................................................................................................II-195
Opening the Configuration Utility ..........................................................................................II-195
Configuration of IEEE 488 Interfaces.............................................................................. II-196
Configuration of IEEE 488 External Devices..................................................................II-198
Modification of the Initialization File.............................................................................II-199
Driver Core Sections.................................................................................................................II-200
10C. External Device Interfacing ........................................................... II-202
Introduction.........................................................................................................................II-202
Subroutine Calls .......................................................................................................................II-202
Configuration of Named Devices ...................................................................................... II-202
Use of External Devices ......................................................................................................II-204
Extensions For Multiple Interfaces ..................................................................................II-204
Duplicate Device Names ..........................................................................................................II-205
Access of Multiple Interfaces ...................................................................................................II-205
Example.....................................................................................................................................II-205
10D. Getting Started .................................................................................. II-205
Introduction.........................................................................................................................II-206
C Languages..............................................................................................................................II-206
Visual Basic...............................................................................................................................II-206
C Languages......................................................................................................................... II-206
Required Headers .....................................................................................................................II-206
Required Libraries....................................................................................................................II-207
Visual Basic ......................................................................................................................... II-207
Required Files ...........................................................................................................................II-207
10E. C Languages ...................................................................................... II-208
Accessing from a Windows Program ................................................................................ II-208
Opening & Closing the Driver .................................................................................................II-208
Establishing Communications..........................................................................................II-209
Confirming Communications ............................................................................................ II-211
IEEE 488 Event Message..................................................................................................... II-211
Reading Driver Status........................................................................................................ II-213
External Device Initialization .......................................................................................... II-214
Basic Data Acquisition....................................................................................................... II-214
Block Data Acquisition ......................................................................................................II-215
Sample Programs................................................................................................................II-216
Data Acquisition Sample Programs.........................................................................................II-216
IEEE 488 Event Message Sample Programs ..........................................................................II-224
Command Summary ...........................................................................................................II-231
10F. Visual Basic......................................................................................... II-232
Personal488 User’s Manual, Rev. 3.0 xiii
Accessing from a Windows Program ................................................................................II-232
Opening & Closing the Driver.................................................................................................II-233
Establishing Communications ..........................................................................................II-234
Confirming Communications ............................................................................................II-235
IEEE 488 Event Custom Control........................................................................................II-235
Reading Driver Status........................................................................................................II-238
External Device Initialization...........................................................................................II-238
Basic Data Acquisition.......................................................................................................II-239
Block Data Acquisition ......................................................................................................II-239
Dynamic Data Exchange (DDE)........................................................................................II-241
Application................................................................................................................................ II-241
Server Links .............................................................................................................................II-241
Acquisition Engine ................................................................................................................... II-243
Sample Programs ................................................................................................................II-246
Data Acquisition Sample Program.......................................................................................... II-246
IEEE 488 Event Custom Control Sample Program ............................................................... II-249
Acquisition Engine Sample Program ...................................................................................... II-250
Command Summary............................................................................................................II-251
10G. Utility Programs ................................................................................ II-251
Introduction .........................................................................................................................II-251
WINTEST ..............................................................................................................................II-251
Opening a Device Handle for Communication ....................................................................... II-252
Handle Lists ............................................................................................................................. II-252
WINTEST Session....................................................................................................................II-253
QUIKTEST............................................................................................................................II-254
Application Files....................................................................................................................... II-254
Installation ...............................................................................................................................II-254
Operation of the Application ...................................................................................................II-255
Cutting & Pasting to Other Applications ...............................................................................II-255
Dynamic Data Exchange (DDE).............................................................................................. II-255
Loading the Project into Visual Basic..................................................................................... II-256
Licensing...............................................................................................................................II-256
10H. Command Reference ........................................................................II-256
11. Driver488/W95 .......................................................................................... II-257
12. Driver488/WNT.........................................................................................II-258
SECTION III: COMMAND REFERENCES.................................................... III-259
13. Overview ................................................................................................. III-261
14. Command Summaries .......................................................................... III-262
14A. Driver488/SUB, C Languages ....................................................... III-262
Function Descriptions ...................................................................................................... III-262
The Commands .................................................................................................................. III-264
Syntax Parameters ............................................................................................................ III-264
Defined Constants ............................................................................................................. III-265
Structure Definitions........................................................................................................ III-265
14B. Driver488/SUB, QuickBASIC......................................................... III-266
Function Descriptions ...................................................................................................... III-266
The Commands .................................................................................................................. III-268
Syntax Parameters ............................................................................................................ III-268
Defined Constants ............................................................................................................. III-269
Structure Definitions........................................................................................................ III-269
14C. Driver488/SUB, Pascal.................................................................... III-270
Function Descriptions ...................................................................................................... III-270
The Commands .................................................................................................................. III-272
xiv Personal488 User’s Manual, Rev. 3.0
Syntax Parameters............................................................................................................ III-272
Defined Constants ............................................................................................................. III-272
Structure Definitions........................................................................................................ III-273
14D. Driver488/W31, C Languages .........................................................III-274
Function Descriptions ...................................................................................................... III-274
The Commands .................................................................................................................. III-276
Syntax Parameters............................................................................................................ III-276
Defined Constants ............................................................................................................. III-276
Structure Definitions........................................................................................................ III-277
14E. Driver488/W31, Visual Basic ..........................................................III-278
Function Descriptions ...................................................................................................... III-278
The Commands .................................................................................................................. III-280
Syntax Parameters............................................................................................................ III-280
Defined Constants ............................................................................................................. III-281
Structure Definitions........................................................................................................ III-281
15. Command References ...........................................................................III-282
15A. Driver488/DRV Commands.............................................................III-282
15B. Driver488/SUB, W31, W95, & WNT Commands...........................III-312
SECTION IV: TROUBLESHOOTING................................................................ IV-353
16. Overview .................................................................................................. IV-355
17. Radio Interference Problems .............................................................. IV-356
18. Troubleshooting Checklists................................................................. IV-357
18A. Introduction ...................................................................................... IV-357
18B. Driver488/DRV .................................................................................. IV-357
18C. Driver488/SUB................................................................................... IV-358
18D. Driver488/W31 ...................................................................................IV-359
18E. Driver488/W95 & Driver488/WNT.................................................. IV-360
19. Error Messages ....................................................................................... IV-361
SECTION V: APPENDIX .......................................................................................V-367
SECTION VI: INDEX............................................................................................ VI-375
Personal488 User’s Manual, Rev. 3.0 xv
xvi Personal488 User’s Manual, Rev. 3.0
Personal488 PC/IEEE 488 Controller
Introduction to this Manual
About this Manual
This edition of the Personal488 User’s Manual supersedes all previous editions. The material in this manual reflects the particular combinations of IEEE 488 I/O adapter and driver
software, and is comprised of four primary Sections: Hardware Guides, Software Guides, Command References, and Troubleshooting, followed by two more Sections: Appendix and Index. The last two pages contain a List of IEEE 488 Acronyms & Abbreviations and a List of ASCII Acronyms & Abbreviations as additional references for this manual and for other related literature.
Before calling for technical assistance, check the Troubleshooting section for a possible solution to the problem.
Since much of the hardware and software material in this manual is similar to material elsewhere in the manual, make sure you view the material which corresponds to your specific hardware and software. For example, do not read about Driver488/DRV when your application pertains to Driver488/W31
Information which may have changed since the time of printing will be found in a README.TXT file on disk, or in an addendum to the manual.
How to Use this Manual
Because this manual contains a large volume of information, a four-level table of contents system is used in addition to a complete Detailed Table of Contents. In this four-level system, the General Table of Contents at the front of this manual should be used primarily to locate the main Sections of the manual, i.e., specific hardware guides and software guides. The first page of each Section contains a second-level table, listing the Chapters with their page locations. Next, many of these Chapters contain a third-level table, listing the Sub-Chapters or specific Topics with their page locations. Finally, many of these Sub-Chapters contain a fourth-level table, listing the specific Topics with their page locations. While this multi-level method is easy to use, experienced users may prefer the traditional table of contents.
As mentioned above, this manual also includes an Index, so you can quickly find the page(s) pertaining to a specific topic.
Header Files & Command References
Since changes are taking place in Driver488/W95 and Driver488/WNT software as this publication goes to press, please refer to your operating system header file for the latest available information specific to your application.
Personal488 User’s Manual, Rev. 3.0 xvii
xviii Personal488 User’s Manual, Rev. 3.0
Section I:
HARDWARE GUIDES
Personal488 User’s Manual, Rev. 3.0 I-1
I-2 Personal488 User’s Manual, Rev. 3.0
I. HARDWARE GUIDES 1. Overview
I. HARDWARE GUIDES
Chapters
1. Overview............................................................................................ I-3
2. Personal488 (with GP488B) ...........................................................I-8
3. Personal488/AT...............................................................................I-13
4. Personal488/NB ..............................................................................I-17
5. Personal488/MM.............................................................................I-18
6. Personal488/CARD ........................................................................I-22
1. Overview
Introduction ........................................................................................ I-4
IEEE 488.2 Interface Boards ............................................................I-4
Driver488 Software Interface ..........................................................I-4
Interface & Interface Board Specifications .................................I-6
Introduction
The Hardware Guides section contains chapters pertaining to different Personal488 Drivers, as indicated in the previous Section I Table of Contents. Each Driver488 section contains information regarding specific PC/IEEE 488 controllers. The hardware guide describes the I/O adapter and includes instructions for inspecting, configuring, and installing the adapter.
Topics
IEEE 488.1-1987 Interface ................................................................................I-6
IEEE 488.2-1987 Interface ................................................................................I-6
GP488B Interface Board...................................................................................I-6
AT488 Interface Board......................................................................................I-6
MP488 Interface Board .....................................................................................I-6
MP488CT Interface Board................................................................................I-7
GP488/2 Interface Board ..................................................................................I-7
GP488/MM Interface Board..............................................................................I-7
NB488 Interface Module ...................................................................................I-7
PCMCIA Interface Card....................................................................................I-7
In addition to this manual, Power488 and Power488CT users receive a manual supplement describing the Standard Commands for Programmable Instruments (SCPI) command set and the IOTTIMER.DLL, a Microsoft Windows Dynamic Link Library of functions. This overview introduces the hardware and software sections of this manual.
The Personal488 converts your PC or PC/AT into an IEEE 488.2-compliant controller. Each controller package includes an interface board or module, driver software and complete documentation. The following information provides a brief overview of a specific PC/IEEE 488 interfaces and software drivers, and of the Driver488 components.
Personal488 User’s Manual, Rev. 3.0 I-3
1. Overview I. HARDWARE GUIDES
IEEE 488.2 Interface Boards
The family of PC/IEEE 488 controllers includes the GP488B, the GP488/2, the AT488, the MP488, the MP488CT, the GP488/MM and the NB488. All are IEEE 488.2 compatible and supported by Driver488 software. The MP488 and MP488CT also provide digital I/O, and the MP488CT provides a set of programmable counter/timers, all of which are fully supported by Driver488. Some features of the interfaces are listed below:
GP488B interface board (for PC/XT/AT): Features five jumper-selectable interrupt lines. Three
8-bit jumper-selectable DMA channels are also available. The 8-bit DMA mode provides full compatibility with programs written for GP488 series boards.
AT488 interface board (for PC/XT/AT and PS/2 with the ISA bus): Features eleven jumper-
selectable interrupt lines. Three 16-bit and four 8-bit jumper-selectable DMA channels are also available. The 8-bit DMA mode provides full compatibility with programs written for the GP488 series boards.
MP488 interface board (for PC/XT/AT and PS/2 with the ISA bus): Features eleven jumper-
selectable interrupt lines. Three 16-bit and four 8-bit jumper-selectable DMA channels are also available. The 8-bit DMA mode provides full compatibility with programs written for the GP488 series boards. The digital I/O section of this board provides 40 digital I/O lines which can be programmed for a mix of input and output.
MP488CT interface board (for PC/XT/AT and PS/2 with the ISA bus): Features eleven jumper-
selectable interrupt lines. Three 16-bit and four 8-bit jumper-selectable DMA channels are also available. The 8-bit DMA mode provides full compatibility with programs written for the GP488 series boards. The digital I/O section of this board provides 40 input or output lines which can be programmed for a mix of input and output. The counter/timer section features a programmable clock generator plus 5 fully independent versatile counter/timer channels.
GP488/2 interface board (for Personal Systems/2 with MicroChannel architecture): Features seven
software selectable interrupt lines and fourteen 8-bit software selectable DMA arbitration levels.
GP488B/MM interface board: Converts your Ampro PC/104 Single Board PC into an IEEE 488.2
compliant controller or peripheral.
NB488 external interface module (for notebook, laptop and desktop PCs): Connects to a PC’s
parallel port eliminating the need for an internal expansion slot.
Driver488 Software Interface
Driver488 is the software interface between DOS or Windows and the IEEE 488 controller board. Driver488 software includes the driver itself, an installation program, other utility programs, and programming examples. Driver488 provides a full implementation of the IEEE 488.2 standard, plus advanced capabilities such as high-speed DMA data transfers, interrupt vectoring on specified events, automatic error detection, callable subroutines, and serial (COM) port support.
Driver488 monitors all IEEE 488 bus monitoring and control lines and generates an interrupt based on
SRQ status and various other bus conditions. Driver488 software supports automatic program vectoring
to service routines for C, Pascal, and BASIC. On a specified event (Error, SRQ, Peripheral,
Controller, Trigger, Clear, Talk, Listen, Idle, ByteIn, ByteOut, Change),
Driver488 can either call a specified application routine or simulate a light pen interrupt to signal that the event has occurred.
Versions with HP-style character commands can be accessed by virtually any language that can communicate with DOS files, and additionally provide standard DOS device driver interfaces which permit communications with the IEEE 488 bus and/or connected devices in the same manner as LPT1, COM1, etc. Versions with the Subroutine API offer higher performance and can be used with most popular C, Pascal, and Basic languages. The Driver488 commands and bus protocol are very similar to those used by the Hewlett-Packard HP-85 controller.
I-4 Personal488 User’s Manual, Rev. 3.0
I. HARDWARE GUIDES 1. Overview
Versions of Driver488 are described in the following text and table.
Driver488/DRV: The industry’s easiest-to-use IEEE 488.2 driver, offering HP-style commands,
support for all programming languages and spread sheets, and features such as automatic program vectoring on SRQ.
Driver488/SUB : A subroutine-style IEEE 488.2 driver that provides all the function of
Driver488/DRV, as well as high performance for fast, interrupt-driven programmed I/O operations.
Driver488/W31: A Dynamic Link Library (DLL) that brings IEEE 488.2 control to Microsoft
Windows 16-bit applications. Includes support for Visual Basic, C, Quick C, Turbo C and Borland C++.
Driver488/W95: A Dynamic Link Library (DLL) that brings IEEE 488.2 control to Microsoft
Windows 95 for 32-bit applications. Pending software revisions, it includes support for Microsoft C, Visual Basic, and Borland C++.
Driver488/WNT: A Dynamic Link Library (DLL) that brings IEEE 488.2 control to Windows NT
version 3.1 or 3.5 applications. Pending software revisions, it includes support for Windows NT SDK, or C language compiler Visual Basic 4.
Driver488/LIB: An IEEE 488.2 library of C function calls that link directly to your application for
maximum speed with minimal memory requirements, adding as few as as 25 Kbytes to a compiled program. Available with an optional license that allows unlimited copies of compiled applications.
Driver488/OEM: A compact IEEE 488.2 function-call library that enables quick and easy
integration of IEEE 488.2 capability into PC-based instruments.
Driver488/IUX: A high performance IEEE 488.2 driver for running Interactive Systems UNIX
System V and AT&T UNIX STREAMS.
Driver488/SCX: A high performance driver for SCO UNIX System V and AT&T UNIX
STREAMS.
Driver488 Family Overview
Driver488
Driver Type
1
W95
1
WNT
W31 High performance driver for
SUB Higher performance driver
DRV Device driver, compatible
2
LIB
2
OEM
2
IUX
2
SCX
1
Note: Driver488/W95 and Driver488/WNT are minimally discussed in this manual, pending current software revisions. Refer to your operating
system header file for the latest available information specific to your application.
2
Note: Driver488/LIB, OEM, IUX, and SCX are not discussed in this manual. These drivers are shipped with their respective manuals.
3
Note: Call the factory regarding Driver488/OEM compatibility with other operating systems.
Description Compatible
High performance driver for
Windows 95
High performance driver for
Windows NT
Windows
for subroutine-style
programming.
with all languages
Fast, compact, no resident
driver.
Specially designed to operate
as an IEEE 488.2 peripheral.
For Interactive Systems &
SCO UNIX.
Operating
System
Microsoft
Windows 95
Microsoft
Windows NT
Microsoft
Windows 3.x
DOS C, Pascal, &
DOS All, including
DOS C Linkable function
3
DOS
UNIX C Memory resident. No No
Compatible
Languages
C, C++ for
Windows &
Visual Basic
C Dynamic Link Library
C & Visual Basic Dynamic Link Library
QuickBASIC
spreadsheets
C Linkable function
Driver Architecture COM
Dynamic Link Library
(DLL)
(DLL)
(DLL)
Memory resident Yes Yes
Memory resident Yes Yes
calls
calls
Support
No No
No No
No Yes
No No
Optional No
Power488 Digital
I/O & Counter-
Timer Support
Personal488 User’s Manual, Rev. 3.0 I-5
1. Overview I. HARDWARE GUIDES
Interface & Interface Board Specifications
Note 1: The IOT7210 IEEE 488 Controller Chip is 100% compatible with the NEC µPD7210 chip
and exhibits better performance, as well as lower power consumption.
Note 2: Specifications subject to change without notice.
IEEE 488.1-1987 Interface
SH1, AH1, T6, TE0, L4, LE0, SR1, PP0, RL0, DC1, DT1, E1/2
Controller Subsets: C1, C2, C3, C4 and C9 Terminator: Software selectable characters and/or EOI Connector: Standard Amphenol 57-20240 with metric studs
IEEE 488.2-1987 Interface
IEEE 488 Bus Readback Registers: NDAC, NRFD, DAV, EOI, SRQ Bus Error Handling
GP488B Interface Board
IEEE 488 Controller Device: IOT7210 (See Note) Power Consumption: 750mA max @ 5V from PC supply Dimensions: Occupies one short PC slot size (5.25" long, plus IEEE 488 connector) Speed: 8-bit DMA: 330K byte/s (reads); 220K byte/s (writes) Environment: 0 to 50° C, 0 to 95% RH, non-condensing DMA Capability: 8-bit on channels 0 - 3 Interrupt Capability: IRQ 2 - 7 I/O Base Address: &H02E1, &H22E1, &H42E1, or &H62E1
AT488 Interface Board
IEEE 488 Controller Device: IOT7210 (See Note) Power Consumption: 750mA max @ 5V from PC supply Dimensions: Occupies one short PC slot size (5.25" long, plus IEEE 488 connector) Speed: 16-bit DMA: 1M byte/s (reads); 800K byte/s (writes).8-bit DMA: 330K byte/s (reads); 220K
byte/s (writes)
Environment: 0 to 50° C, 0 to 95% RH, non-condensing DMA Capability: Channels 1 - 3 (8 - bit) are selectable in a PC/XT or PC/AT.Channels 0 - 3 (8 - bit)
and 5 - 7 (16 - bit) are selectable in a PC/AT. Multiple AT488 boards may share the same DMA channel.
Interrupt Capability: IRQ 2 - 7 for PC/XT, IRQ 2 - 7, 9, 10 - 12, 14, or 15 for PC/AT 16-bit slot I/O Base Address: &H02E1, &H22E1, &H42E1, or &H62E1
MP488 Interface Board
IEEE 488 Controller Device: IOT7210 (See Note) Power Consumption: 2A max @ 5V from PC supply Dimensions: Occupies one 16-bit PC/AT full slot or 8-bit PC/XT full slot. Fits in PC/ATwith low
PC/XT form-factor. 13.13" long x 3.9" high (333mm x 99mm). Speed: 16-bit DMA: 1M byte/s (reads); 800K byte/s (writes).8-bit DMA: 330K byte/s (reads); 220K byte/s (writes)
Environment: 0 to 50° C, 0 to 95% RH, non-condensing DMA Capability: Channels 1-3 (8-bit) are selectable in a PC/XT or PC/AT.Channels 0-3 (8-bit) and
5-7 (16-bit) are selectable in a PC/AT. Multiple MP488 boards may share the same DMA channel.
Interrupt Capability: IRQ 2-7 for PC/XT, IRQ 2 - 7, 9, 10 - 12, 14, or 15 for PC/AT 16-bit slot I/O Base Address: &H02E1, &H22E1, &H42E1, or &H62E1 Digital I/O: 40 digital I/O lines; 24 configurable as input or output, 8 fixed input,and 8 fixed output
lines.
I-6 Personal488 User’s Manual, Rev. 3.0
I. HARDWARE GUIDES 1. Overview
MP488CT Interface Board
IEEE 488 Controller Device: IOT7210 (See Note) Power Consumption: 2A max @ 5V from PC supply Dimensions: Occupies one 16-bit PC/AT full slot or 8-bit PC/XT full slot. Fits inPC/AT with low
PC/XT form-factor. 13.13" long x 3.9" high (333mm x 99mm). Speed: 16-bit DMA: 1M byte/s (reads); 800K byte/s (writes).8-bit DMA: 330K byte/s (reads); 220K byte/s (writes)
Environment: 0 to 50° C, 0 to 95% RH, non-condensing DMA Capability: Channels 1-3 (8-bit) are selectable in a PC/XT or PC/AT. Channels 0-3 (8-bit) and
5-7 (16-bit) are selectable in a PC/AT.Multiple MP488 boards may share the same DMA channel.
Interrupt Capability: IRQ 2 - 7 for PC/XT, IRQ 2 - 7, 9, 10 - 12, 14, or 15 for PC/AT 16-bit slot I/O Base Address: &H02E1, &H22E1, &H42E1, or &H62E1 Digital I/O: 40 digital I/O lines; 24 configurable as input or output, 8 fixed input, 8 fixed output lines. Counter/Timer: AMD Am9513A, 1 frequency output, 5 counter/timers. Counter/Timer Frequency: DC - 7 MHz. Internal Timebase: Up to 1 MHz, accuracy of 0.01%.
GP488/2 Interface Board
IEEE 488 Controller Device: IOT7210 (See Note) Power Consumption: 1A max @ 5V from PC supply. Dimensions: Occupies one full length slot in a MicroChannel bus. Speed: 8-bit DMA: 330K byte/s (reads); 220K byte/s (writes). Environment: 0 to 50° C, 0 to 95% RH, non-condensing DMA Capability: 8-bit on channels 0 through 14 Interrupt Capability: IRQ 4, 5, 6, 7, 10, 11, or 15.
GP488/MM Interface Board
IEEE 488 Controller Device: IOT7210 (See Note) Maximum Transfer Rate: 330K byte/s (reads and writes) Connector: 26-pin header ribbon cable to standard IEEE 488 connectors Environment: 0 to 70° C; 0 to 95% RH (non-condensing) DMA Capability: Channels 0, 1, 2., or 3 (jumper selectable) Interrupts: IRQ 2, 3, 4, 5, 6, or 7 IEEE Base I/O Addresses: &H02E1, &H22E1, &H42E1, or &H62E1
NB488 Interface Module
Speed: 170 Kbyte/s (reads and writes) Dimensions: 5.5" x 4" x 1.5" IEEE 488 Connector: Accepts standard IEEE 488 connector with metric studs Parallel Port Input Connector: Male DB25 Parallel Port Output Connector to Printer IEEE: Female DB25 Instrument Fan-out: Can control up to 14 IEEE instruments Power: 400-500 mA at 5 VDC from PC keyboard port or 7-15 VDC at 400-500 mA from external
power source Environment: 0 to 70° C; 0 to 95% RH (non-condensing)
PCMCIA Interface Card
Speed: 1.0M byte/s Dimensions: Type II (5 mm) PCMCIA Card Power: 100 mA I/O: 16-byte, relocatable
Personal488 User’s Manual, Rev. 3.0 I-7
2. Personal488 (with GP488B) I. HARDWARE GUIDES
2. Personal488 (with GP488B)
Topics
The Package........................................................................................ I-8
Hardware Installation (for PC/XT/AT).......................................... I-8
Installation & Configuration of the Interface Card ................................... I-8
Default Settings ................................................................................................ I-9
I/O Base Address Selection .............................................................................. I-9
Interrupt Selection ........................................................................................... I-9
DMA Channel Selection ................................................................................. I-10
Wait State Configuration .............................................................................. I-11
Internal Clock Selection ................................................................................ I-11
Board Installation.......................................................................................... I-11
The Package
Personal488, including the IEEE 488 interface board and the Driver488 software, is carefully inspected, both mechanically and electrically, before shipment. When you receive the product, unpack all items carefully from the shipping carton and check for any obvious signs of physical damage that may have occurred during shipment. Report any such damage to the shipping agent immediately. Remember to retain all shipping materials in the event shipment back to the factory becomes necessary.
For the following software versions, the Personal488 package varies:
Driver488/DRV, SUB, or W31: This package includes: The GP488B IEEE 488 Bus Interface
Board, Driver488 Software Disks (Driver488/DRV, Driver488/SUB, Driver488/W31), and the Personal488 User’s Manual.
Driver488/W95: This package includes: The GP488B IEEE 488 Bus Interface Board, Driver488
Software Disks (Driver488/W95), and the Personal488 User’s Manual.
Driver488/WNT: This package includes: The GP488B IEEE 488 Bus Interface Board, Driver488
Software Disks (Driver488/WNT), and the Personal488 User’s Manual.
Hardware Installation (for PC/XT/AT)
Installation & Configuration of the Interface Card
The following paragraphs explain configuration and physical installation of the interface card. Software installation and setup are covered in a separate section. After configuring your board, please make note of the following. This information is needed for Driver488 software installation.
I/O Base Address
Interrupt Channel
DMA channel, if applicable
Whether or not the board is the System Controller
I-8 Personal488 User’s Manual, Rev. 3.0
I. HARDWARE GUIDES 2. Personal488 (with GP488B)
Note: The GP488B, as illustrated, has one DIP switch, two 12-pin headers and one 3-pin header,
labeled SW1, J3, J4, and J5, respectively. The DIP switch setting, along with the arrangement of the jumpers on the headers, set the hardware configuration.
Default Settings
The figure indicates the GP488B default configuration. Notice that SW1 controls the wait state generation, the I/O base address and interrupt response level, J4 sets the interrupt request level, J3 selects the DMA channel, and J5 selects the clock source.
I/O Base Address Selection
The I/O base address sets the addresses used by the computer to communicate with the IEEE 488 interface hardware on the board. The address is normally specified in hexadecimal and can be 02E1,
22E1, 42E1, or 62E1. The registers of the IOT7210 IEEE 488 controller chip and other auxiliary
registers are then located at fixed offsets from the base address. Most versions of Driver488 are capable of managing as many as four IEEE 488 interface boards. To
do so, the board configurations must be arranged to avoid conflict among themselves. No two boards may have the same I/O address, but they may, and usually should, have the same DMA channel and interrupt level.
The factory default I/O base address is 02E1. To use another, set SW1 switches 4 and 5 according to the following table and figure.
I/O Base Address Register
02E1 22E1 42E1 62E1 02E1 22E1 42E1 62E1 06E1 26E1 46E1 66E1 0AE1 2AE1 4AE1 6AE1 0EE1 2EE1 4EE1 6EE1 12E1 32E1 52E1 72E1 16E1 36E1 56E1 76E1 1AE1 3AE1 5AE1 7AE1 1EE1 3EE1 5EE1 7EE1
Read Register Write Register
Data In Data Out Interrupt Status 1 Interrupt Mask 1 Interrupt Status 2 Interrupt Mask 2 Serial Poll Status Serial Poll Mode Address Status Address Mode CMD Pass Through Auxiliary Mode Address 0 Address 0/1 Address 1 End of String
Personal488 User’s Manual, Rev. 3.0 I-9
2. Personal488 (with GP488B) I. HARDWARE GUIDES
Interrupt Selection
The GP488B interface board may be set to interrupt the PC on the occurrence of certain hardware conditions. The level of the interrupt generated is set by J4. The GP488B adheres to the “AT-style” interrupt sharing conventions. When an interrupt occurs, the interrupting device must be reset by writing to I/O address 02FX, where X is the interrupt level (from 0-7). This interrupt response level is set by switches 1, 2, and 3 of SW1 which must be set to correspond to the J4 interrupt level setting. Interrupt selection is illustrated in the following figure.
DMA Channel Selection
Direct Memory Access (DMA) is a high-speed method of transferring data from or to a peripheral, such as a digitizing oscilloscope, to or from the PC’s memory. The PC has four DMA channels, but channel 0 is used for memory refresh and is not available for peripheral data transfer. Channel 2 is usually used by the floppy disk controller, and is also unavailable. Channel 3 is often used by the hard disk controller in PCs, XTs, and the PS/2 with the ISA bus, but is usually not used in ATs. So, depending on your hardware, DMA channels 1 and possibly 3 are available. Under some rare conditions, it is possible for high-speed transfers on DMA channel 1 to demand so much of the available bus bandwidth that simultaneous access of a floppy controller will be starved for data due to the relative priorities of the two channels. Configure the board according to which DMA channel, if any, is available.
I-10 Personal488 User’s Manual, Rev. 3.0
I. HARDWARE GUIDES 2. Personal488 (with GP488B)
Wait State Configuration
The GP488B is fast enough to be compatible with virtually every PC/XT/AT-compatible computer on the market. Even if the computer is very fast, the processor is normally slowed to 8MHz or below when accessing the I/O channel. If the I/O channel runs faster than 8 MHz, it may be faster than the GP488B card. If you suspect this is a problem, the computer can be made to wait for the GP488B by enabling wait states. Increasing the number of wait states slows down access to the GP488B card, but the overall performance degradation is usually only a few percent.
Internal Clock Selection
The IEEE 488 bus interface circuitry requires a master clock. This clock is normally connected to an on-board 8 MHz clock oscillator. However, some compatible IEEE 488 interface boards connect this clock to the PC’s own clock signal. Using the PC clock to drive the IEEE 488 bus clock is not recommended because the PC clock frequency depends on the model of computer. A standard PC has a 4.77 MHz clock, while an AT might have a 6 MHz or 8 MHz clock. Other manufacturers’ computers may have almost any frequency clock. If you are using a software package designed for an interface board (that derived its clock from the PC clock) and you need to do the same to use GP488B with that particular software, the clock source can be changed. However, the clock frequency must never be greater than 8 MHz, and clock frequency must be correctly entered in the Driver488 software.
Board Installation
The IEEE 488 interface board(s) are installed into expansion slots inside the PC’s system unit. PC/AT­compatible computers have two types of expansion slots: 8-bit (with one card-edge receptacle), and 16­bit (with two card-edge receptacles). Eight-bit boards, such as the IEEE 488 interface boards, may be used in either type of slot, 8- or 16-bit. Some machines may have special 32-bit memory expansion slots which should not be used for IEEE 488 interface boards.
Install each IEEE 488 interface board into the expansion slots as follows: Ensure the PC is turned off and unplug the power cord. Remove the cover mounting screws from the rear of the PC system unit. Remove the system unit cover by sliding it forward and tilting it upward.
Personal488 User’s Manual, Rev. 3.0 I-11
2. Personal488 (with GP488B) I. HARDWARE GUIDES A rear panel opening is provided at the end of each expansion slot for mounting I/O connectors. If a
slot is unused, this opening is covered by a metal plate held in place with a screw. Remove this screw and the cover plate from the desired expansion slot, saving the screw.
Insert the IEEE 488 interface board carefully into the expansion slot, fitting the IEEE 488 connector through the rear panel opening, and inserting its card edge into the motherboard card edge receptacle. With the board firmly in place, fix its mounting bracket to the rear panel, using the screw removed from the cover plate.
Slide the system unit cover back on, re-attaching it with the screws. Plug the power cord in and turn on the PC. If all is well, the system should boot normally. If not, carefully check that none of the I/O addresses conflict with any other devices or boards. If you are not sure, contact your PC’s dealer or manufacturer.
I-12 Personal488 User’s Manual, Rev. 3.0
I. HARDWARE GUIDES 3. Personal488/AT
3. Personal488/AT
Topics
The Package.......................................................................................I-13
Hardware Installation (for PC/XT/AT).........................................I-13
Installation & Configuration of the Interface Card ..................................I-13
Default Settings ...............................................................................................I-13
I/O Base Address Selection.............................................................................I-13
Interrupt Selection ..........................................................................................I-14
DMA Channel Selection..................................................................................I-15
Board Installation...........................................................................................I-15
The Package
Personal488/AT, including the IEEE 488 interface board and the Driver488 software, is carefully inspected, both physically and electronically, before shipment. When you receive the product, unpack all items carefully from the shipping carton and check for any obvious signs of physical damage that may have occurred during shipment. Report any such damage to the shipping agent immediately. Remember to retain all shipping materials in the event shipment back to the factory becomes necessary.
The Personal488/AT includes:
AT488 IEEE Bus Interface Board
Driver488 Software Disks (Driver488/DRV, Driver488/SUB, Driver488/W31, & Driver488W95)
Personal488 User’s Manual
Hardware Installation (for PC/XT/AT)
Installation & Configuration of the Interface Card
The following paragraphs explain configuration and physical installation of the interface card. Software installation and setup are covered in a separate section. After configuring your board, please make note of the following: the I/O Base Address, the interrupt channel, the DMA channel, if any, and whether or not the board is the System Controller. This information is needed for Driver488 software installation.
The Personal488/AT has two DIP switches (S1 and S2), and three 14-pin headers (IRQ, DACK and DRQ). The DIP switch settings, along with the arrangement of the jumpers on the headers, set the hardware configuration.
Default Settings
Notice that S1 and IRQ set the interrupt response level, S2 controls the I/O base address, and DACK and DRQ select the DMA channel.
Personal488 User’s Manual, Rev. 3.0 I-13
3. Personal488/AT I. HARDWARE GUIDES
I/O Base Address Selection
The I/O base address sets the addresses used by the computer to communicate with the IEEE 488 interface hardware on the board. The address is normally specified in hexadecimal and can be 02E1,
22E1, 42E1, or 62E1. The registers of the IOT7210 IEEE 488 controller chip and other auxiliary
registers are then located at fixed offsets from the base address. Most versions of Driver488 are capable of
managing as many as four IEEE 488 interface boards. To do so, the board configurations must be arranged to avoid conflict among themselves. No two boards may have the same I/O address, but they may, and usually should, have the same DMA channel and interrupt level.
The factory default I/O base address is 02E1. To use a different base address, set S2 according to the figure.
I/O Base Address Register
02E1 22E1 42E1 62E1 02E1 22E1 42E1 62E1 06E1 26E1 46E1 66E1 0AE1 2AE1 4AE1 6AE1 0EE1 2EE1 4EE1 6EE1 12E1 32E1 52E1 72E1 16E1 36E1 56E1 76E1 1AE1 3AE1 5AE1 7AE1 1EE1 3EE1 5EE1 7EE1
Read Register Write Register
Data In Data Out Interrupt Status 1 Interrupt Mask 1 Interrupt Status 2 Interrupt Mask 2 Serial Poll Status Serial Poll Mode Address Status Address Mode CMD Pass Through Auxiliary Mode Address 0 Address 0/1 Address 1 End of String
Interrupt Selection
The AT488 interface board may be set to interrupt the PC on the occurrence of certain hardware conditions. The main board interrupt may be set to IRQ level 3 through 7, 9 through 12, 14, or 15.
I-14 Personal488 User’s Manual, Rev. 3.0
Loading...
+ 372 hidden pages