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 an alyzers.
70 !
80 OUTPUT 707;":SE LECT 1"
90 !
100 ! ******************** CONFIGURE THE STATE ANALYZER **********************
110 ! Name Machine 1 "S TATE," configu re Machine 1 as a stat e analyzer, assi gn
120 ! pod 1 to Machine 1, and display System Configuration menu of the
130 ! logic analyzer.
140 !
150 OUTPU T 707;":MACH INE1:NAME STATE"
160 OUTPUT 707;": MACHINE1:TYP E STATE"
170 OUTPUT 707;": MACHINE1:ASS IGN 1"
180 OUTPUT 707;":MENU 1,0"
190 !
200 ! ******************* SETUP THE FORMAT SPECIFICATION *********************
210 ! Mak e a label "S COUNT," give the label a positive po larity, and
220 ! assign the lowe r 8 bits.
230 !
240 OUTPUT 707;": MACHINE1:SFO RMAT:REMOVE AL L"
250 OUTPU T 707;":MACH INE1:SFORMAT :LABEL SCOUNT, POS, 0,0,25 5"
260 !
270 ! ******************* SETUP THE TRIGGER SPECIFICATION ********************
280 ! The trigger specification will use five sequence levels with the trigger
290 ! level on level fo ur. Resource term s A through E, and RAN GE1 will be
300 ! used to store onl y desired counts from the 8-bit ripp le counter.
Programming Examples
Making a State analyzer measurement
36–5