Agilent Technologies Agilent E1412A User Manual page 65

6 1/2 digit multimeter
Table of Contents

Advertisement

LIMITTST
Source Code File
Chapter 2
This program has the multimeter making measurements continuously until
an upper or lower limit is exceeded. The lower test limit is set to 2V; the
upper test limit is set to 8V. Questionable Data Register bits 11 and 12 are
unmasked to allow the LO and HI Limit Test Failures to set the QUE bit in
the status byte. An input less the 2V or greater than 8V will report a test
failure and halt the program.
**** Set up the Multimeter ****
*RST
*CLS
CONF:VOLT 10
CALC:STAT ON
CALC:LIM:LOW 2
CALC:LIM:UPP 8
CALC:FUNC LIM
STAT:QUES:ENAB 6144 Unmask the limit error bits.
Loop
READ?
Enter response into the computer.
SPOLL - read the multimeter's status byte until bit 3 (QUE) goes
high to indicate there is a Limit Test Failure (HI or LO).
Wait 1 second.
End Loop
Check the multimeter for system errors.
SYST:ERR?
Agilent E1412A Multimeter Application Information
Reset the multimeter.
Clear the multimeter's status registers.
Configure for dc volts, 10V range.
Enable the math function.
Set lower limit to 2.
Set upper limit to 8.
Select a math function; set to LIMit.
Trigger measurement and place response into the
output buffer.
Retrieve the system error response from the
multimeter.
63

Advertisement

Table of Contents
loading

Table of Contents