Limits And Digital Outputs Programming Example - Keithley SourceMeter 2790 Reference Manual

Hide thumbs Also See for SourceMeter 2790:
Table of Contents

Advertisement

Model 2790 SourceMeter Switch System Reference Manual
b.
c.

Limits and digital outputs programming example

The following command sequence configures the Model 2790 to perform Limit 1 test on a
DCV reading. If the 100mV limit is reached, digital output # 2 will be pulled low. If the
-100mV limit is reached, digital output #1 will be pulled low.
*RST
CALC3:LIM1:UPP 0.1
CALC3:LIM1:LOW -0.1
CALC3:LIM1:STAT ON
CALC3:OUTP:LSEN ALOW
CALC3:OUTP ON
READ?
CALC3:LIM1:FAIL?
CALCulate3:LIMit1:FAIL?
CALCulate3:LIMit2:FAIL?
These commands are used to query the results of Limit 1 and Limit 2:
0 = Passing (reading within the high and low limits)
1 = Failing (reading has reached or exceeded the high or low limit)
The "1" response message does not tell you which limit (high or low) has been
reached. To determine which limit has failed, you will have to read the measure-
ment event register
(Section
CALCulate3:LIMit1:CLEar
CALCulate3:LIMit1:CLEar:AUTO <b>
CALCulate3:LIMit2:CLEar
CALCulate3:LIMit2:CLEar:AUTO <b>
These commands are used to clear the fail ("1") indications for Limit 1 and Limit 2.
If auto clear is enabled for a limit, the fail indication clears when instrument opera-
tion enters the idle state. With auto clear disabled, the fail indication will remain until
it is cleared by the :CLEar command.
11).
' One-shot measurement mode (DCV).
' Set HI1 limit to 100mV.
' Set LO1 limit to -100mV.
' Enable Limit 1.
' Set logic sense to active low.
' Enable digital outputs.
' Trigger and request reading.
' Request result of limit 1 test.
9-15

Advertisement

Table of Contents
loading

Table of Contents