User Manual

Command Syntax
Block Arguments
Several oscill
oscope commands use a block argument form.
Table 2-7: Parts of a block argument
Symbol Meaning
<NZDig>
A nonzero digit character, in the range 1-9 Species the number of
<Dig> elements that follow
<Dig> A digit character, in the range 0-9
<DChar> A character with the hex equi valent of 00 through FF hexadecimal
(0 through 255 decimal)
<Block>
A block of data bytes, dened as:
<Block> :
= { #<NZD ig><Dig>[<Dig>...][<D Char>...] |
#0[<DChar>...]<terminator> }
The following gure shows an example of a block argument.
Figure 2-2: Block argument example
<NZDig> species the number of <Dig> elements that follow. Taken together,
the <Dig> elements form a decimal integer that species how many <DChar>
elem
ents follow.
#0 means that the <Block> is an indenite length block. The <terminator> ends
the
block. You s hould not use indenite length blocks with RS-232, because there
is no way to include a <terminator> character as a <DChar> character.
Th
e rst occurrence of a <terminator> character signals the end of the block and
any subsequent <DChar> characters will be interpreted as a syntax error. With
the GPIB, the EOI line signals the last byte. With the USB, the EOM bit signals
the last byte.
TDS200, TDS1000/2000, TDS1000B/2000B, TDS2000C, TPS2000 Programmer 2-9