Tektronix TDS 310 Sprinkler User Manual


 
Command Syntax
TDS 310, TDS 320 & TDS 350 Programmer Manual
2Ć9
Block Arguments
Several oscilloscope commands use a block argument form:
Symbol Meaning
<NZDig>
A nonĆzero digit character, in the range 1-9
<Dig> A digit character, in the range 0-9
<DChar> A character with the hex equivalent of 00 through
FF hexadecimal (0 through 255 decimal)
<Block> A block of data bytes, defined as:
<Block> ::=
{ #<NZDig><Dig>[<Dig>...][<DChar>...]
| #0[<DChar>...]<terminator> }
<NZDig> specifies the number of <Dig> elements that follow. Taken together,
the <Dig> elements form a decimal integer that specifies how many
<DChar> elements follow.
#0 means that the <Block> is an indefinite length block. The <termina-
tor> ends the block. You should not use indefinite length blocks with
RSĆ232, because there is no way to include a <terminator> character as a
<DChar> character. The first 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.
ALIas:DEFINE “SETUp1”,#231AUTOSet EXECute;:SELect:REF1
ON
Block Header
Specifies Number of
Length Digits that Follow
Specifies Data
Length
Block Argument
Figure 2Ć2:ăBlock Argument Example