Agilent Technologies 42D Uživatelská příručka Strana 18

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 110
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 17
1-12
Introduction to Programming
Program Data Syntax Rules
All numbers must be strings of ASCII characters. Thus, when sending the
number 9, you would send a byte representing the ASCII code for the character
9 (which is 57). A three-digit number like 102 would take up three bytes (ASCII
codes 49, 48, and 50). This is handled automatically when you include the entire
instruction in a string.
Embedded Strings
Embedded strings contain groups of alphanumeric characters, which are
treated as a unit of data by the oscilloscope. For example, the line of text written
to the advisory line of the instrument with the :SYSTEM:DSP command:
:SYSTEM:DSP "This is a message."
Embedded strings may be delimited with either single (’) or double () quotes.
These strings are case-sensitive, and spaces act as legal characters just like any
other character.
Zobrazit stránku 17
1 2 ... 13 14 15 16 17 18 19 20 21 22 23 ... 109 110

Komentáře k této Příručce

Žádné komentáře