310 !
320 ! Display the state trigger menu.
330 !
340 OUTPUT 707;":MENU 1,3"
350 !
360 ! Create a 5 level tr igger specific ation with the tri gger on the
370 ! fourth level.
380 !
390 OUTPU T 707;":MACH INE1:STRIGGE R:SEQUENCE 5 ,4"
400 !
410 ! Define patter n terms A, B, C, D, and E to be 11, 22, 33, 44 and 59
420 ! decimal respectively.
430 !
440 OUTPU T 707;":MACH INE1:STRIGGE R:TERM A,’SCOU NT’,’11’"
450 OUTPU T 707;":MACH INE1:STRIGGE R:TERM B,’SCOU NT’,’22’"
460 OUTPU T 707;":MACH INE1:STRIGGE R:TERM C,’SCOU NT’,’33’"
470 OUTPU T 707;":MACH INE1:STRIGGE R:TERM D,’SCOU NT’,’44’"
480 OUTPU T 707;":MACH INE1:STRIGGE R:TERM E,’SCOU NT’,’59’"
490 !
500 ! Define a Range having a lower limit of 50 and an upper limit of 58.
510 !
520 OUTPU T 707;":MACH INE1:STRIGGE R:RANGE1 ’SCOU NT’,’50’,’58’"
530 !
540 ! ***************** CONFIGURE SEQUENCE LEVEL 1 ***************************
550 ! Store NOSTATE in level 1 and Then fin d resource term "A " once.
560 !
570 OUTPU T 707;":MACH INE1:STRIGGE R:STORE1 ’NOST ATE’"
580 OUTPU T 707;":MACH INE1:STRIGGE R:FIND1 ’A’,1"
590 !
600 ! ***************** CONFIGURE SEQUENCE LEVEL 2 ***************************
610 ! Store RANGE1 in level 2 and Then find resource term "E" once.
620 !
630 OUTPU T 707;":MACH INE1:STRIGGE R:STORE2 ’IN_R ANGE1’"
640 OUTPU T 707;":MACH INE1:STRIGGE R:FIND2 ’E’,1"
650 !
660 ! ***************** CONFIGURE SEQUENCE LEVEL 3 ***************************
670 ! Store NOSTATE in level 3 and Then find term "B" once.
680 !
690 OUTPU T 707;":MACH INE1:STRIGGE R:STORE3 ’NOST ATE’"
700 OUTPU T 707;":MACH INE1:STRIGGE R:FIND3 ’B’,1"
710 !
720 ! ***************** CONFIGURE SEQUENCE LEVEL 4 ***************************
730 ! Store a combination of resource terms (C or D or RANGE1) in level 4 and
740 ! Then Trigger on resource term "E."
750 !
Programming Examples
Making a State analyzer measurement36–6