Agilent Technologies 1660AS User Manual

Page of 576
Making a State Compare measurement
This program example acquires a state listing, copies the listing to the
compare listing, acquires another state listing, and compares both listings to
find differences.
This program is written in such a way you can run it with the E2433-60004
Logic Analyzer Training Board.  This example is the same as the "State
Compare" example in chapter 3 of the E2433-90910 Logic Analyzer
Training Guide
.
10    ! *********** STATE COMPARE EXAMPLE ********************************
20    !            for the 1660-Series Logic Analyzers
30    !
40    !
50    !************** SELECT THE LOGIC ANALYZER ************************
60    ! Select the module slot in which the logic analyzer is installed.
70    ! Always a 1 for  the 1660A-series logic analyzers.
80    !
90    OUTPUT 707;":SELECT 1"
100   !
110   !************** CONFIGURE THE STATE ANALYZER ***********************
120   ! Name Machine 1 "STATE," configure Machine 1 as a state analyzer, and
130   ! assign pod 1 to Machine 1.
140   !
150   OUTPUT 707;":MACHINE1:NAME ’STATE’"
160   OUTPUT 707;":MACHINE1:TYPE STATE"
170   OUTPUT 707;":MACHINE1:ASSIGN 1"
180   !
190   ! ******************************************************************
200   ! Remove all labels previously set up, make a label "SCOUNT," specify
210   ! positive logic, and assign the lower 8 bits of pod 1 to the label.
220   !
230   OUTPUT 707;":MACHINE1:SFORMAT:REMOVE ALL"
240   OUTPUT 707;":MACHINE1:SFORMAT:LABEL ’SCOUNT’, POS, 0,0,255"
250   !
260   ! ******************************************************************
270   ! Make the "J" clock the Master clock and specify the falling edge.
280   !
290   OUTPUT 707;":MACHINE1:SFORMAT:MASTER J, FALLING"
300   !
310   ! ******************************************************************
320   ! Specify two sequence levels, the trigger sequence level, specify
Programming Examples
Making a State Compare measurement
36–9