Commands by Subsystem
5
Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide
475
:TRIGger:PATTern
Command Syntax
:TRIGger:PATTern <pattern>
<pattern> ::= <value>, <mask> [, <edge source>, <edge>]
<value> ::= integer in NR1 format or <string>
<mask> ::= integer in NR1 format or <string>
<string> ::= "0xnnnnn"; n ::= {0,..,9 | A,..,F}
(# bits = # channels, see following table)
<edge source> ::= {CHANnel<n> | EXTernal | NONE} for DSO models
<edge source> ::= {CHANnel<n> | DIGital0,..,DIGital15
| NONE} for MSO models
<n> ::= {1 | 2 | 3 | 4} for the four channel oscilloscope models
<n> ::= {1 | 2} for the two channel oscilloscope models
<edge> ::= {POSitive | NEGative}
The :TRIGger:PATTern command defines the specified pattern resource
according to the value and the mask. For both <value> and <mask>, each
bit corresponds to a possible trigger channel. The bit assignments vary by
instrument:
Set a <value> bit to "0" to set the pattern for the corresponding channel to
low. Set a <value> bit to "1" to set the pattern to high.
Set a <mask> bit to "0" to ignore the data for the corresponding channel.
Only channels with a "1" set on the appropriate mask bit are used.
Oscilloscope Models
Value and Mask Bit Assignments
4 16 digital channels (mixed-signal)
Bits 0 through 15 - digital channels 0 through
15. Bits 16 through 19 - analog channels 1
through 4.
2 16 digital channels (mixed-signal)
Bits 0 through 15 - digital channels 0 through
15. Bits 16 and 17 - analog channels 1 and 2.
4 analog channels only
Bits 0 through 3 - analog channels 1 through 4.
Bit 4 - external trigger.
2 analog channels only
Bits 0 and 1 - analog channels 1 and 2. Bit 4 -
external trigger.
N O T E
The optional source and the optional edge should be sent together or not at all. The edge
will be set in the simple pattern if it is included. If the edge source is also specified in the
mask, the edge takes precedence.
Summary of Contents for InfiniiVision 7000A Series
Page 1: ...Agilent InfiniiVision 7000A Series Oscilloscopes Programmer s Guide...
Page 34: ...34 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer s Guide 1 What s New...
Page 44: ...44 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer s Guide 2 Setting Up...
Page 58: ...58 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer s Guide 3 Getting Started...
Page 750: ...750 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer s Guide 8 Error Messages...
Page 922: ...922 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer s Guide Index...