
Defining Events
The previous example used the “immediate” event. The next example will define a custom event that
fires when a specific pattern is observed.
*RST
:ANA0:THR 0.0
:ANA0:MODE SING
:ANA0:SAMP:MODE NRZ
:ANA0:SAMP:NRZ:RATE 10e6
:EVEN:TYPE "patterntrigger",PATT
:EVEN:SOUR "patterntrigger","ANALYZER0"
:EVEN:PATT "patterntrigger","1110111"
:ANA0:IDEN?
:REC0:SOUR "ANALYZER0"
:REC0:EVEN "patterntrigger"
:REC0:RUN 10,10
:REC0:STAT?
:REC0:DOWN:BITS?
:REC0:DOWN? BIN
The event “patterntrigger” uses the same data source (analyzer 0 sampler), and fires when the
pattern “1110111” is observed. The pattern recorder will record at least ten bits before that pattern
is observed, and at least ten bits after. Therefore, the pattern “1110111” will always appear in the
recorded pattern.
82
BitifEye Digital Test Solutions GmbH