Keithley 2002 User Manual page 200

Hide thumbs Also See for 2002:
Table of Contents

Advertisement

Program fragment
Description
Program fragment
Description
Program fragment
Parameters
Query
Description
Program fragment
Parameters
Query
PRINT #1, "output 16; :disp:text:stat on; stat?"
PRINT #1, "enter 16"
:DATA?
:DISPlay[:WINDow[1]]:DATA?
:DISPlay:WINDow2:DATA?
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 2002 to talk, the dis-
played data (message or reading) will be sent to the computer.
PRINT #1, "output 16; :disp:data?"
PRINT #1, "enter 16"
:CNDisplay
:DISPlay:CNDisplay
Clear (cancel) NEXT display
This action command is used to clear the bottom display of NEXT (or PREV) messages and
cancel the operations associated with them. This command has no effect on any other message
types.
This example assumes that a NEXT operation is currently being displayed.
PRINT #1, "output 16; :cnd"
:SMESsage <b>
:DISPlay:SMESsage <b>
Control status message
<b> = 0 or OFF
Disable status messages
= 1 or ON
Enable status messages
:SMESsage? Query state of status message mode
This command is used to enable/disable the status message mode. The status message mode is
a diagnostic tool that provides real-time messages that relate to the current operating state of the
instrument. Table 2-4 lists the status messages.
PRINT #1, "output 16; :disp:smes on; smes?"
PRINT #1, "enter 16"
:ENABle <b>
:DISPlay:ENABle <b>
Control display circuitry
<b> = 0 or OFF
Disable display circuitry
= 1 or ON
Enable display circuitry
:ENABle? Query state of display
' Enable and query message
mode
' Get response message from
2002
Read top display
Read bottom display
' Query displayed data
' Get response message from 2002
' Clear NEXT display
' Enable and query status message
mode
' Get response message from 2002
IEEE-488 Reference
3-77

Advertisement

Table of Contents
loading

Table of Contents