User manual

IEEE-488 Reference
2001-900-01 Rev. K / August 2010 4-79
*RST No effect
:SYSTem:PRESet No effect
Query :STATe? Query state of message mode for specified display
Short-form formats: :disp:text:stat?
:disp:wind2:text:stat?
Response message: 1 (on) or 0 (off)
Description These commands enable and disable the text message modes. When enabled, a defined message (see pre-
vious command) will be shown on the top or bottom portion of the display. When disabled, the message
will be removed from the display, and the Model 2001 will resume normal operation.
A user defined text message remains displayed only as long as the instrument is in remote. Taking the
instrument out of remote (by pressing the LOCAL key or sending LOCAL 716), cancels the message and
disables the text message mode.
Programming example 10 OUTPUT 716; “:disp:text:stat on; stat?”
20 ENTER 716; A$
30 PRINT A$
40 END
Line 10 Displays a defined user message (see previous command) on the top display, and then queries
the state (on or off) of the display.
Line 20 Addresses the Model 2001 to talk.
Line 30 Displays (on the CRT) the state of the message mode (1; on).
:DATA?
:DISPlay[:WINDow[1]]:DATA? Read top display
:DISPlay:WINDow2:DATA? Read bottom display
Format :disp:data?
Description These query commands are used to read what is currently being displayed on the top and bottom displays.
After sending one of these commands and addressing the Model 2001 to talk, the displayed data (message
or reading) will be sent to the computer.
Programming example 10 OUTPUT 716; “:disp:data?”
20 ENTER 716; A$
30 PRINT A$
40 END
Line 10 Query the message or reading currently being displayed on the top portion of the display.
Line 20 Addresses the Model 2001 to talk.
Line 30 Display on the CRT the Model 2001 message or reading.
:CNDisplay
:DISPlay:CNDisplay Clear (cancel) NEXT display