Bit1istrueifaninvalidcombinationoffunction andrangecodesaresenttothe3468A,e.g.,F2R5.Itisclearedwhenavalidrange andfunctioncombinationisselected.BitOisclearedwhenthereadingisread,aprogramcommandisexecutedthatchangesthe stateof theA/Dconverter,oraTriggercommandisreceived.TheStatus Byte togetherwiththeServiceRequest(SRO)MaskdeterminewhentheRequireService(ROS)bitistobeset.SettingROScausesSROtobesentontheHP-IL.ExecutionoftheINSTATcommandforthe3468AwillclearSROanditwillremainclearuntilanotherreasonforsettingROSoccurs.ROSon theotherhand,issetifoneormore correspondingbitsintheStatus Byte andSROMaskarebothset.ROSisclearedwheneverallcorrespondingbitsarenotbothset. IN-STATthen,maycauseRQStobe cleared butnotinallcases.Bits2,4,5,and 7areclearedwithINSTAT.Let’slookatthree shortexamplesofhowtheINSTATcommandcanbeused.Thefirsttwo exampleswillbeusedlaterin aStatisticsprogram.Example 1. Data ReadyThedatareadybit(bitOintheStatusregister)of the3468A,allowsthecalculatortodeterminewhennewmeasurementdataisready.Sincethe datareadybitisbitO,itwillbeplacedintothe calculator’s FlagOOwhentheINSTATcommandisexecuted.Therefore,FlagOOwillbetheflagtestedtoseeifdataisready.Before keyinginthefollowingexample,makecertain that the3468AisintheSingle Triggermode.KeystrokesHP41 DisplayCommentsXEQ] [ALPHA] INSTAT [ALPHA 1.0000 Bit O is set indicating DataReady. The value of this bit iseeeFS?]00 YESThetest toseeifFlag00issetreturnsaYES answerXEQ] [ALPHA]IND[ALPHAThedisplaywillshowthe3468Areading.The data is no longer available.It was read into the calculator.Bit O is cleared and INSTATreturns a ‘‘O”’.([XEQ] [ALPHA] INSTAT [ALPHA] 0.0000FS?|00 NO TheFlag testnow showsthatbitOinthe status registerisclear.40