Measurement-computing DAC488 v.1 Manuel d'utilisateur Page 94

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 114
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 93
88 DAC488 Commands DAC488 User’s Manual
? - Query
TYPE
System Command (Command Support)
SYNTAX
?
Returns present configuration or mode of the command preceding the
?
.
DESCRIPTION
All DAC488 commands offer a Query (?) option which may be used to determine the present configuration or mode of
a command previously executed. To use this option, the first letter of the command is used, followed by a question
mark (?). Any number of these Query commands may be combined into one string to allow the user to construct a
specialized status command requesting the DAC488 to return only that information which is of interest for a given
application. The Execute (X) command is not needed when using the Query option of a command.
EXAMPLE 1: SRQ Status.
PRINT#1,"CLEAR09"
Line 1: Reset the DAC488.
PRINT#1,"OUTPUT09;M32 X"
Line 2: Select SRQ on error.
PRINT#1,"OUTPUT09;M?"
Line 3: Determine last Mmask command executed.
PRINT#1,"ENTER09"
Line 4: Read data from the DAC488.
INPUT#2,A$
PRINT A$
Line 6: Display shows: M032.
EXAMPLE 2: Port 1 Status Using Status Command (U).
PRINT#1,"OUTPUT09;A0 C0 P1 R3
V8.12345 X"
Line 1: Autoranging off, Direct Control mode, Select port 1, ±10 volt
range, output 8.12345 volts.
PRINT#1,"OUTPUT09;U8 X"
Line 2: Request actual output voltage and range of port 1.
PRINT#1,"ENTER09"
Line 3: Read data from the DAC488.
INPUT#2,A$
PRINT A$
Line 5: Display shows the status message: A0C0P1R3V+08.12250
Note: The programmed voltage was rounded to the nearest value.
EXAMPLE 3: Port 1 Status Using Query Command (?).
PRINT#1,"OUTPUT09;A0 C0 P1 R3
V8.12345 X"
Line 1: Autoranging off, Direct Control mode, Select port 1, ±10 volt
range, output 8.12345 volts.
PRINT#1,"OUTPUT09;A?C?P?R?V?"
Line 2: Request the status of port 1.
PRINT#1,"ENTER09"
Line 3: Read data from the DAC488.
INPUT#2,A$
PRINT A$
Line 5: Display shows the same status message:
A0C0P1R3V+08.12250
Vue de la page 93
1 2 ... 89 90 91 92 93 94 95 96 97 98 99 ... 113 114

Commentaires sur ces manuels

Pas de commentaire