HP 16554A, 16555D, 16555A manual 18-6, Output 707MACHINE1STRIGGERSEQUENCE 5,4

Models: 16554A 16555D 16555A

1 332
Download 332 pages 11.52 Kb
Page 308
Image 308

Programming Examples

Making a State Analyzer Measurement

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!

340OUTPUT 707;":MENU 2,3"

350!

360! Create a 5-level trigger specification with the trigger on the

370! fourth level.

380!

390OUTPUT 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!

440OUTPUT 707;":MACHINE1:STRIGGER:TERM A,’SCOUNT’,’11’"

450OUTPUT 707;":MACHINE1:STRIGGER:TERM B,’SCOUNT’,’22’"

460OUTPUT 707;":MACHINE1:STRIGGER:TERM C,’SCOUNT’,’33’"

470OUTPUT 707;":MACHINE1:STRIGGER:TERM D,’SCOUNT’,’44’"

480OUTPUT 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!

520OUTPUT 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!

570OUTPUT 707;":MACHINE1:STRIGGER:STORE1 ’NOSTATE’"

580OUTPUT 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!

630OUTPUT 707;":MACHINE1:STRIGGER:STORE2 ’IN_RANGE1’"

640OUTPUT 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!

690OUTPUT 707;":MACHINE1:STRIGGER:STORE3 ’NOSTATE’"

700OUTPUT 707;":MACHINE1:STRIGGER:FIND3 ’B’,1"

710!

18–6

Page 308
Image 308
HP 16554A, 16555D, 16555A manual 18-6, Output 707MACHINE1STRIGGERSEQUENCE 5,4