Tektronix 494A O o o o o o o a o, Return 5OOOREM49XPGPIBVERIFICATION Program, 5O9OINPUTT$

Models: 494AP 494A

1 336
Download 336 pages 53.32 Kb
Page 88
Image 88

PerformanceCheck procedure- 4g4A/4g4ApServiceVol. I

Lines 9000-10000:Group Execute Trigger test. Checksthat a GET messagedoes causethe Spectrum Analyzerto abort the present sweep and re-arm the trigger,causinga sweep to start and end, sendingout an End-of-SweepSRe. Thus, the SRe line and GET m€ssageare verified.

Lines 10000-11000:Selected Device Clear Test. This test verifiesthat an SDCmessageresetsthe Spec- trum Analyzer'sGplB output bufferclearingout it'slD? response.

Lines11000-12000:Devicecteartest. This test is identicalto the selecteddevice clear test, except the universalcommandDCLis usedinstead.

Lines 12000-13000:Addressedas tistener,tatker test. Thist€st checksthat the microprocessorcorrecily recognizEsthat the GPIA chip has been addressedto listen or talk, and sends the appropriatecharacterto the ert readout(L or T).

Lines 13000-14000:Seriat poil test. This checks correct operation of the serial poll enable (spE) and serial poll disable (SPD) interface messages. The statusbyte is read, and if anythingotherthan ordinary operationis indicated,the instrumenttailsthe test.

Lines14000-15000:GptB rear panetswitchtest. Atl five primaryaddress switch€s are checkedfor corr€ct operation.Three subroutinesare calledin the process of testingone addressswitch. The first two senda for- mattedrnessageto the 4050 display,andthe third per- formsthe addressswitchtest.

Lines 1500G16000:Line feed or EOt switch test. Checksfor correct selectlonof line feed as a termina_ tion whenselectedby this switchby sendingan lD? ter_ minaledonly by a linefeed.

Lines 16000-17000:Talk-only mode t€st. When selected,this mode should cause the instrumentto send a SET? response and (optionally)a CURVE? response whenever the RESET-TO-LOCALbutton is pressed. The string received from the instrumentis thus examinedfor existenceof a portionof the correct'

SET? responseafter the RESET-TO-LOCALbutton is pressed.

Lines 17000-18000:Listen-onlymod€ test. When selected, this mode will cause ths instrum€nt to respondto any messageon the bus, since it is always addressedto listen. The commandREF0 is sentto the bus withoutaddressingthe instrument,then the listen- only mode is deselectedand the instrumentinterro- gated to see if it did respond to the REF command whilein the listen-onlymode.

Lines 18000-'19000:Interface clean (and Remote Enable)test. This IFC lineon the GPIBwill unaddress the instrument'sinterface.This is verifiedby notingthat the L is not presentin the crt readout,indicatingthat the IFC line worked; also the REN line will be unassertedwhenthe end statementis executed(except for some early4052and 4054's)Thus,.a front panelin the localmode indicatesthat the RENlinewas success- fully unasserted.(Evidenceit was assertedis that the instrumentwas ableto execut€commandssentto it by previoustests.)

Lines 19000-end:Utilityroutines. Rear panelinter- face switch test text routineputs headerson the inter- face switch test display. The rear panel test text rou- tine tells the operatorwhat to do after changingthe addressswitches. Test addressswitchacquiresan lD? responsefrom the instrum€nton its new addressduring the addressswitchtest. The SRQ handlerwill handle SRQ'sthat occur, althoughnone would be expected, except the power-upSRO. (fhe end of sweep SRQ during the GET test is handled by anoth€r SRQ handler.) Delay Generatorgeneratesdelays lor other tests. The FailureDecisionHandlerallowsthe program to be restartedwith the user-definablekeys if any test fails.

o

t

o o

t

o

t

o o

o

I

I

I

to

a o o

I t

o

a o a

I

o o

o o o

1GOTOs000

4B2-1

5RETURN

20B2-5

21RETURN

5OOOREM"'49XPGPIBVERIFICATION '-'

PROGRAM

5030tNlT

5O4OON SRQTHEN19280 5050DrMV$(400),w$(400)

506017-0 5O7OPAGE

5080pRtNT'J.JJENTER pRlMARy

49Xp'S ADDRESS(DEFAULT:1)";

5O9OINPUTT$

5100tFTS<>" THEN5130 5 1 1 0A 1 - 1

s120GOTO 5180

4-40

I

o o o o o o o o o a o

t

I

Page 88
Image 88
Tektronix 494AP service manual O o o o o o o a o, Return 5OOOREM49XPGPIBVERIFICATION Program, 5O9OINPUTT$