Quantum-composers 9250 Series Manuel d'utilisateur Page 33

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 51
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 32
9250 Manual Version 1.2 | Quantum Composers
33
Line Termination
The pulse generator uses text-style line terminations. When a command is sent to the unit,
the firmware is programmed to read characters from a communication port until it reads the
line termination sequence.
The command string is parsed and executed after reading these characters. These
characters are the carriage return and linefeed. They are ASCII chara cter set values 13
and 10 respectively (hex 0x0D and 0x0A). All command strings need to have these
characters appended.
When the pulse generator responds to a command, whether it is a query or a parameter
change, it also appends its return strings with these characters. Coded applications could
use this behavior to know when to stop reading from the unit. However, if the echo
parameter is enabled, there will be two sets of line terminators, one following the echoed
command string, and one following the pulse generator’s response.
The pulse generator responds to every communication string. If the communication string is a
query, the unit responds with the queried response (or error code) followed by the line
terminators. If the communication string is a parameter change, the response is ok (or error
code) followed by the line terminators. For this reason, it is not recommended that multiple
commands be stacked together into single strings as is common with some other types of
instruments. It is recommended that the coded application send a single command in a string
and follow immediately by reading the response from the unit. Repeat this sequence for
multiple commands.
IEEE 488.2 Common Command Format
The IEEE 488.2 Common Commands control and manage generic system functions such as
reset, configuration storage and identification. Common commands always begin with the
asterisk (*) character and may include parameters. The parameters are separated from the
command pneumonic by a space character. For Example:
*RST <cr><lf>
*RCL 1 <cr><lf>
*IDN? <cr><lf>
SCPI Command Keywords
The commands are shown as a mixture of upper and lower case letters. The upper case letters
indicate the abbreviated spelling for the command. You may send either the abbreviated
version or the entire keyword. Upper and/or lower case characters are acceptable.
For example, if the command keyword is given as POLarity, then POL and POLARITY
are both acceptable forms; truncated forms such as POLAR will generate an error;
polarity, pol, and PolAriTy are all acceptable as the pulse generator is not case
sensitive.
*Note: The unit by default is not case sensitive.
Vue de la page 32
1 2 ... 28 29 30 31 32 33 34 35 36 37 38 ... 50 51

Commentaires sur ces manuels

Pas de commentaire