Keithley KM-488-ROM User Manual page 63

Ieee-488 interface board
Table of Contents

Advertisement

example
SPOLL (cont.)
ADR
Invalid GPIB Address. If this bit is set to 1, an invalid GLIB
address was provided.
This example illustrates a simple serial poll of a device located at GLIB
address 10.
10
20
25
30
10
SO
60
70
im-
usage
parameters
BIT
7
6
6
4
3
2
1
0
X
X
X
X
ADR3
ADR2
ADRl
ADRO
STATUS
Returns the current setting of the requested status parameter.
xx
STATUS
-
209
xxrrlJ% -
xx *tat% -
Xx CALL
STATUS
(rag%, &at%)
reg% is an INTEGER containing the address of the register or
configuration parameter to be queried. This value corresponds to a 4-bit
field specifying the status register or configuration parameter to be read.
The format of the reg% byte is as follows:
Reg (input) - Low Byte
X
May be any value.
ADR3-0 REGISTER/PARAMETER SELECT. This is a 4.bit field
which specifies the status register or configuration
parameter to be read. Registers and parameters are selected
as follows:
PROGRAMMING IN BASICA OR GWBASIC
4 - 23

Advertisement

Table of Contents
loading

Table of Contents