Using Match Counts To Generate An Event - Keithley 3700 Series User Manual

Hide thumbs Also See for 3700 Series:
Table of Contents

Advertisement

Section 6: Model 3750 Additional Information
Once the match count is met in the totalizer, the channel.IND_MATCH bit is set
and can be read using
match_value = channel.getstate('1006')
Because the default setting for the state is for it to latch, the value remains even
after the count moves beyond the match value. To clear it, use:
channel.resetstatelatch('1006', channel.IND_MATCH)

Using match counts to generate an event

A match can cause an event in the system that can then be used to initiate a
scan. For example:
-- Define a scan
scan.create("6001:6030")
channel.trigger[1].set('1006', channel.IND_MATCH)
scan.trigger.arm.stimulus = channel.trigger[1].EVENT_ID
-- Start the scan so that it is waiting for the event
scan.background()
Once the count matches, the event triggers and satisfies arm.stimulus, which
allows the scan to proceed.
6-22
Series 3700 System Switch/Multimeter User's Manual
3700S-900-01 Rev. C / July 2008

Advertisement

Table of Contents
loading

Table of Contents