Tektronix KEITHLEY SourceMeter 2606B Reference Manual page 200

Table of Contents

Advertisement

Model 2606B System SourceMeter® Instrument Reference Manual
Using the set function to bypass SMU event detectors
The set functions are useful whenever you want the source-measure unit (SMU) to continue operation
without waiting for a programmed trigger event.
There is a set function for each SMU event detector. When called, the function immediately satisfies
the event detector, allowing the SMU to continue through the trigger model.
For example, you can use a set function when you want the SMU to immediately perform an action
the first time through the trigger model, even if a programmed trigger event does not occur. You can
use a set function to start actions on the SMU if there is a missed trigger event.
The programming example below illustrates how to have the SMU immediately perform an action the
first time through the trigger model, even if a programmed trigger event does not occur.
-- Immediately sets the arm event detector of SMU A
-- to the detected state.
smua.trigger.arm.set()
-- Sets the measure event detector of SMU A.
smua.trigger.measure.set()
Event detector overruns
If a second trigger event is generated before an event detector clears, the trigger object generates a
detector overrun. You can check for detector overruns by reading the overrun attribute of the trigger
object. The attribute is set to true when an overrun occurs. You can use the clear() function to
immediately clear the event detector, discarding any history of previous trigger events. The clear()
function also clears any detector overruns.
Detector overruns are not the same as the action overruns that are reported in the status model.
The programming example below illustrates how to check for and respond to detector overruns.
testOver = digio.trigger[4].overrun
if testOver == true then
print("Digital I/O overrun occurred.")
end
2606B-901-01 Rev. C November 2021
Section 7: Triggering
7-27

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the KEITHLEY SourceMeter 2606B and is the answer not in the manual?

Table of Contents