PicoQuantGmbH MultiHarpSoftwareV.3.1.0.0
AmeasurementcanbestoppedatanytimebyclickingtheStopbutton.Thedatarecordeduptothispointwill
bestoredinthefile.Whenthemeasurementhascompleted,theStopbuttonwillbegrayedout(disabled).Use
theExitbuttontoreturntothenormalinteractivemode.Again,thiswilltakesometimeforhardwarereconfigura-
tion.
Asoutlinedabove,TTTRdatacollectionathighratesisademandingreal-timestreamingprocess.Thehard-
wareandsoftwaremustensurenottoloseanydata.InordertoimplementthisefficientlytheMultiHarpsoftware
employsmultiplethreads(concurrentCPUprocesses).AfirstthreadcontinuouslyreadstheMultiHarp‘shard-
wareFIFOandputstheretrieveddatainasoftwarequeue.Asecondthreadconcurrentlyreadsthissoftware
queueandwritesthedatatodisk.Ifreal-timecorrelationisbeingperformedthenthisisdoneinfurtherseparate
threads.Userinterfaceandinteractionarehandledinyetanotherthread.Multi-coreCPUsareparticularlyuseful
hereastheycanrunthethreadsinparallelratherthanswitchingbetweenthem.Therearetwotypicalerrorsce-
nariosthatyoumayencounterinthisprocess.Thefirstisasituationwherethefirstthreaddoesnotemptythe
hardwareFIFOquicklyenoughandtheFIFOrunsfull.ThesoftwarethenreportstheerrorFIFO_OVERRUN.In
ordertoavoidthisyoumayhavetoreducetheinputdatarate.Anothererrorsituationmayresultwhenthesec-
ondthreadcannotwritetodiskquicklyenoughandthesoftwarequeuerunsfull.Thesoftwarethenreportsthe
errorSTORAGE_QUEUE_OVERRUN.Inordertoavoidthisyoumaywanttocheckthewritespeedofyour
harddiskandseehowitcanbeimproved.
5.3.5. External Markers
OftenitisdesirabletosynchronizeTCSPCmeasurementswithotherinformationorprocessesofcomplexmea-
surementtasks.Inordertoperforme.g.,FluorescenceLifetimeImaging,thespatialoriginofthephotonsmust
berecordedaswellastheirtiming.Forthispurposeoneneedsamechanismtoassignexternalsynchronization
informationtotheTCSPCdata.InthespecialcaseofFluorescenceLifetimeImaging,conventionalsystemsuse
on–boardmemoryandswitchtonewblocksofmemoryuponarrivalofe.g.,apixelclockpulse.Accommodating
thelargeamountofdatageneratedbythe3–dimensionalmatrixofpixelco–ordinatesandlifetimehistogram
binsisaseriouschallenge.Evenwithmodernmemorychips,thisapproachislimitedinimagesizeand/or
number.Inaddition,itisexpensive,andimplieslossofinformationabouttheindividualphotonarrivaltimes.To
solvetheprobleminamuchmoreelegantmanner,theTTTRdatastreamgeneratedbytheMultiHarpcancon-
tainmarkersforsynchronizationinformationderivedfromanimagingdevice,e.g.,ascancontroller.Forthis
purposethecontrolportoftheMultiHarpprovidesfourTTLinputsforsynchronizationsignalsM1..M4(seesec-
tion8.3.2fortheconnectorspecification).
Thefigurebelowillustrateshowtheexternalmarkersignalsarerecordedinthedatastream.
Bulletsdenoteaphoton,bluepulsesdenoteamarkersignal.Theexternalmarkersaretreatedalmostasifthey
wereregularphotoneventrecords.Aspecialchannelcodeallowstodistinguishtruephotonrecordsfrom
markerrecords.SoftwarereadingtheTTTRfilecantherebyfilteroutthemarkerse.g.,forlineandframeclock
inimagingapplications.Thismakespossibletoreconstructthe2DimagefromthestreamofTTTRrecords,
sincetherelevantXYpositionofascannercanbedeterminedduringthedataanalysis.Thedatageneratedthis
wayisnearlyfreeofredundancyandcanthereforebetransferredinreal–time.Theimagesizeisunlimitedboth
inXYandincountdepth.Sincetherearefoursuchsynchronizationsignals,allimagingapplicationscanbeim-
plementedandevenotherexperimentcontrolsignalscanberecorded.Thismarkerschemeisaveryspecial
featureofPicoQuant'sTCSPCelectronics.ItmaybeworthnotingthatinventingthistechnologyenabledPico-
QuanttodevelopthecuttingedgeMicroTime200FluorescenceLifetimeMicroscope.
TheTTLcompatibleinputsacceptthesynchronizationsignalsthatwillberecordedasmarkers.Theactive
edgesofthesesignalscanbechoseninthegeneralsettingsdialog(availablethroughtheToolbar).Bothhigh
andlowstatemustbeatleast50nslong.Theperiodmaytherefore(inprinciple)beasshortas100nsbutdata
busthroughputconstraintswillapply.EachmarkercreatesanadditionalTTTRrecord,sothatonemustensure
nottoswampthedatastreamwithtoomanymarkerrecords.Incaseofdatabuscongestionmarkerstake
precedenceoverphotonrecords,sothatexcessivemarkertrafficcansuppressphotonrecords.Infastimaging
applicationsitisthereforerecommendednottouseapixelclockbutalineclockonly.Sinceeachphotonhasa
timetag,itisusuallynotnecessarytouseanadditionalpixelclock.Instead,virtualpixelscanbedefinedby
Page39