Programming Examples

Making a State Compare Analyzer Measurement

310! ******************************************************************

320! Specify two sequence levels, the trigger sequence level, specify

330! FF hex for the "a" term which will be the trigger term, and store

340! no states until the trigger is found.

350!

360OUTPUT 707;":MACHINE1:STRIGGER:SEQUENCE 2,1"

370OUTPUT 707;":MACHINE1:STRIGGER:TERM A,’SCOUNT’,’#HFF’"

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

390OUTPUT 707;":MENU 2,3"

400!

410! ******************************************************************

420! Change the displayed menu to the state listing and start the state

430! analyzer in repetitive mode.

440!

450OUTPUT 707;":MENU 2,7"

460OUTPUT 707;":RMODE REPETITIVE"

470OUTPUT 707;":START"

480!

490! ******************************************************************

500! The logic analyzer is now running in the repetitive mode

510! and will remain in repetitive until the STOP command is sent.

520!

530PRINT "The logic analyzer is now running in the repetitive mode"

540PRINT "and will remain in repetitive until the STOP command is sent."

550PRINT

560PRINT "Press CONTINUE"

570PAUSE

580!

590!***********************************************************************

600! Stop the acquisition and copy the acquired data to the compare reference

610! listing.

620!

630OUTPUT 707;":STOP"

640OUTPUT 707;":MENU 2,10"

650OUTPUT 707;":MACHINE1:COMPARE:MENU REFERENCE"

660OUTPUT 707;":MACHINE1:COMPARE:COPY"

670!

680! The logic analyzer acquistion is now stopped, the Compare menu

690! is displayed, and the data is now in the compare reference

700! listing.

710!

18–10