:TRIGger Commands
31
Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide
1119
:TRIGger:PATTern
Command Syntax
:TRIGger:PATTern <pattern>
<pattern> ::= <string>[,<edge_source>,<edge>]
<string> ::= "nn...n" where n ::= {0 | 1 | X | R | F} when
<base> = ASCii
<string> ::= "0xnn...n" where n ::= {0,..,9 | A,..,F | X | $} when
<base> = HEX
<edge_source> ::= {CHANnel<n> | NONE}
<n> ::= 1 to (# of analog channels) in NR1 format
<edge> ::= {POSitive | NEGative}
The :TRIGger:PATTern command specifies the channel values to be used in the
pattern trigger.
In the <string> parameter, each bit corresponds to a channel as described in the
following table:
The format of the <string> parameter depends on the :TRIGger:PATTern:FORMat
command setting:
• When the format is ASCii, the string looks just like the string you see on the
oscilloscope's front panel, made up of 0, 1, X (don't care), R (rising edge), and F
(falling edge) characters.
• When the format is HEX, the string begins with "0x" and contains hex digit
characters or X (don't care for all four bits in the nibble).
With the hex format string, you can use the <edge_source> and <edge>
parameters to specify an edge on one of the channels.
You can only specify an edge on one channel. When an edge is specified, the
:TRIGger:PATTern:QUALifier does not apply.
Query Syntax
:TRIGger:PATTern?
Oscilloscope Models
Value and Mask Bit Assignments
2 analog channels only
Bits 0 and 1 - analog channels 2 and 1.
NOTE
The optional <edge_source> and <edge> parameters should be sent together or not at all. The
edge can be specified in the ASCII <string> parameter. If the edge source and edge
parameters are used, they take precedence.