Tektronix DPO4000 Manuale Utente Pagina 18

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 585
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 17
Command Syntax
A quoted string
can include any character dened in the 7-bit ASCII character
set. Follow these rules when you use quoted strings:
1. Use the same ty
pe of quote character to open and close the string. For
example:
"this is a valid string".
2. You can mix q
uotation marks within a string as long as you follow the
previous rule. For example:
"this is an ’acceptable’ str ing".
3. You c an in cl
ude a quote character within a string b y repeating the quote. For
example:
"here is a "" mark".
4. Strings ca
n have upper or lower case characters .
5. If you use a GPIB network, you cannot terminate a quoted string with the
END messa
ge before the closing delimiter.
6. A carriage return or line feed embedded in a quoted string does not terminate
the stri
ng. The return is treated as another character in the string.
7. The maximum length of a quoted string returned from a query is 1000
charac
ters.
Here are some invalid strings:
"Invalid string argum ent (quotes are not of the same type)
"test<EOI>" (termination character is embedded in the string)
Block
Several oscilloscope commands use a block argument form, as dened in the
table below.
Table 2-12: Block Argument
Symbol Meaning
<NZDig>
A nonzero digit character in the range of 1–9
<Dig>
A digit character, in the range of 0–9
<DChar> A character with the hexadecimal equivalent of 00 through FF (0
through 255 decimal)
<Block>
A block of data bytes dened as: <Block> ::=
{#<NZDig><Dig>[<Dig>...][<DChar>...] |#0[<DChar>...]<terminator>}
<NZDig> species the number of <Dig> elements that follow. Taken together,
the <NZDig> and <Dig> elements form a decimal integer that species how
many <DChar> elements follow.
2-8 MSO4000 and DPO4000 Series Programmer Manual
Vedere la pagina 17
1 2 ... 13 14 15 16 17 18 19 20 21 22 23 ... 584 585

Commenti su questo manuale

Nessun commento