9640A
Instruction Manual
4B-18
Use the same technique when you program the enable registers.
1.
Select which bits should be true.
2.
Convert the binary expression to decimal data.
3.
Send the decimal data to the instrument.
Clearing/Setting all bits
Clear an enable register by programming it to zero. To set all bits true in a 16-bit event
enable register program it to 32767 (bit 16 not used).
To set all bits true in an 8-bit registers program it to 255 (Service Request Enable and
Standard Event Enable.)
Status of the Output Queue (MAV)
The MAV (message available) queue status message appears in bit 4 of the status byte
register. It indicates if there are bytes ready to be read over the GPIB in the GPIB output
queue of the instrument. The output queue is where the formatted data appears before it is
transferred to the controller.
The controller reads this queue by addressing the instrument as a talker.
Using the Status Byte
The status byte is an eight-bit status message. It is sent to the controller as a response to a
serial poll or a
*STB?
query. Each bit in the status byte contains a summary message
from the status structure. You can select what bits in the status byte should generate a
service request to alert the controller.
When a service request occurs, the
SRQ
-line of the GPIB will be activated. Whether or
not the controller will react on the service request depends on the controller program. The
controller may be interrupted on occurrence of a service request, it may regularly test the
SRQ-line, it may regularly make serial poll or
*STB?
, or the controller may not react at
all. The preferred method is to use
SRQ
because it presents a minimum of disturbance to
the measurement process.
Selecting Summary Message to Generate SRQ
The Instrument does not generate any
SRQ
by default. You must first select which
summary message(s) from the status byte register should give
SRQ
. You do that with the
Service Request Enable command
*SRE <bit mask>
.
Example
*SRE 32
This sets bit 4 (16=00010000
2
) in the service request enable register. This makes the
instrument signal
SRQ
when a message is available in the output queue.
Содержание 9640A Series
Страница 8: ......
Страница 16: ...9640A Instruction Manual viii...
Страница 22: ...9640A Instruction Manual 1 2...
Страница 40: ...9640A Instruction Manual 2 2...
Страница 108: ...9640A Instruction Manual 4A 2...
Страница 138: ...9640A Instruction Manual 4C 2...
Страница 164: ...9640A Instruction Manual 4D 2...
Страница 168: ...9640A Instruction Manual 4D 6...
Страница 170: ...9640A Instruction Manual 4E 2...
Страница 174: ...9640A Instruction Manual 4E 6...
Страница 176: ...9640A Instruction Manual 4F 2...
Страница 184: ...9640A Instruction Manual 4F 10...
Страница 186: ...9640A Instruction Manual 4G 2...
Страница 190: ...9640A Instruction Manual 4G 6...
Страница 192: ...9640A Instruction Manual 5 2...
Страница 272: ...9640A Instruction Manual 5 82...
Страница 274: ...9640A Instruction Manual 6 2...
Страница 284: ...9640A Instruction Manual 7 2...
Страница 309: ...8 1 Chapter 8 Lists of Replaceable Parts Title Page Introduction 8 3 How to Obtain Parts 8 3 Parts Lists 8 4...
Страница 310: ...9640A Instruction Manual 8 2...
Страница 316: ...9640A Instruction Manual 8 8...
Страница 320: ...9640A Instruction Manual A 4...