User manual

Series 3700 System Switch/Multimeter Reference Manual Section 12: Status Model
3700S-901-01 Rev. C / July 2008 12-25
Commands
Bit
To read registers:
print(status.measurement.*)
Where * = .ntr, .ptr, .enable, .event, and .condition
NOTE The first three (.ntr, .ptr, and .enable) are read/write, while the last two
(.event and .condition) are read only.
print(status.measurement.condition)
print(status.measurement.event)
Queues
The Series 3700 uses two queues, which are first-in, first-out (FIFO) queues:
Output queue: Used to hold response messages.
Error queue: Used to hold error and status messages.
The Series 3700 status model shows how the two queues are structured with
the other registers.
Output queue
The output queue holds data that pertains to the normal operation of the
instrument. For example, when a print command is sent, the response message
is placed in the output queue and the message available (MAV) bit in the status
byte register sets. A response message is cleared from the output queue when it
is read. The output queue is considered cleared when it is empty. An empty
output queue clears the MAV bit in the status byte register. A message is read
from the output queue by addressing the Series 3700 to talk.