Agilent Technologies 1670G Printer Accessories User Manual


 
PROGram
Command/Query The PROGram command is used to modify an existing pattern generator
macro line.
The first parameter is the line number of the instruction to be modified. Note
that some lines cannot be modified (MACRO and MACRO END) and some
instructions can have parameters modified. The instruction type cannot be
changed (REPeat can have the repeat count changed, but it cannot be
changed to a NOOP).
The second parameter is an optional label name. The label name allows any
data values specified in the command to be assigned starting with the label
name rather than defaulting to the first label. This is useful when modifying
only a portion of the data for a macro line.
You can only modify 16 labels per PROGram command. To modify more than 16
labels, use the optional label name parameter.
The third parameter is the instruction. The options for this parameter are
described below.
The fourth parameter is an optional instruction argument. This parameter
will only appear when required by a specific instruction as described below.
The last parameter(s) are the data assignments for this line. These
assignments are normally made one per label, starting with the left-most
column in the display. In addition to the normal data values, parameters
passed in with a macro call can be inserted within the body of the macro.
Specifying more than 16 data assignments will cause a command error.
Note that some instructions cannot be modified. To change the instruction
type in these cases, it is necessary to first REMove the line(s) and INSert
new lines(s).
The query returns the current contents (instruction and data) for the
specified line number.
MACRo Subsystem
PROGram
40–10