Agilent E1412A Multimeter Application Information
63
LIMITTST
Source Code File
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
Reset the multimeter.
*CLS
Clear the multimeter's status registers.
CONF:VOLT 10
Configure for dc volts, 10V range.
CALC:STAT ON
Enable the math function.
CALC:LIM:LOW 2
Set lower limit to 2.
CALC:LIM:UPP 8
Set upper limit to 8.
CALC:FUNC LIM
Select a math function; set to LIMit.
STAT:QUES:ENAB 6144
Unmask the limit error bits.
Loop
READ?
Trigger measurement and place response into the
output buffer.
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).
W
ait 1 second.
End Loop
Check the multimeter for system errors.
SYST:ERR?
Retrieve the system error response from the
multimeter.
Summary of Contents for Agilent E1412A
Page 2: ......
Page 10: ...8 Contents Notes...
Page 14: ...12 Notes...
Page 15: ...13 Notes...
Page 16: ...14 Notes...
Page 26: ...24 Agilent E1412A Multimeter Module Setup Chapter 1 Notes...
Page 194: ...192 Agilent E1412A Multimeter Error Messages Appendix B Notes...
Page 201: ...Index 199 Index Agilent E1412A User s Manual and SCPI Programming Guide...