Programming instructions
Table Of Contents
- Contents
- Title Page
- Chapter 1 Introduction to Programming
- Chapter 2 Programming Getting Started
- Chapter 3 Programming over HP-IB
- Chapter 4 Programming over RS-232-C
- Chapter 5 Programming and Documentation Conventions
- Chapter 6 Status Reporting
- Figure 6-1. Status Reporting Overview Block Diagram
- Table 6-1. Status Reporting Bit Definition
- Status Reporting Data Structures
- Status Byte Register (SBR)
- Service Request Enable Register (SRER)
- Trigger Event Register (TRG)
- Standard Event Status Register (SESR)
- Standard Event Status Enable Register (SESER)
- User Event Register (UER)
- Local Event Register (LCL)
- Operation Status Register (OPR)
- Limit Test Event Register (LTER)
- Mask Test Event Register (MTER)
- Histogram Event Register (HER)
- Arm Event Register (ARM)
- Error Queue
- Output Queue
- Message Queue
- Key Queue
- Clearing Registers and Queues
- Figure 6-3. Status Reporting Decision Chart
- Chapter 7 Installing and Using the Programmer's Reference
- Chapter 8 Programmer’s Quick Reference
- Warranty
- Index
Command Query Options and Query Returns
:FUNCtion2:MOVE
{LEFT)
n/a n/a
:FUNCtion<N>:OFFSet
<offset>
:FUNCtion<N>:OFFSet? <offset> ::= the value at center screen in NR3 format.
The range of legal values is +-10 times the current
sensitivity of the selected function.
<N> ::= 1 or 2
:FUNCtion<N>:OPERation
<operation>
:FUNCtion<N>:OPERation? <operation> ::=
{ADD | SUBTract | MULTiply} for :FUNCtion1:OPERation
{INTegrate | DIFFerentiate | FFT} for :FUNCtion2:OPERation
<N> ::= 1 or 2
n/a :FUNCtion2:PEAKs?
{FREQ1 | DB1 | FREQ2 | DB2}
<measurement> ::= {FREQ1 | DB1 | FREQ2 | DB2}.
The measurement is the value of the peak specified in
NR3 format.
:FUNCtion<N>:RANGe
<range>
:FUNCtion<N>:RANGe? <range> ::= the full-scale vertical axis value in NR3 format.
The range for FUNCtion1 is 8E-6 to 8E+6.
The range for the INTegrate function is 8E-9 to 400E+3.
The range for the DIFFerentiate function is 8E-6 to 1.6E11.
The range for the FFT function is 8 to 400 dBV.
<N> ::= 1 or 2
:FUNCtion2:REFerence
<level>
:FUNCtion2:REFerence? <level> ::= the current reference level in NR3 format.
The range of legal values is from ±160.0 dBV to +240.0 dBV
in increments of 2.5 dBV.
:FUNCtion2:SOURce
{CHANnel1 | CHANnel2 |
FUNCtion1}
:FUNCtion2:SOURce? {ANALog1 | ANALog2 | FUNCtion1}.
The current reference level value is in NR3 format.
The range of legal values is from ±160.0 dBV to +240.0 dBV
in increments of 2.5 dBV.
:FUNCtion2:SPAN
<span>
:FUNCtion2:SPAN? <span> ::= the current frequency span in NR3 format.
Legal values are 1.221 Hz to 9.766 GHz
:FUNCtion<N>:VIEW
{ON | OFF}
:FUNCtion<N>:VIEW? {ON | OFF}
<N> ::= 1 or 2
:FUNCtion2:WINDow
{RECTangular | HANNing |
FLATtop | EXPonent}
:FUNCtion2:WINDow? {RECTangular | HANNing | FLATtop | EXPonent}
n/a *GMC?
<macro label>
<macro label> ::= quoted ASCII string
<macro definition> ::= block data in IEEE 488.2 # format
:HARDcopy:ADDRess
<address>
:HARDcopy:ADDRess? <address> ::= 0 to 31; an integer in NR1 format
:HARDcopy:DEVice
<device>
:HARDcopy:DEVice? <device> ::=
{THINkjet | LASerjet | EPSon | BWDeskjet | PLOTter}
:HARDcopy:FACTors
{{OFF | 0} | {ON | 1}}
:HARDcopy:FACTors? {OFF | ON}
:HARDcopy:FFEed
{{OFF | 0} | {ON | 1}}
:HARDcopy:FFEed? {OFF | ON}
:HARDcopy:GRAYscale
{{OFF | 0} | {ON | 1}}
:HARDcopy:GRAYscale? {OFF | ON}
Programmer’s Quick Reference
Commands and Queries
8-7