Manuals
Brands
HP Manuals
Desktop
9000 Series 300
Tutorials manual
HP 9000 Series 300 Tutorials Manual
Device i/o and user interfacing hp-ux concepts and tutorials
Hide thumbs
Also See for HP 9000 Series 300
:
Owner's manual
(162 pages)
,
Hardware configuration manual
(157 pages)
,
Service handbook
(108 pages)
1
2
3
4
Table Of Contents
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
page
of
306
Go
/
306
Contents
Table of Contents
Table of Contents
Table of Contents
1 Interfacing Concepts
Variation between Computer Systems
Manual Organization
DIL Interfacing Subroutines
Linking DIL Routines
Calling DIL Routines from Pascal
Calling DIL Routines from FORTRAN
General Interface Concepts
Definition
Interface Functions
Handshake I/O
Handshake Input
Handshake Output
HP-IB Protocol
The HP-IB Interface
General Structure
Handshake Lines
Bus Management Control Lines
ATN: the Attention Line
EOI: the End or Identify Line
IFC: the Interface Clear Line
REN: the Remote Enable Line
SRQ: the Service Request Line
The GPIO Interface
2 General-Purpose Routines
Additional Series 300 Routines
Opening Interface Special Files
Closing Interface Special Files
Low-Level Read/Write Operations
Example
Designing Error Checking Routines
The Errno Variable
Using Errno
The Errno.h Header File
Displaying Errno
Error Handlers
Resetting Interfaces
Locking an Interface
Controlling I/O Parameters
Setting I/O Timeout
Setting Data Path Width
Setting Minimum Data Transfer Rate
Setting the Read Termination Pattern
Termination on Byte Count
Termination on Data Pattern
Termination on Hardware Condition
Disabling a Read Termination Pattern
Determining Why a Read Terminated
Example
Interrupts
Series 300 and 800 Interrupt Support
HP-IB Interrupts
GPIO Interrupts
Io_On_Interrupt
Io_Interrupt_Ctl
3 Controlling the HP-IB Interface
Overview of HP-IB Commands
Unlisten
Untalk
Device Clear
Local Lockout ~5
Serial Poll Enable
Serial Poll Disable
TRIGGER (Group Execute Trigger)
Selected Device Clear
Go to Local
Parallel Poll Configure
Parallel Poll Enable
Parallel Poll Disable
Overview of HP-IB DIL Routines
Standard DIL Routines
HP-IB: the Computer's Role
Available Subroutines Versus Controller Role
Ground Rules
Bus Citizenship: Surviving Multi-Device/Multi-Process
Hp-Ib
Io_Lock and Io_ Unlock
Io_Burst
Hpib_Io
Opening the HP-IB Interface File
Sending HP-IB Commands
Errors While Sending Commands
Changing Parity on Commands
Active Controller Role
Determining Active Controller
Setting up Talkers and Listeners
Auto-Addressing
Using Hpib_Send_Cmnd
Calculating Talk and Listen Addresses
An Example Configuration
Locking out Local Control
Remote Control of Devices
Enabling Local Control
Triggering Devices
Data Output
Transferring Data
Data Input
Clearing HP-IB Devices
Responding to Service Requests
Monitoring the SRQ Line
Processing the Service Request
Parallel Polling
Configuring Parallel Poll Responses
Conducting a Parallel Poll
Disabling Parallel Poll Responses
Errors During Parallel Polls
Waiting for a Parallel Poll Response
Calculating the Mask
Calculating the Sense
Example
Serial Polling
Conducting a Serial Poll
Errors During Serial Poll
Passing Control
What if Control Is Not Accepted
Errors While Passing Control
Controlling the ATN Line
Changing the Interface Bus Address
System Controller Role
Determining System Controller
System Controller's Duties
Hpib_Abort
Errors During Hpib_Abort and Hpib_Ren_Ctl
Hpib_Abort
Hpib_Ren_Ctl
The Computer as a Non-Active Controller
Checking Controller Status
Requesting Service
Errors While Requesting Service
Responding to Parallel Polls
Calculating the Response
Limitations of Hpib_Card_Ppollresp
Error Conditions
Hpib_Ppollresp_Ctl
Disabling Parallel-Poll Response
Accepting Active Control
Errors While Waiting on Status
Determining When You Are Addressed
Combining I/O Operations into a Single Subroutine Call
The Mode Component
The Terminator Component
The Count Component
The Buf Component
Allocating Space
Example
Locating Errors in Buffered I/O Operations
4 Controlling the GPIO Interface
Interface Configuration
Creating the GPIO Interface File
Interface Control Limitations
Using DIL Subroutines
Resetting the Interface
Performing Data Transfers
Using Status and Control Lines
Reading STIO and Stll
Controlling Data Path Width
Controlling Transfer Speed
GPIO Timeouts
Burst Transfers
Read Terminations
Determining Why a Read Operation Terminated
Specifying a Read Termination Pattern
Interrupts
Location of the DIL Subroutines A-I
The GPIO Interface
Data Lines
Handshake Lines
Special-Purpose Lines
Data Handshake Methods
Quick Links
1
Variation between Computer Systems
See also:
Service Handbook
Device I/O and User Interfacing
HP-UX Concepts and Tutorials
HP 9000 Series 300/800 Computers
HP Part Number 97089-90057
FliOW
HEWLETT
a!e.
PACKARD
Hewlett-Packard Company
3404 East Harmony Road, Fort Collins, Colorado 80525
Table of
Contents
Previous
Page
Next
Page
1
2
3
4
5
Table of Contents
Related Manuals for HP HP 9000 Series 300
Desktop HP 9000 200 Series Manual
Using the basic 5.0/5.1 system (230 pages)
Controller HP 9000 300 Series Owner's Manual
Workstation controllers (162 pages)
Controller HP 9000 300 Series Hardware Configuration Manual
(157 pages)
Controller HP 9000 300 Series Service Handbook
(108 pages)
Desktop HP 9000 300 Series Installation Reference
(93 pages)
Measuring Instruments HP 9000 300 Series Service Training
(85 pages)
Desktop HP 9000 Series 300 Service Handbook
Hp 9000 series 300 computers (59 pages)
Desktop HP 9000 Series 700 Manual
Using the hp dtc manager/ux (222 pages)
Desktop HP c3750 - Workstation Troubleshooting Manual
Troubleshooting guide for scr+dmi (6 pages)
Desktop HP Rp3440-4 - 9000 - 0 MB RAM Update
Servers and workstations (2 pages)
Desktop HP 9000 742i Owner's Manual
9000 series 700i industrial workstations (134 pages)
Desktop HP CQ5110F - Presario - 3 GB RAM Limited Warranty
Limited warranty and support guide (56 pages)
Desktop HP 330 Service Information Manual
(198 pages)
Desktop HP C160 Owner's Manual
Hewlett-packard owner's guide monitor c160, c180, c200, c240, c360 (242 pages)
Desktop HP 382 Owner's Manual
Hewlett-packard 382 hp 9000 series 300 workstation controllers owner's guide (162 pages)
Desktop HP Model 747i - Workstation Declaration Of Conformity
Hp model 747i declaration of conformity (1 page)
Related Products for HP HP 9000 Series 300
HP 9000 Series 319C+
HP 9000 Series 320
HP 9000 Series 310
HP 9000 Series 360
HP 9000 Series 370
HP 9000 330
HP 9000 350
HP Apollo 9000 400t
HP Appolo 9000 400s
HP 9000 C240
HP 9000 C110
HP HP 9000 Series 500
HP 9000 K400 4 CPU
HP 9000 K410 2 CPU
HP 9000 K410 3 CPU
HP 9000 E25
This manual is also suitable for:
Hp 9000 series 800
Table of Contents