Télécharger Imprimer la page

Keysight Technologies 3458A Guide D'utilisation page 75

Multimètre

Publicité

General Configuration
This section discusses the multimeter's self-test, calibration requirements, and
general configuration topics that apply to many or all measurement functions.
Self-test
Prior to configuring for measurements, you should run the self-test to ensure the
multimeter is operational. The self-test takes approximately 50 seconds to
complete. To run self-test, send:
OUTPUT 722;"TEST"
If self-test passes, you have a high confidence level that the multimeter is
operational and, assuming proper calibration, that measurements will be
accurate. If one or more tests fail, the multimeter sets bit(s) in the auxiliary error
register, which also sets bit 0 in the error register, and the display's ERR
annunciator illuminates.
Reading the error registers
When a hardware error is detected, the multimeter sets a bit in the auxiliary, error
register and also sets bit 0 in the error register.When a programming error is
detected, the multimeter sets a bit in the error register only.
The ERRSTR? command reads each error (one error at a time) and then clears the
corresponding bit. If one or more bits are set in the auxiliary error register, the
ERRSTR? command reads that register first before proceeding to the error
register. The ERRSTR? command returns two responses. The first response is the
decimal: value of the least significant (lowest numbered) set bit. The second
response is a message (string) explaining the error (the maximum string length
returned is 200 characters). After reading a bit, the ERRSTR? command clears
that bit.
The following program uses the ERRSTR? command to read all errors, one error at
a time. After all set bits have been read and cleared, or if there were no set bits in
either register, the ERRSTR? command returns 0, "NO ERROR".
10 OPTION BASE 1
!COMPUTER ARRAY NUMBERING STARTS WITH 1
20 DIM A$[200]
Keysight 3458A User's Guide
Configuring for Measurements
3
75

Publicité

loading