![Fluke 9640A Series Instruction Manual Download Page 130](http://html1.mh-extra.com/html/fluke/9640a-series/9640a-series_instruction-manual_2310441130.webp)
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.
Summary of Contents for 9640A Series
Page 8: ......
Page 16: ...9640A Instruction Manual viii...
Page 22: ...9640A Instruction Manual 1 2...
Page 40: ...9640A Instruction Manual 2 2...
Page 108: ...9640A Instruction Manual 4A 2...
Page 138: ...9640A Instruction Manual 4C 2...
Page 164: ...9640A Instruction Manual 4D 2...
Page 168: ...9640A Instruction Manual 4D 6...
Page 170: ...9640A Instruction Manual 4E 2...
Page 174: ...9640A Instruction Manual 4E 6...
Page 176: ...9640A Instruction Manual 4F 2...
Page 184: ...9640A Instruction Manual 4F 10...
Page 186: ...9640A Instruction Manual 4G 2...
Page 190: ...9640A Instruction Manual 4G 6...
Page 192: ...9640A Instruction Manual 5 2...
Page 272: ...9640A Instruction Manual 5 82...
Page 274: ...9640A Instruction Manual 6 2...
Page 284: ...9640A Instruction Manual 7 2...
Page 310: ...9640A Instruction Manual 8 2...
Page 316: ...9640A Instruction Manual 8 8...
Page 320: ...9640A Instruction Manual A 4...