Clears the blender event detector for blender <n> and resets its overrun indicator. It sets the detector to the undetected state.
| Name | Type | Values | Description |
|---|
| n | integer | 1 - 2 | The blender number (up to two). |
:TRIG:BLEN2:CLE
Selects whether blender <n> performs OR operations or AND operations. The setting is saved with recall settings and is affected by instrument reset, power cycle, and trigger blender clear.
| Name | Type | Values | Description |
|---|
| n | integer | 2 | The blender number (up to two). |
| operation | enum | OR | AND | The type of operation. |
enum - Returns the current blender operation selection.
:TRIG:BLEN2:MODE?
:TRIG:BLEN2:MODE AND
Indicates whether an event was ignored because the event detector was already in the detected state when the event occurred. It reports the state of the event detector built into the event blender itself.
| Name | Type | Values | Description |
|---|
| n | integer | - | The blender number (up to two). |
integer - Returns 1 if an event was ignored, or 0 if an event was not ignored.
:TRIG:BLEN1:OVER?
Specifies the trigger event used by blender stimulus input <m> of blender <n>. Use NONE to disable the blender input.
| Name | Type | Values | Description |
|---|
| n | integer | 2 | The blender number. |
| m | integer | 1 - 4 | The stimulus input number. |
| event | enum | BLENder<n> | COMMand | DIGio<n> | DISPlay | LAN<n> | NONE | NOTify<n> | SLIMit | TIMer<n> | TSPLink<n> | The trigger event to assign to the blender stimulus input. |
enum - Returns the current trigger event assigned to blender stimulus input <m> of blender <n>.
Defines a trigger model block that always goes to a specific block. When the trigger model reaches the specified block, it branches to the block given by the second parameter.
| 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. |
TRIG:BLOC:BRAN:COUN 9, 5, 20
Returns the count value of the trigger model counter block. When 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 number of the block in the trigger model. |
integer - The present count value of the trigger model counter block.
:TRIGger:BLOCk:BRANch:COUNter:COUNt? <blockNumber>
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 number of the block in the trigger model. |
| counter | integer | - | The block number of the counter that is to be reset. |
Defines a trigger model block that branches to a specified block when the difference between two measurements meets the preset criteria. The block compares the last two measurements from a measure/digitize block and branches if the difference is less than or equal 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 number used to make the measurements to be compared; if 0 or undefined, the previous measure/digitize block is used. |
:TRIGger:BLOCk:BRANch:DELTa <blockNumber>, <targetDifference>, <branchToBlock>
:TRIGger:BLOCk:BRANch:DELTa <blockNumber>, <targetDifference>, <branchToBlock>,
<measureDigitizeBlock>
Branches to a specified block when a specified trigger event occurs. If the event has not yet occurred when the 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 | - | The trigger event that must occur before the model branches at this 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 when a measurement meets preset limit criteria. The limit type can be above, below, inside, or outside the specified limits.
| 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 test to perform. |
| limitA | real | - | The lower or only limit used in the measurement comparison, depending on limitType. |
| limitB | real | - | The upper or only limit used in the measurement comparison, depending on limitType. |
| branchToBlock | integer | - | The block number to execute when the measurement meets the defined criteria. |
| measureDigitizeBlockopt | integer | - | The measure/digitize block that provides the measurements to compare; if 0 or undefined, the previous measure/digitize block is used. |
:TRIGger:BLOCk:BRANch:LIMit:CONStant 5, OUTside, 0.15, 0.65, 8
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. |
| limitNumber | integer | - | The limit number to use. |
| branchToBlock | integer | - | The trigger model block number to execute when the limits are met. |
| measureDigitizeBlockopt | integer | - | The block number of the measure/digitize block used for the comparison; 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 is encountered in the trigger model.
| 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 branch-once block is first encountered. |
:TRIGger:BLOCk:BRANch:ONCE <blockNumber>, <branchToBlock>
: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 the first time it is encountered, then branches to the specified block on subsequent encounters.
| 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. When execution reaches this block, the instrument empties the specified buffer; if no buffer is given, defbuffer1 is used.
| Name | Type | Values | Description |
|---|
| blockNumber | integer | - | The sequence number of the block in the trigger model. |
| bufferNameopt | string | - | Name of the buffer to clear; must be an existing buffer. |
: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. If two lists are specified, the settings are recalled from the next index in both lists, 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; the type must be opposite of the first configuration list. |
:TRIGger:BLOCk:CONFig:NEXT <blockNumber>, "<configurationList>"
:TRIGger:BLOCk:CONFig:NEXT <blockNumber>, "<configurationList>", "<configurationList2>"
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, both are recalled from the 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. |
TRIG:BLOC:CONF:PREV 14, "SETTINGS_LIST"
Recalls the system settings stored in a source or measure configuration list. If an index is supplied, that specific configuration list entry is recalled; otherwise the default index is 1.
| 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. |
| indexopt | integer | - | The index in the configuration list to recall. |
TRIG:BLOCK:CONF:RECALL 1, "biasLevel", 1
Adds a constant delay to the execution of a trigger model.
| 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. |
:TRIGger:BLOCk:DELay:CONStant <blockNumber>, <time>
Adds a user delay to the execution of the trigger model. The delay block stops normal measurement and trigger model operation for the time set by the specified user-delay entry, 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; source delays are set by :SOURce[1]:<function>:DELay:USER<n> and measure delays are set by [:SENSe[1]]:<function>:DELay:USER<n>. |
:TRIG:BLOC:DEL:DYN 2, SOUR1 Set trigger block 2 to a dynamic delay that calls source user
notes":"The user-delay command referenced is only available over a remote interface."}】`】```
Defines a trigger model block that sets the lines on the digital I/O port high or low. The bit pattern is an integer value; the optional bit mask controls which lines are driven.
| Name | Type | Values | Description |
|---|
| blockNumber | integer | 0 | The sequence of the block in the trigger model. |
| bitPattern | integer | 0 - 63 | Sets the output line bit pattern. |
| bitMaskopt | integer | 0 - 63 | Specifies the bit mask; if omitted, all lines are driven. |
:TRIG:BLOC:DIG:IO 4, 20, 60
Returns the settings for all trigger model blocks.
string - Returns the settings for the trigger model. Example output lists each block and its settings.
:TRIG:BLOC:LIST?
Allows you to log an event in the event log when the trigger model is running.
| Name | Type | Values | Description |
|---|
| blockNumber | integer | 1 | The sequence number of the block in the trigger model. |
| eventNumber | enum | INFO<n> | WARNing<n> | ERRor<n> | ABORt | The event number to log; INFO, WARNing, and ERRor accept n from 1 to 4, and ABORt aborts the trigger model immediately and posts a warning event log message. |
| message | string | 31 | A string message up to 31 characters. |
::TRIGger:BLOCk:LOG:EVENt <blockNumber>, <eventNumber>, "<message>"
Defines a trigger block that makes or digitizes a measurement. The block stores readings in the specified buffer and can optionally take a count of readings to make before advancing.
| Name | Type | Values | Description |
|---|
| blockNumber | integer | - | The sequence number of the block in the trigger model. |
| bufferNameopt | string | - | Name of the existing buffer to store readings in; if omitted, defbuffer1 is used. |
| countopt | integer | - | Number of readings to make before moving to the next block; INF runs continuously, 0 stops infinite counting, and AUTO uses the most recent count value. |
:TRIGger:BLOCk:MDIGitize <blockNumber>
:TRIGger:BLOCk:MDIGitize <blockNumber>, "<bufferName>"
:TRIGger:BLOCk:MDIGitize <blockNumber>, "<bufferName>", <count>
Creates a placeholder block that performs no action in the trigger model. This command is available only through remote commands.
| Name | Type | Values | Description |
|---|
| blockNumber | integer | - | The sequence number of the block in the trigger model. |
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:NOT 5, 2
Defines a trigger block that turns the output source on or off when the trigger model reaches the block. When listed in trigger blocks, it appears as SOURCE_OUTPUT.
| Name | Type | Values | Description |
|---|
| blockNumber | integer | - | The sequence of the block in the trigger model. |
| state | enum | OFF | ON | Disables or enables the source. |
TRIG:BLOC:SOUR:STAT 1, 1
TRIG:BLOC:DEL:CONS 2, 0.01
TRIG:BLOC:MDIG 3
TRIG:BLOC:BRAN:COUN 4, 100, 2
TRIG:BLOC:SOUR:STAT 5, 0
Defines a trigger model wait block that pauses until a specified event occurs before allowing execution to continue. Optional clear and logic/event arguments control whether previously detected events are cleared and whether one or multiple events must occur.
| 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 | 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 listed events must occur or whether any one of them is sufficient to continue. |
| eventopt | enum | BLENder<n> | COMMand | DIGio<n> | DISPlay | LAN<n> | NONE | NOTify<n> | SLIMit | TIMer<n> | TSPLink<n> | Second event used with the logic argument when multiple events are specified. |
:TRIGger:BLOCk:WAIT 9, DISP
Determines the trigger mode setting after bootup. The setting can disable continuous measurements, enable them automatically, or place the instrument in local control and start them after bootup.
| Name | Type | Values | Description |
|---|
| setting | enum | OFF | AUTO | RESTart | Selects the bootup trigger mode setting. |
enum - Returns the current trigger mode setting after bootup.
TRIG:CONT OFF
Clears the trigger event on the specified digital input line. It clears the event detector, discards the history, and sets the overrun status to 0.
| 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 command is also queryable to read back the current edge setting.
| Name | Type | Values | Description |
|---|
| n | integer | 1 - 6 | Digital I/O trigger line number. |
| detectedEdge | enum | FALLing | RISing | EITHer | Selects whether falling-edge, rising-edge, or either-edge triggers are detected as inputs. |
enum - Returns the current trigger edge setting.
:TRIG:DIG2:IN:EDGE FALL
:TRIG:DIG2:IN:EDGE?
Returns the event detector overrun status for the specified digital I/O trigger line. The status is returned as 0 (false) or 1 (true), indicating whether an event was ignored because the detector was already in the detected state.
boolean - Returns 0 (false) if no overruns have occurred, or 1 (true) if one or more overruns have occurred on the specified I/O trigger line.
TRIG:DIG1:IN:OVER?
Sets the output logic of the trigger event generator for the specified digital I/O trigger line. Positive asserts a TTL-high pulse; negative asserts a TTL-low pulse.
| Name | Type | Values | Description |
|---|
| n | integer | 1 - 6 | Digital I/O trigger line. |
| logicType | enum | POSitive | NEGative | Output logic of the trigger generator. |
:TRIG:DIG4:OUT:LOG NEG
Sets the length of time that the specified digital trigger line is asserted for output triggers. The command is also queryable to read back the pulse width.
| 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 length set for the specified trigger line.
Selects the event that causes a trigger to be asserted on the specified digital output line. The trigger stimulus for a digital I/O line can be set to one of the trigger events listed in the manual.
| Name | Type | Values | Description |
|---|
| n | integer | 1 - 6 | Digital I/O trigger line number. |
| event | enum | BLENder<n> | COMMand | DIGio<n> | DISPlay | LAN<n> | NONE | Trigger event to use as the stimulus. |
enum - Returns the current trigger stimulus setting for the selected digital output line.
:TRIGger:DIGital<n>:OUT:STIMulus <event>
:TRIGger:DIGital<n>:OUT:STIMulus?
Clears the event detector for a LAN trigger and discards the history of the trigger packet. It also clears all overruns associated with that LAN trigger.
| Name | Type | Values | Description |
|---|
| n | integer | 1 - 8 | The LAN event number to clear. |
:TRIG:LAN5:IN:CLE
Sets the trigger operation and detection mode of the specified LAN event. The mode determines whether the trigger detector responds to rising, falling, or either edge.
| Name | Type | Values | Description |
|---|
| n | integer | 1 - 8 | The LAN event number. |
| mode | enum | EITHer | FALLing | RISing | The trigger mode. |
:TRIG:LAN2:IN:EDGE FALL
Indicates the overrun status of the specified LAN event detector.
| Name | Type | Values | Description |
|---|
| n | integer | 1 - 8 | The LAN event number. |
boolean - Returns the overrun status of the LAN event detector.
Prepares the event generator for outgoing trigger events. When set to ON it sends event messages and opens the TCP connection for TCP connections; when set to OFF it closes the TCP connection.
| Name | Type | Values | Description |
|---|
| state | enum | OFF | 0 | ON | 1 | Controls whether event messages are sent. |
: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 for outgoing trigger events. After changing this setting, the connect command must be sent before outgoing messages can be sent.
| Name | Type | Values | Description |
|---|
| n | integer | 1 - 8 | The LAN event number. |
| address | string | - | A string that represents the LAN address in dotted decimal notation. |
string - Returns the current LAN address in dotted-decimal notation.
TRIG:LAN1:OUT:IP:ADDR "192.0.32.10"
Sets the logic used by the trigger event detector and the output trigger generator on the specified LAN trigger line.
| 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 trigger messages on the specified LAN event. The supported protocols are TCP, UDP, and MULTicast.
| Name | Type | Values | Description |
|---|
| n | integer | 1 - 8 | The LAN event number. |
| protocol | enum | TCP | UDP | MULTicast | The protocol used for messages from the trigger. |
:TRIG:LAN1:OUT:PROT TCP Set the LAN protocol for trigger messages to be TCP and
notes
Specifies which LAN event causes this trigger to assert. Setting it to NONE disables automatic trigger generation.
| Name | Type | Values | Description |
|---|
| n | integer | 1 - 8 | The LAN event number. |
| 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 current LAN trigger stimulus event. NONE indicates automatic trigger generation is disabled.
TRIG:LAN1:OUT:STIM TIM1
Pauses a running trigger model. To continue the trigger model, send the resume command.
INIT Start a trigger model, then pause and resume it.
TRIG:PAUS
TRIG:RES
*WAI
Continues running a paused trigger model operation.
:TRIGger:RESume
TRIG:RES
Returns the present state of the trigger model. The instrument also returns the block that the trigger model last executed.
string - Returns the trigger state and the block that the trigger model last executed. The trigger state can be Idle, Running, Waiting, or Empty.
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. A count of 0 makes the timer generate trigger events indefinitely.
| Name | Type | Values | Description |
|---|
| <n> | integer | 1 - 4 | Trigger timer number. |
| count | integer | 0 - 1,048,575 | Number of times to repeat the trigger. |
integer - Returns the current count setting.
:TRIGger:TIMer<n>:COUNt <count>
:TRIGger:TIMer<n>:COUNt?
Sets and reads the timer delay. The delay is the period after the timer is triggered and before it generates a trigger event.
| Name | Type | Values | Description |
|---|
| n | integer | 1 - 4 | Trigger timer number. |
| interval | real | 8 µs - 100 ks | Delay interval. |
real (s) - Returns the delay interval that will be used the next time the timer is triggered.
TRIG:TIM2:DEL 50E-6
Configures the timer start time in fractional seconds. When the timer is enabled, it starts immediately if the configured start time is in the past or in the future.
| Name | Type | Values | Description |
|---|
| n | integer | 1 - 4 | Trigger timer number. |
| time | real | 0 - <1 s | The time in fractional seconds. |
real (s) - Returns the timer start time in fractional seconds.
TRIG:TIM1:STAR:SEC 60
TRIG:TIM1:START:FRAC 0.5
Specifies when timer events are generated for the selected trigger timer. The setting can be configured to generate an event when the delay elapses or both when the timer starts and when the delay 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 only when the delay elapses or when the timer starts and when the delay elapses. |
enum - Returns the current generate setting for the selected timer.
Indicates whether an event was ignored because the event detector was already in the detected state when the event occurred. Returns 0 if there is no overrun or 1 if there is an overrun.
| Name | Type | Values | Description |
|---|
| n | integer | 1 - 4 | Trigger timer number. |
integer - 0 if there is no overrun or 1 if there is an overrun.
TRIG:TIM1:STAR:OVER? Checks the overrun status on trigger timer 1.
Configures the start time for trigger timer <n>. If the timer is enabled and the configured start time has already passed, the timer starts immediately.
| Name | Type | Values | Description |
|---|
| n | integer | 1 - 4 | Trigger timer number. |
| time | real | 0 - 2,147,483,647 | The timer start time. |
real (s) - Returns the configured start time in seconds.
:TRIG:TIM1:STAR:SEC 60
:TRIG:TIM1:STAR:FRAC 0.5
:TRIG:TIM1:STAT ON
This command describes the event that starts the trigger timer. Set the stimulus to a trigger event to start the timer when that event occurs, or to none to disable event processing and use the timer based on the start time.
| Name | Type | Values | Description |
|---|
| n | integer | 1 - 4 | Trigger timer number. |
| event | enum | - | The event that starts the trigger timer. |
enum - Returns the stimulus setting for the trigger timer.
Enables or disables the trigger timer. When enabled, the timer performs its 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. |
:TRIGger:TIMer<n>:STATe <state>
:TRIGger:TIMer<n>:STATe?