Agilent Technologies 1660AS TV Converter Box User Manual


 
Making a State analyzer measurement
This state analyzer program selects the 1660-series logic analyzer, displays
the configuration menu, defines a state machine, displays the state trigger
menu, sets a state trigger for multilevel triggering. This program then starts
a single acquisition measurement while checking for measurement
completion.
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 "Multilevel
State Triggering" example in chapter 9 of the E2433-90910 Logic Analyzer
Training Guide.
10 ! ******************** STATE ANALYZER EXAMPLE *************************
20 ! for the 1660-series Logic Analyzers
30 !
40 ! ****************** SELECT THE LOGIC ANALYZER **********************
50 ! Select the module slot in which the logic analyzer is installed.
60 ! Always a 1 for the 1660-series logic analyzers.
70 !
80 OUTPUT 707;":SELECT 1"
90 !
100 ! ******************** CONFIGURE THE STATE ANALYZER **********************
110 ! Name Machine 1 "STATE," configure Machine 1 as a state analyzer, assign
120 ! pod 1 to Machine 1, and display System Configuration menu of the
130 ! logic analyzer.
140 !
150 OUTPUT 707;":MACHINE1:NAME STATE"
160 OUTPUT 707;":MACHINE1:TYPE STATE"
170 OUTPUT 707;":MACHINE1:ASSIGN 1"
180 OUTPUT 707;":MENU 1,0"
190 !
200 ! ******************* SETUP THE FORMAT SPECIFICATION *********************
210 ! Make a label "SCOUNT," give the label a positive polarity, and
220 ! assign the lower 8 bits.
230 !
240 OUTPUT 707;":MACHINE1:SFORMAT:REMOVE ALL"
250 OUTPUT 707;":MACHINE1:SFORMAT:LABEL SCOUNT, POS, 0,0,255"
260 !
270 ! ******************* SETUP THE TRIGGER SPECIFICATION ********************
280 ! The trigger specification will use five sequence levels with the trigger
290 ! level on level four. Resource terms A through E, and RANGE1 will be
300 ! used to store only desired counts from the 8-bit ripple counter.
Programming Examples
Making a State analyzer measurement
36–5