Télécharger Imprimer la page

Keysight Technologies 3458A Guide D'utilisation page 229

Multimètre

Publicité

Command Reference
6
seconds, volts, ohms, etc, instead of parameter choices. For example, the APER
command specifies integration time in seconds. The range of values for this
command is 500 ns to 1 s. When you send the APER? query command, the
multimeter responds with the actual value of integration time presently specified.
The QFORMAT (query format) command can be used to specify whether query
responses will be numeric (as shown above), alpha, or alphanumeric. For example,
the following program changes the query format to ALPHA. This causes the
multimeter to return an alpha command header and an alpha response (whenever
possible) as shown in the following program.
10 OUTPUT 722;"QFORMAT ALPHA"
20 OUTPUT 722;"AZERO?"
30 ENTER 722;A$
40 PRINT A$
50 END
Typical response: AZERO ON
In the ALPHA query format, commands that use actual values return an alpha
command header and a numeric response. For example, a typical response to the
APER? query command is:
APER 166.667E-03
Many query commands can return both alpha and numeric responses. For
example, the NRDGS? query command returns two responses. The first response
is numeric and indicates the number of readings per trigger event. The second
response is alpha (assuming QFORMAT = ALPHA) and indicates the specified
sample event. The following program executes the NRDGS? query command and
prints the responses.
10 OUTPUT 722;"NRDGS?"
20 ENTER 722;A$,B$
30 PRINT A$,B$
40 END
Responses to query commands are always output over the GPIB in the ASCII
output format regardless of the specified output format. Following the query
response, the output format returns to that previously specified (SINT, DINT,
SREAL, DREAL, or ASCII).
Keysight 3458A User's Guide
229

Publicité

loading