Trigger.model.load() - Logictrigger - Keithley DMM7510 Reference Manual

7 1/2 digit graphical sampling multimeter
Hide thumbs Also See for DMM7510:
Table of Contents

Advertisement

Section 8: TSP command reference
trigger.model.load() — LogicTrigger
This function loads a predefined trigger model configuration that sets up a logic trigger through the digital or
external I/O.
Type
TSP-Link accessible
Function
Yes
Usage
trigger.model.load("LogicTrigger", digInLine, digOutLine, count, clear)
trigger.model.load("LogicTrigger", digInLine, digOutLine, count, clear, delay)
trigger.model.load("LogicTrigger", digInLine, digOutLine, count, clear, delay,
bufferName)
trigger.model.load("LogicTrigger", digInLine, digOutLine, count, clear, delay,
bufferName, readingBlock)
digInLine
digOutLine
count
clear
delay
bufferName
readingBlock
Details
This trigger model waits for a digital input or external trigger input event to occur, makes a
measurement, and issues a notify event. If a digital output line is selected, a notify event asserts a
digital output line. A notify event asserts the external output line regardless of the line settings. You
can set the line to 7 to assert only the external output line, or to another setting to assert both a digital
output line and the external output line.
After selecting a trigger model template, you can view the trigger model blocks in a graphical format
by pressing the front-panel MENU key and under Trigger, selecting Configure. You can also add or
delete blocks and change trigger model settings from this screen. You can use the
trigger.model.getblocklist() command to view the trigger model blocks in a list format.
This command replaces the trigger.model.load() — ExtDigTrigger command, which is
deprecated.
The following usage has been deprecated; replace it with the usage above that includes the clear
parameter.
8-294
Model DMM7510 7½ Digit Graphical Sampling Multimeter Reference Manual
Affected by
Where saved
The digital input line (1 to 6) or external input line (7); also the event that the trigger
model will wait on in block 1
The digital output line (1 to 6) or external input line (7)
The number of measurements the instrument will make
To clear previously detected trigger events when entering the wait block:
trigger.CLEAR_ENTER
To immediately act on any previously detected triggers and not clear them (default):
trigger.CLEAR_NEVER
The delay time before each measurement (167 ns to 10 ks); default is 0 for no delay
The name of the reading buffer, which may be a default buffer (defbuffer1 or
defbuffer2) or a user-defined buffer; defaults to defbuffer1
Define a measure or digitize block for the trigger model; options are:
trigger.READING_ACTIVE: Add a measure or digitize block to the trigger
model based on the active function; if no option defined,
trigger.READING_ACTIVE is used
trigger.READING_MEASURE: Adds a measure block to the trigger model
trigger.READING_DIGITIZE: Adds a digitize block to the trigger model
Default value
DMM7510-901-01 Rev. B / May 2015

Advertisement

Table of Contents
loading

Table of Contents