Programming Examples

Making a State Compare Analyzer Measurement

720!***********************************************************************

730! Display line 4090 of the compare listing and start the analyzer

740! in a repetitive mode.

750!

760OUTPUT 707;":MACHINE1:COMPARE:LINE 4090"

770OUTPUT 707;":START"

780!

790! Line 4090 of the listing is now displayed at center screen.

810! In this example, the states are stable. However, in some

820! cases, the end points of the listing may vary thus causing

830! a false failure in compare. To eliminate this problem, a

840! partial compare can be specified to provide predictable end

850! points of the data.

860!

870PRINT "Press CONTINUE to send the STOP command."

880PAUSE

890OUTPUT 707;":STOP"

900!

910!************************************************************************

920! The end points of the compare can be fixed to prevent false failures.

930! In addition, you can use partial compare to compare only sections

940! of the state listing you are interested in comparing.

950!

960OUTPUT 707;":MACHINE1:COMPARE:RANGE PARTIAL, 0, 508"

970!

980! The compare range is now from line 0 to +508

990!

1000 !************************************************************************ 1010 ! Change the Glitch jumper settings on the training board so that the

1020 ! data changes, reacquire the data and compare which states are different. 1030 PRINT "Change the glitch jumper settings on the training board so that " 1040 PRINT "the data changes, reacquire the data and compare which states are " 1041 PRINT "different."

1050 !

1060 PRINT "Press CONTINUE when you have finished changing the jumper." 1070 !

1080 PAUSE

1090 !

18–11