A SERVICE OF

logo

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.
310 !
320 ! Display the state trigger menu.
330 !
340 OUTPUT 707;":MENU 2,3"
350 !
360 ! Create a 5-level trigger specification with the trigger on the
370 ! fourth level.
380 !
390 OUTPUT 707;":MACHINE1:STRIGGER:SEQUENCE 5,4"
400 !
410 ! Define pattern terms A, B, C, D, and E to be 11, 22, 33, 44 and 59
420 ! decimal respectively.
430 !
440 OUTPUT 707;":MACHINE1:STRIGGER:TERM A,’SCOUNT’,’11’"
450 OUTPUT 707;":MACHINE1:STRIGGER:TERM B,’SCOUNT’,’22’"
460 OUTPUT 707;":MACHINE1:STRIGGER:TERM C,’SCOUNT’,’33’"
470 OUTPUT 707;":MACHINE1:STRIGGER:TERM D,’SCOUNT’,’44’"
480 OUTPUT 707;":MACHINE1:STRIGGER:TERM E,’SCOUNT’,’59’"
490 !
500 ! Define a Range having a lower limit of 50 and an upper limit of 58.
510 !
520 OUTPUT 707;":MACHINE1:STRIGGER:RANGE1 ’SCOUNT’,’50’,’58’"
530 !
540 ! ***************** CONFIGURE SEQUENCE LEVEL 1 ***************************
550 ! Store NOSTATE in level 1 and Then find resource term "A" once.
560 !
570 OUTPUT 707;":MACHINE1:STRIGGER:STORE1 ’NOSTATE’"
580 OUTPUT 707;":MACHINE1:STRIGGER:FIND1 ’A’,1"
590 !
600 ! ***************** CONFIGURE SEQUENCE LEVEL 2 ***************************
610 ! Store RANGE1 in level 2 and Then find resource term "E" once.
620 !
630 OUTPUT 707;":MACHINE1:STRIGGER:STORE2 ’IN_RANGE1’"
640 OUTPUT 707;":MACHINE1:STRIGGER:FIND2 ’E’,1"
650 !
660 ! ***************** CONFIGURE SEQUENCE LEVEL 3 ***************************
670 ! Store NOSTATE in level 3 and Then find term "B" once.
680 !
690 OUTPUT 707;":MACHINE1:STRIGGER:STORE3 ’NOSTATE’"
700 OUTPUT 707;":MACHINE1:STRIGGER:FIND3 ’B’,1"
710 !
Programming Examples
Making a State Analyzer Measurement
18–6