Clears the blender event detector and resets the overrun indicator of blender <n>. The detector is set to the undetected state.
| Name | Type | Values | Description |
|---|
| n | integer | 1 - 2 | The blender number. |
:TRIG:BLEN2:CLE Clears the event detector for blender 2.
Selects whether the blender performs OR operations or AND operations. The setting is saved with settings recall and is affected by instrument reset, power cycle, and trigger blender clear.
| Name | Type | Values | Description |
|---|
| n | integer | 1 - 2 | The blender number: up to two. |
| operation | enum | OR | AND | The type of operation. |
enum - Returns the current blender operation setting.
:TRIG:BLEN2:CLE
Indicates whether an event was ignored because the event detector was already in the detected state when the event occurred. It reports only the state of the event detector built into the event blender, not overruns elsewhere in the trigger model.
integer - If an event was ignored, the output is 1. If an event was not ignored, the output is 0.
:TRIG:BLEN1:OVER? If an event was ignored, the output is 1.
Specifies the event used to trigger blender input <m> of blender <n>. The event can be set to none to disable the blender input.
| Name | Type | Values | Description |
|---|
| event | enum | BLENder<n> | COMMand | DIGio<n> | DISPlay | LAN<n> | NONE | NOTify<n> | SLIMit | TIMer<n> | TSPLink<n> | Trigger event constant to assign to the blender stimulus input. |
Defines a trigger model block that always branches to a specific block. When the trigger model reaches this block, it goes to the block specified by the branch target.
| Name | Type | Values | Description |
|---|
| blockNumber | integer | - | The sequence number of the block in the trigger model. |
| branchToBlock | integer | - | The trigger-model block number to execute when the trigger model reaches this block. |
TRIG:BLOC:BRAN:ALW 9, 20
Defines a trigger model block that branches to a specified block a specified number of times.
| Name | Type | Values | Description |
|---|
| blockNumber | integer | - | The sequence of the block in the trigger model. |
| targetCount | integer | - | The number of times to repeat. |
| branchToBlock | integer | - | The block number of the trigger model block to execute when the counter is less than or equal to the target count value. |
:TRIGger:BLOCk:BRANch:COUNter <blockNumber>, <targetCount>, <branchToBlock>
TRIG:BLOC:BRAN:COUN 3, 5, 2
TRIG:BLOC:BRAN:COUN 5, 3, 2
Returns the count value of the trigger model counter block. If the counter is active, it returns the present count; if the trigger model has started or is running but has not yet reached the counter block, the value is 0.
| Name | Type | Values | Description |
|---|
| blockNumber | integer | - | The sequence of the block in the trigger model. |
integer - The counter value.
TRIG:BLOCK:BRAN:COUN:COUN? 4
Creates a block in the trigger model that resets a branch counter to 0. When the trigger model reaches this block, it resets the count of the specified Branch on Counter block to zero.
| Name | Type | Values | Description |
|---|
| blockNumber | integer | - | The sequence of the block in the trigger model. |
| counter | integer | - | The block number of the counter that is to be reset. |
:TRIG:BLOC:BRAN:COUN:RES 6, 3
Defines a trigger model block that branches to a specified block when the difference between two measurements meets the preset criteria. The block subtracts the most recent measurement from the previous measurement and compares the result to the target difference.
| Name | Type | Values | Description |
|---|
| blockNumber | integer | - | The sequence number of the block in the trigger model. |
| targetDifference | real | - | The value against which the block compares the difference between the measurements. |
| branchToBlock | integer | - | The block number to execute when the difference between the measurements is less than or equal to the target difference. |
| measureDigitizeBlockopt | integer | - | The measure/digitize block whose measurements are compared; if 0 or undefined, the trigger model uses the previous measure/digitize block. |
TRIG:BLOC:BRAN:DELT 5, 0.5, 7, 4
Branches to a specified block when a specified trigger event occurs. If the event has not yet occurred when the trigger model reaches the branch-on-event block, execution continues in normal sequence until the next time the block is reached after the event occurs.
| Name | Type | Values | Description |
|---|
| blockNumber | integer | - | The sequence number of the block in the trigger model. |
| event | enum | BLENder<n> | COMMand | DIGio<n> | DISPlay | LAN<n> | NONE | NOTify<n> | SLIMit | The trigger event that must occur before the trigger model branches the specified block. |
| branchToBlock | integer | - | The block number of the trigger model block to execute when the specified event occurs. |
Defines a trigger model block that branches to a specified block if a measurement meets preset constant-limit criteria.
| Name | Type | Values | Description |
|---|
| blockNumber | integer | - | The sequence number of the block in the trigger model. |
| limitType | enum | ABOVe | BELow | INside | OUTside | The type of limit comparison to use. |
| limitA | real | - | The lower or only limit used in the comparison, depending on limitType. |
| limitB | real | - | The upper limit used in the comparison, depending on limitType. |
| branchToBlock | integer | - | The trigger model block number to execute when the criteria are met. |
| measureDigitizeBlockopt | integer | - | The measure/digitize block whose last measurement is compared; if 0 or undefined, the previous measure/digitize block is used. |
:TRIGger:BLOCk:BRANch:LIMit:CONStant 5, OUTside, 0.15, 0.65, 8
Defines a trigger model block that branches to a specified block if a measurement meets user-defined dynamic limit criteria.
| Name | Type | Values | Description |
|---|
| blockNumber | integer | - | The sequence number of the block in the trigger model. |
| limitType | enum | ABOVe | BELow | INside | OUTside | The type of limit to test against the measurement. |
| limitNumber | integer | 1 - 2 | The limit number to use. |
| branchToBlock | integer | - | The block number to execute when the limits are met. |
| measureDigitizeBlockopt | integer | - | The measure/digitize block whose last measurement is compared to the limits; if 0 or undefined, the previous measure/digitize block is used. |
Causes the trigger model to branch to a specified building block the first time it encounters this block. If the block is encountered again, the trigger model ignores it and continues in the normal sequence until the trigger model returns to idle.
| Name | Type | Values | Description |
|---|
| blockNumber | integer | - | The sequence number of the block in the trigger model. |
| branchToBlock | integer | - | The block number of the trigger model block to execute when the trigger model first encounters this block. |
:TRIG:BLOC:BRAN:ONCE 2, 4
Causes the trigger model to go to a specified building block every time it encounters that block, except for the first time. The branch-once-excluded block is ignored on first encounter and reset when the trigger model starts or is placed in idle.
| Name | Type | Values | Description |
|---|
| blockNumber | integer | - | The sequence number of the block in the trigger model. |
| branchToBlock | integer | - | The block number to execute when the trigger model encounters this block after the first encounter. |
:TRIG:BLOC:BRAN:ONCE:EXCL 2, 4
Defines a trigger model block that clears the reading buffer.
| Name | Type | Values | Description |
|---|
| blockNumber | integer | - | The sequence number of the block in the trigger model. |
| bufferNameopt | string | - | The name of an existing buffer to clear; if omitted, defbuffer1 is used. |
:TRIGger:BLOCk:BUFFer:CLEar <blockNumber>
:TRIGger:BLOCk:BUFFer:CLEar <blockNumber>, "<bufferName>"
Recalls the settings at the next index of a source or measure configuration list when the trigger model reaches this block. If two configuration lists are supplied, both are recalled from their next index and the second list must be the opposite type of the first.
| Name | Type | Values | Description |
|---|
| blockNumber | integer | - | The sequence number of the block in the trigger model. |
| configurationList | string | - | A string that defines the source or measure configuration list to recall. |
| configurationList2opt | string | - | The second source or measure configuration list from which to recall settings; it must be the opposite type of the first list. |
TRIG:BLOC:CONF:NEXT 12, "SETTINGS_LIST"
:TRIG:BLOC:CONF:NEXT 7, "measTrigList", "sourTrigList"
Defines a trigger model block that recalls the settings stored at the previous index in a source or measure configuration list. If both source and measure configuration lists are specified, each is recalled from its previous index when the block is reached.
| Name | Type | Values | Description |
|---|
| blockNumber | integer | - | The sequence number of the block in the trigger model. |
| configurationList | string | - | A string that defines the source or measure configuration list to recall. |
| configurationList2 | string | - | The second source or measure configuration list from which to recall settings; the type must be opposite of configurationList. |
Recalls system settings stored in a source or measure configuration list when the trigger model reaches the block. You can optionally specify an index to recall a specific set of configuration settings.
| Name | Type | Values | Description |
|---|
| blockNumber | integer | - | The sequence of the block in the trigger model. |
| configurationList | string | - | A string that defines the source or measure configuration list to recall. |
| indexopt | integer | - | The index in the configuration list to recall; default is 1. |
Adds a constant delay to the execution of a trigger model. When execution reaches a delay block, it waits for the specified time before proceeding to the next block.
| Name | Type | Values | Description |
|---|
| blockNumber | integer | - | The sequence of the block in the trigger model. |
| time | real | 167 ns - 10 ks | The amount of time to delay; 0 specifies no delay. |
Adds a user delay to the execution of the trigger model. When execution reaches a dynamic delay block, it pauses normal measurement and trigger model operation for the time set by the delay while background measurements continue.
| Name | Type | Values | Description |
|---|
| blockNumber | integer | - | The sequence number of the block in the trigger model. |
| userDelay | enum | SOURce<n> | MEASure<n> | Selects which user delay to use, either a source delay or a measure delay. |
Defines a trigger model block that sets the digital I/O port lines high or low. The block is specified by a sequence number plus a bit pattern, with an optional bit mask to select which lines are driven.
| Name | Type | Values | Description |
|---|
| blockNumber | integer | 0 - 63 | The sequence number of the block in the trigger model. |
| bitPattern | integer | 0 - 63 | Specifies the output line bit pattern. |
| bitMaskopt | integer | 0 - 63 | Specifies the bit mask; if omitted, all lines are driven. |
:TRIGger:BLOCk:DIGital:IO <blockNumber>, <bitPattern>
:TRIGger:BLOCk:DIGital:IO <blockNumber>, <bitPattern>, <bitMask>
Returns the settings for all trigger model blocks.
string - Returns the settings for the trigger model.
:TRIG:BLOC:LIST?
Logs an event in the event log when trigger model execution reaches the specified block. The command can log information, warning, error, or abort events, and the abort option immediately aborts the trigger model.
| Name | Type | Values | Description |
|---|
| blockNumber | integer | - | The sequence number of the block in the trigger model. |
| eventNumber | enum | INFO<n> | WARNing<n> | ERRor<n> | ABORt | The event to log: information, warning, error, or abort. |
| message | string | - | A string message up to 31 characters. |
TRIGger:BLOCk:LOG:EVENt 9, INFO2, "Trigger model complete"
Defines a trigger block that makes or digitizes a measurement. The block stores readings in a specified buffer and can use a specified count, including INF, 0, or AUTO.
| Name | Type | Values | Description |
|---|
| blockNumber | integer | - | The sequence of the block in the trigger model. |
| bufferNameopt | string | - | Name of the reading buffer; if omitted, defbuffer1 is used. |
| countopt | integer | - | Number of readings to make before moving to the next block. |
TRIG:LOAD "EMPTY" Reset trigger model settings.
TRIG:BLOC:BUFF:CLE 1, "defbuffer2" Clear defbuffer2 at the beginning of the trigger model.
TRIG:BLOC:MDIG 2, "defbuffer2" Set the measurements to be stored in defbuffer2.
TRIG:BLOC:BRAN:COUN 3, 5, 2 Loop and make five readings.
TRIG:BLOC:DEL:CONS 4, 1 Delay 1 s.
TRIG:BLOC:BRAN:COUN 5, 3, 2 Loop three more times back to block 2.
TRIG:BLOC:CONF:NEXT 1, "countactive"
TRIG:BLOC:MDIG 2, "defbuffer1", AUTO
TRIG:BLOC:DEL:CONS 3, 1
TRIG:BLOC:BRAN:COUN 4, 3, 1
Creates a placeholder block that performs no action in the trigger model. It is available only using remote commands.
| Name | Type | Values | Description |
|---|
| blockNumber | integer | - | The sequence number of the block in the trigger model. |
TRIG:BLOC:NOP 5 Set block number 5 to be a no operation block.
Defines a trigger model block that generates a trigger event and immediately continues to the next block.
| Name | Type | Values | Description |
|---|
| blockNumber | integer | 1 | The sequence number of the block in the trigger model. |
| notifyID | integer | 1 - 8 | The identification number of the notification. |
TRIG:BLOC:NOTify 5, 2
Defines a trigger block that turns the output source on or off. The block determines whether the source output is enabled when the trigger model reaches it.
| Name | Type | Values | Description |
|---|
| blockNumber | integer | - | The sequence number of the block in the trigger model. |
| state | enum | OFF | ON | Disable or enable the source output. |
:TRIGger:BLOCk:SOURce:STATe <blockNumber>, <state>
TRIG:BLOC:SOUR:STAT 1, 1
TRIG:BLOC:SOUR:STAT 5, 0
Defines a trigger model block that waits for an event before allowing the trigger model to continue.
| Name | Type | Values | Description |
|---|
| blockNumber | integer | - | The sequence of the block in the trigger model. |
| event | enum | BLENder<n> | COMMand | DIGio<n> | DISPlay | LAN<n> | NONE | NOTify<n> | SLIMit | TIMer<n> | TSPLink<n> | The event that must occur before the trigger block allows trigger execution to continue. |
| clearopt | enum | ENTer | NEVer | Controls whether previously detected trigger events are cleared when entering the wait block. |
| logicopt | enum | AND | OR | Determines whether all events or at least one event must occur before the trigger model continues. |
| eventopt | enum | BLENder<n> | COMMand | DIGio<n> | DISPlay | LAN<n> | NONE | NOTify<n> | SLIMit | TIMer<n> | TSPLink<n> | Additional event used in the deprecated multi-event forms. |
| eventopt | enum | BLENder<n> | COMMand | DIGio<n> | DISPlay | LAN<n> | NONE | NOTify<n> | SLIMit | TIMer<n> | TSPLink<n> | Additional event used in the deprecated multi-event forms. |
:TRIGger:BLOCk:WAIT 9, DISP
Determines the trigger mode setting after bootup. The setting can be OFF, AUTO, or RESTart; RESTart places the instrument into local control and starts continuous measurements after bootup.
| Name | Type | Values | Description |
|---|
| setting | enum | OFF | AUTO | RESTart | Bootup trigger mode setting. |
enum - Returns the current trigger mode setting after bootup.
TRIG:CONT OFF
Clears the trigger event on a digital input line. It clears the event detector, discards the history, and clears the overrun status for the specified trigger line.
| Name | Type | Values | Description |
|---|
| n | integer | 1 - 6 | Digital I/O trigger line. |
:TRIG:DIG2:IN:CLE
Sets the edge used by the trigger event detector on the specified digital trigger line. The query returns the currently selected edge.
| Name | Type | Values | Description |
|---|
| n | integer | 1 - 6 | Digital I/O trigger line. |
| detectedEdge | enum | FALLing | RISing | EITHer | Trigger edge to detect on the input line. |
enum - Returns the currently selected trigger edge.
:TRIG:DIG2:IN:EDGE FALL
:TRIG:DIG2:IN:EDGE?
Returns the event detector overrun status for the specified digital trigger line. The status is reported as 0 (false) or 1 (true).
| Name | Type | Values | Description |
|---|
| n | integer | 1 - 6 | Digital I/O trigger line number. |
integer - The event detector overrun status, where 0 means false and 1 means true.
Sets the output logic of the trigger event generator for the specified digital I/O trigger line to positive or negative. The query form returns the current output logic.
| Name | Type | Values | Description |
|---|
| n | integer | 1 - 6 | Digital I/O trigger line. |
| logicType | enum | POSitive | NEGative | Output logic of the trigger generator. |
enum - Returns the output logic of the trigger generator for the specified line.
:TRIG:DIG4:OUT:LOG NEG
Describes the length of time that the trigger line is asserted for output triggers. Setting the pulse width to zero asserts the trigger indefinitely.
| Name | Type | Values | Description |
|---|
| n | integer | 1 - 6 | Digital I/O trigger line number. |
| width | real | 0 - 100 ks | Pulse length. |
real (s) - Returns the pulse width.
TRIG:DIG1:OUT:PULS 2
Selects the event that causes a trigger to be asserted on the specified digital output line. This command can be set and queried.
| Name | Type | Values | Description |
|---|
| n | integer | 1 - 6 | Digital I/O trigger line. |
| event | enum | BLENder<n> | COMMand | DIGio<n> | DISPlay | LAN<n> | NONE | NOTify<n> | SLIMit | TIMer<n> | TSPLink<n> | Event to use as a stimulus. |
enum - Returns the stimulus event currently selected for the specified digital output line.
:TRIG:DIG2:OUT:STIMulus TIM3
Clears the event detector for a LAN trigger. It discards the trigger packet history and clears all overruns associated with the specified LAN trigger.
| Name | Type | Values | Description |
|---|
| n | integer | 1 - 8 | The LAN event number. |
:TRIG:LAN5:IN:CLE
Sets the trigger operation and detection mode of the specified LAN event. The command controls how the trigger event detector and output trigger generator operate on that trigger.
| Name | Type | Values | Description |
|---|
| n | integer | 1 - 8 | The LAN event number. |
| mode | - | - | The trigger mode. |
returns
Indicates whether the specified LAN event was ignored because the event detector was already in the detected state when the event occurred. The trigger overrun state for the LAN packet is returned as 1 (true) or 0 (false).
| Name | Type | Values | Description |
|---|
| n | integer | 1 - 8 | The LAN event number. |
integer - Returns the overrun status for the specified LAN packet as 1 (true) or 0 (false).
TRIG:LAN5:IN:OVER?
Prepares the event generator for outgoing trigger events. Setting it to ON prepares the generator to send event messages; for TCP connections it opens the TCP connection, and OFF closes it.
| Name | Type | Values | Description |
|---|
| n | integer | 1 - 8 | The LAN event number. |
| state | enum | OFF | 0 | ON | 1 | Controls whether event messages are sent. |
enum - Returns the current state of the trigger LAN output connect setting.
:TRIGger:LAN1:OUT:PROTocol MULT Set the protocol to multicast and prepare the event
:TRIGger:LAN1:OUT:CONNect:STATe ON generator to send event messages.
Specifies the address, in dotted-decimal format, of UDP or TCP listeners.
| Name | Type | Values | Description |
|---|
| address | string | - | A string that represents the LAN address in dotted decimal notation. |
string - Returns the configured LAN address in dotted decimal notation.
Sets the logic used by the trigger event detector and the output trigger generator on the specified LAN trigger line. The setting is saved in recall/save settings and survives instrument reset and power cycle.
| Name | Type | Values | Description |
|---|
| n | integer | 1 - 8 | The LAN event number. |
| logicType | enum | POSitive | NEGative | The type of logic. |
TRIG:LAN1:OUT:LOG POS Set the logic to positive.
Sets the LAN protocol used for sending outgoing trigger messages, and the setting is saved with recall/save settings. The LAN event number n is 1 to 8, and the protocol can be TCP, UDP, or MULTicast.
| Name | Type | Values | Description |
|---|
| n | integer | 1 - 8 | The LAN event number. |
| protocol | enum | TCP | UDP | MULTicast | The protocol to use for messages from the trigger. |
Specifies which LAN event causes trigger output stimulus to assert for trigger packet <n>. Setting the event to NONE disables automatic trigger generation.
| Name | Type | Values | Description |
|---|
| n | integer | 1 - 8 | Specifies the trigger packet over the LAN for which to set or query the trigger source. |
| LANevent | enum | BLENder<n> | COMMand | DIGio<n> | DISPlay | LAN<n> | NONE | NOTify<n> | SLIMit | TIMer<n> | TSPLink<n> | The LAN event that causes this trigger to assert. |
enum - Returns the LAN event that causes this trigger to assert.
TRIG:LAN1:OUT:STIM TIM1
Pauses a running trigger model. Send :TRIGger:RESume to continue the trigger model.
INIT
TRIG:PAUS
TRIG:RES
*WAI
Continues a paused trigger model. If the trigger model was paused, this command resumes running the trigger model operation.
TRIG:RES
Returns the present state of the trigger model. The instrument returns the trigger state and the block that the trigger model last executed.
enum - Returns the trigger state and the block that the trigger model last executed; example output is "IDLE;IDLE;9" when the trigger model is inactive and ended at block 9.
:TRIG:STAT? An example output if the trigger model is inactive and ended at
block 9 is:
IDLE;IDLE;9
Clears the timer event detector and overrun indicator for the specified trigger timer number.
| Name | Type | Values | Description |
|---|
| n | integer | 1 - 4 | Trigger timer number. |
:TRIG:TIM1:CLE Clears trigger timer 1.
Sets the number of events to generate each time the timer generates a trigger event or is enabled as a timer or alarm. The query returns the present count value.
| Name | Type | Values | Description |
|---|
| count | integer | 0 - 1,048,575 | The number of times to repeat the trigger. |
integer - Returns the present count value.
:TRIG:TIM2:COUN 4
:TRIG:TIM4:COUN 20
Sets and reads the timer delay. The returned value is the delay interval that will be used the next time the timer is triggered.
| Name | Type | Values | Description |
|---|
| n | integer | 1 - 4 | Trigger timer number. |
| interval | real | 8 µs - 100 ks | Delay interval. |
real - The delay interval that will be used the next time the timer is triggered.
TRIG:TIM2:DEL 50E-6
Configures the alarm of the timer, or a time in the future when the timer will start. If the timer is enabled, it starts immediately when configured for a start time in the past or future.
| Name | Type | Values | Description |
|---|
| n | integer | 1 - 4 | Trigger timer number. |
| time | real | 0 - <1 s | Time in fractional seconds. |
real (s) - Returns the start time in fractional seconds.
Specifies when trigger timer events are generated. When set ON or 1, a trigger event is generated immediately when the timer is triggered and again when the delay elapses; when set OFF or 0, the event is generated only when the timer elapses.
| Name | Type | Values | Description |
|---|
| n | integer | 1 - 4 | Trigger timer number. |
| state | enum | OFF | 0 | ON | 1 | Selects whether a timer event is generated at timer start and delay elapse, or only when the delay elapses. |
enum - Returns the current generate state for the specified timer.
TRIG:TIM3:STAR:GEN ON Set trigger timer 3 to generate an event when the timer starts and when the timer delay elapses.
Indicates whether a start event was ignored because of the event detector state.
| Name | Type | Values | Description |
|---|
| n | integer | 1 - 4 | Trigger timer number. |
boolean - Returns whether a start event was ignored because of the event detector state.
Configures the alarm or future start time for the selected trigger timer. When the timer is enabled, it starts immediately if the configured start time has already passed.
| Name | Type | Values | Description |
|---|
| n | integer | 1 - 4 | Trigger timer number. |
| time | real | 0 - 2,147,483,647 | The time at which the timer will start. |
TRIG:TIM1:STAR:SEC 60
TRIG:TIM1:STAR:FRAC 0.5
TRIG:TIM1:STAT ON
Sets or queries the event that starts trigger timer <n>. The stimulus can be any trigger event, or NONE to disable event processing and use the timer as a timer or alarm based on the start time.
| Name | Type | Values | Description |
|---|
| event | enum | BLENder<n> | COMMand | DIGio<n> | DISPlay | LAN<n> | NONE | NOTify<n> | SLIMit | TIMer<n> | TSPLink<n> | The event that starts the trigger timer. |
enum - Returns the currently selected start stimulus event.
:TRIGger:TIMer<n>:STARt:STIMulus <event>
:TRIGger:TIMer<n>:STARt:STIMulus?
Enables or disables the trigger timer. When enabled, the timer performs the delay operation; when disabled, there is no timer on the delay operation.
| Name | Type | Values | Description |
|---|
| n | integer | 1 - 4 | Trigger timer number. |
| state | enum | OFF | 0 | ON | 1 | Disables or enables the trigger timer. |
enum - Returns the present timer state.
:TRIGger:TIMer<n>:STATe <state>
:TRIGger:TIMer<n>:STATe?