Programming instructions

Table Of Contents
Command Query Options and Query Returns
*SRE
<mask>
*SRE? <mask> ::= sum of all bits that are set, 0 to 255; an integer in NR1
format. <mask> ::= following values:
Bit Weight Enables
7 128 OPER - Operation Status Register
6 64 Not Used
5 32 ESB - Event Status Bit
4 16 MAV - Message Available
3 8 Not used
2 4 MSG - Message
1 2 USR - User
0 1 TRG - Trigger
n/a :STATus?
<display>
{ON | OFF}
<display> ::= {ANALog1 | ANALog2 |
DIGital0,...,DIGital15 | PMEMory1 | PMEMory2}
n/a *STB? <value> ::= 0 to 255; an integer in NR1 format, as shown in the
following:
Bit Weight Name Condition
7 128 OPER 0 = no enabled operations status
conditions occurred
1 = an enabled operation status
condition occurred
6 64 RQS/MS 0 = instrument has no reason for
service
1= instrument is requesting
service
5 32 ESB 0 = no event status conditions
occurred
1 = enabled event status condition
occurred
4 16 MAV 0 = no output messages are ready
1 = an output message is ready
3 8 ---- 0 = not used
2 4 MSG 0 = no message has been
displayed
1 = message has been displayed
1 2 USR 0 = no enabled user event
conditions have occurred
1 = an enabled user event
condition has occurred
0 1 TRG 0 = no trigger has occurred
1 = a trigger occurred
:STOP n/a n/a
:SYSTem:DSP
<string>
n/a <string> ::= quoted ASCII string
n/a :SYSTem:ERRor? <error> ::= an integer error code
<error string> ::= quoted ASCII string
See error values in the online Programmers Reference.
:SYSTem:KEY
<key_code>
:SYSTem:KEY? <key_code> ::= -1 to 50; an integer
See key code values in the online Programmer’s Reference.
Programmer’s Quick Reference
Commands and Queries
8-11