Agilent Technologies 16522A User Manual page 88

200-m vectors/s pattern generator
Table of Contents

Advertisement

Programming the Agilent 16522A
PROGram
integer where instruction/data will be modified
<line_number>
<optional_
a string of up to 6 alphanumeric characters specifying the label where
modification begins.
label>
<event>
{A|B|C|D|IF|IMB}
<count>
integer repeat count
<#>
macro number
a string in one of the following forms:
<data_value>
'#B01...' for binary
'#Q01234567...' for octal
'#H0123456789ABCDEF...' for hexadecimal
'0123456789...' for decimal
Query Syntax:
:SEQuence:PROGram? <line_number>
Note that the returned format of a SEQ:PROG? query is the same instruction
text that appears in a front panel listing on the Agilent 16500B/C. This text
string cannot be used as part of a command sent to the Agilent 16522A.
Returned Format:
{IF (External Pattern = #) | END IF | WAIT
<event> | SIG IMB | START LOOP # REPEAT # TIMES |
END LOOP # | BREAK | MACRO Macro# () | INIT
SEQUENCE START | INIT SEQUENCE END | MAIN
SEQUENCE START | MAIN SEQUENCE END},<data_value>,
<data_value>, ...
Example
10 OUTPUT XXX; " :SEQ: PROG 248, NOOP, '17', '34', '121'"
20 OUTPUT XXX; " :SEQ: PROG 1786, WAIT, A,'17', '34', '121'"
30 OUTPUT XXX; " :SEQ: PROG 2652, REPEAT, 26, '17', '34', '121'"
40 OUTPUT XXX; " :SEQ: PROG 3166, MACR4, '#HABCD'"
41 ! Passes a single parameter to this instance of MACRO #4.
50 OUTPUT XXX; " :SEQ: PROG 3186, MACR6, '0'"
51 ! Assume no parameter defined for MACRO 6.
3–34

Advertisement

Table of Contents
loading

Table of Contents