Models 2510 and 2510-AT User’s Manual
Status Structure
7-19
Programming example — program and read register set
programs and reads the measurement register set.
Registers are read using the binary format (which directly indicates which bits are set).
The command to select format (FORMat:SREGister) is documented in
Queues
The Model 2510 uses two queues, which are first-in, first-out (FIFO) registers:
•
Output Queue — Used to hold reading and response messages.
•
Error Queue — Used to hold error and status messages. (See
The Model 2510 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 query command is sent, the response message is placed in the Output
Queue.
When data is placed in the Output Queue, the Message Available (MAV) bit in the Status
Byte Register sets. A data 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 Model 2510 to talk after the
appropriate query is sent.
Table 7-8
Program and read register programming example
Command
Description
FORM:SREG BIN
Select binary format to read registers.
STAT:MEAS:ENAB 512
Enable BFL (buffer full).
STAT:MEAS:COND?
Read Measurement Condition Register.
STAT:MEAS?
Read Measurement Event Register.
Содержание TEC SourceMeter 2510
Страница 194: ...A Specifications...
Страница 197: ...B StatusandErrorMessages...
Страница 206: ...C IEEE 488BusOverview...
Страница 221: ...D IEEE 488andSCPI ConformanceInformation...
Страница 225: ...E ExamplePrograms...
Страница 233: ...F GPIB488 1Protocol...