DATA LOGGERThefollowingdata loggerprogram(LOGGER)illustratesthepowerandandflex-ibilityofanHP-ILsystem.Theprogramtakesten setsof tenreadingseach,foratotalof100readings,andstoresthemonacassettetapeforfuturereference.Theprogramcaneasilybeenhancedbyaddingalinearizationroutinebetweenlines15 and16.An exampleof linearizationisthepreviousprogram wheretheresistanceofathermistorwasconvertedto atemperature.Inthisway,temperaturemeasurementsratherthan resistancemeasurementsarestoredonthetape.TheprogramREADdemonstrateshoweasilydata can bereadfromthecassettetapeandlistedonaprinter.Again,thisprogramcan beenhancedby addingaroutinetoplotthedataontheprinter.Ofcourse,the datacanalsobe printedorplottedasthemeasurementsarebeing takenintheLOGGERprogram.RunningtheLOGGERProgramMakecertain thatthe interfaceloopconnectionshave beenmadebetweenthe3468Amultimeter,41C/41CVcalculator,82161ADigitalCassetteDrive,andthe82162APrinter.Turnallofthedeviceson.Beforedata can bestoredonthecassettetape, thetapemustbeinitialized.Thisisdone byexecutingtheNEWMcommand(NEWMedium).RefertotheHP-ILOwnersManual.Line03 executestheMVACsubprogram.Thiscanbechangedto suityourneeds.Deletingthelineentirelygivesyouthefreedomofsetting the3468Amanuallyasoftenasneeded.Whenthedevicetobe tested hasbeenconnectedtothe3468Ainputterminals and youarereadytobegin,type:LOGGER[ALPHAHowtheProgram WorksSpaceforstoring the100readingsmustbe allocated onthecassettetape.Thisspace(orfile)iscreated and giventhenameDATAin lines04, 05, andO86.Lines07and08areusedtoreturn tothebeginningof theDATAfileon the cassettefordata storage.RegisterOOisusedasaloop counterto take ten sets of readings.Thevalue1.010isSTOredintoRegister00(lines09, 10)andisincrementedand testedinline22.57