Programming instructions

Table Of Contents
Command Query Options and Query Returns
n/a *IDN? HEWLETT-PACKARD,<model>, 0, X.X
<model> ::= the model number of the instrument
<X.X> ::= the software revision of the instrument
n/a *LMC? <ascii string> ::= string list seperated by commas
n/a *LRN? <learn_string> ::= a block of data in IEEE 488.2 # format
:MASK:CREATe n/a n/a
:MASK:DATA
<mask_data>
:MASK:DATA? <mask_data> ::= 1008 bytes of data that represent the currently
selected mask template.
:MASK:DESTination
{TRACe | PRINter}
:MASK:DESTination? {TRACe | PRINter}
:MASK:FAILmode
{IN | OUT}
:MASK:FAILmode? {IN | OUT}
:MASK:INCRement
{ON | OFF}
:MASK:INCRement? {ON | OFF}
:MASK:NUMBer
<number>
:MASK:NUMBer? <number> ::= memory (1 or 2)
:MASK:POSTfailure
{RUN | STOP}
:MASK:POSTfailure? {RUN | STOP}
:MASK:SAVE
{ON | OFF}
:MASK:SAVE? {ON | OFF}
n/a :MASK:STATistics? <compares, failures, failure %> ::=
current number of mask tests performed,
number of failures detected,
percentage of failures
:MASK:TEST
{ON | OFF}
:MASK:TEST? {ON | OFF}
:MASK:TOLerance
<value>
:MASK:TOLerance? <value> ::= the tolerance used when creating a mask template.
The entered value can be from 0.00 to 20.0 percent.
:MEASure:DEFine
<measurement>,
<edge spec1, edge spec2>
:MEASure:DEFine? <measurement> ::= DELay
edge_spec1 ::= [<slope>] <occurrence>
edge_spec2 ::= [<slope>] <occurrence>
<slope> ::= {+ | -}
<occurrence> ::= integer from 1 to 5
:MEASure:DELay
[<source>]
:MEASure:DELay?
[<source>]
<source> ::= {ANALog1 | ANALog2}
<return_value> ::= floating-point number delay time in seconds in
NR3 format
:MEASure:DUTYcycle
[<source>]
:MEASure: DUTYcycle?
[<source>]
<source> ::= {ANALog1 | ANALog2 | DIGital0,...,DIGital15}
<return_value> ::= ratio of positive pulse width to period in NR3
format
:MEASure:FALLtime
[<source>]
:MEASure:FALLtime?
[<source>]
<source> ::= {ANALog1 | ANALog2}
<return_value> ::= time in seconds between the 10% and 90%
voltage levels in NR3 format
:MEASure:FREQuency
[<source>]
:MEASure:FREQuency?
[<source>]
<source> ::= {ANALog1 | ANALog2 | DIGital0,...,DIGital15}
<return_value> ::= frequency in Hertz in NR3 format
Programmer’s Quick Reference
Commands and Queries
8-8