Agilent Technologies 42D Guide de l'utilisateur Page 18

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 110
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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.
Vue de la page 17
1 2 ... 13 14 15 16 17 18 19 20 21 22 23 ... 109 110

Commentaires sur ces manuels

Pas de commentaire