Model 2750 Multimeter/Switch System User’s Manual
Limits and Digital I/O
9-15
b.
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 (
c.
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
operation enters the idle state. With auto clear disabled, the fail indication will
remain until it is cleared by the :CLEar command.
Limits and digital outputs programming example
The following command sequence configures the Model 2750 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
' One-shot measurement mode (DCV).
CALC3:LIM1:UPP 0.1
' Set HI1 limit to 100mV.
CALC3:LIM1:LOW -0.1
' Set LO1 limit to -100mV.
CALC3:LIM1:STAT ON
' Enable Limit 1.
CALC3:OUTP:LSEN ALOW
' Set logic sense to active low.
CALC3:OUTP ON
' Enable digital outputs.
READ?
' Trigger and request reading.
CALC3:LIM1:FAIL?
' Request result of limit 1 test.
2750-900-01.book Page 15 Wednesday, August 3, 2011 7:56 AM
Summary of Contents for 2750
Page 3: ...2750 900 01 book Page 2 Wednesday August 3 2011 7 56 AM...
Page 7: ...2750 900 01 book Page 4 Wednesday August 3 2011 7 56 AM...
Page 17: ...2750 900 01 book Page 10 Wednesday August 3 2011 7 56 AM...
Page 324: ...12 CommonCommands 2750 900 01 book Page 1 Wednesday August 3 2011 7 56 AM...
Page 348: ...15 SCPIReferenceTables 2750 900 01 book Page 1 Wednesday August 3 2011 7 56 AM...
Page 374: ...B Model7700ConnectionGuide 2750 900 01 book Page 1 Wednesday August 3 2011 7 56 AM...
Page 386: ...C StatusandErrorMessages 2750 900 01 book Page 1 Wednesday August 3 2011 7 56 AM...
Page 394: ...D SignalProcessing SequenceandDataFlow 2750 900 01 book Page 1 Wednesday August 3 2011 7 56 AM...
Page 408: ...E MeasurementConsiderations 2750 900 01 book Page 1 Wednesday August 3 2011 7 56 AM...
Page 428: ...G IEEE 488BusOverview 2750 900 01 book Page 1 Wednesday August 3 2011 7 56 AM...