Section 8: TSP command reference Model 2461 Interactive SourceMeter® Instrument Reference Manual8-266 2461-901-01 A/November 2015trigger.model.load() — LogicTriggerThis function loads a predefined trigger model configuration that sets up a logic trigger through the digital I/O.Type TSP-Link accessible Affected by Where saved Default valueFunction YesUsagetrigger.model.load("LogicTrigger", digInLine, digOutLine, count, clear)trigger.model.load("LogicTrigger", digInLine, digOutLine, count, clear, sDelay)trigger.model.load("LogicTrigger", digInLine, digOutLine, count, clear, sDelay,bufferName)trigger.model.load("LogicTrigger", digInLine, digOutLine, count, clear, sDelay,bufferName, readingBlock)digInLine The digital input line (1 to 6); also the event that the trigger model will waiton in block 1digOutLine The digital output line (1 to 6)count The number of measurements the instrument will makeclear To clear previously detected trigger events when entering the wait block:trigger.CLEAR_ENTERTo immediately act on any previously detected triggers and not clear them(default): trigger.CLEAR_NEVERsDelay The delay time before each measurement (167 ns to 10 ks); default is 0 forno delaybufferName The name of the reading buffer, which may be a default buffer(defbuffer1 or defbuffer2) or a user-defined buffer; defaults todefbuffer1readingBlock Define a measure or digitize block for the trigger model; options are:• trigger.READING_ACTIVE: Add a measure or digitize block to thetrigger model based on the active function; if no option defined,trigger.READING_ACTIVE is used• trigger.READING_MEASURE: Adds a measure block to the triggermodel• trigger.READING_DIGITIZE: Adds a digitize block to the triggermodelDetailsThis trigger model waits for a digital input event to occur, makes a measurement, and issues a notifyevent. The notify event asserts a digital output line.After selecting a trigger model template, you can view the trigger model blocks in a graphical formatby pressing the front-panel MENU key and under Trigger, selecting Configure. You can also add ordelete blocks and change trigger model settings from this screen. You can use thetrigger.model.getblocklist() command to view the trigger model blocks in a list format.