nyenaceyg
Dołączył: 13 Gru 2010
Posty: 522
Przeczytał: 0 tematów
Ostrzeżeń: 0/5 Skąd: England
|
Wysłany: Sob 22:32, 15 Sty 2011 Temat postu: Software Design of MUDAL Data Acquisition System_5 |
|
|
Software Design of MUDAL Data Acquisition System
tsandsendscontrolcommandstoremotePCandcontroldataflow, theotherswork. asslaveonlycontroldataflowtosenddatatosharememory (sharewithanalysisprogram) andrecorddataintodisk / tape. ItworkswithremotePCbutcanbeindependentwithotherprogram. Analysisprogramworksatonlinewhenexperimentdatacomesfromsharememory,[link widoczny dla zalogowanych], andworksatoffiinewhenexperimentdatacomesfromdisk / tape. Theanalysisresultscallbesenttosharememoryfsharedwithdisplayprogram),[link widoczny dla zalogowanych], tonetworkwheredisplayprogramisrunningandtoharddisk, auserinterfaceisdesignedforphysicsrelatedcalculationforanalysis. Displayprogramcangetspectraandactivatedisplaydatabufferfromsharememory, orspectrafromnetworkorharddisk, anadjustableupdatedtimeandmanyotherfunctionsareused. Eachprogramconsistsof4-7sub-processes, manyInter-ProcessCommunication (IPC) techniquesareused,[link widoczny dla zalogowanych], suchassharedmemoryjmessagequeues,[link widoczny dla zalogowanych], semaphoresetsandglobalvariables, amongprogramsandsub-processeswhichallruninsamePC. AnUDP / IPsocketofnetworkprogrammingisusedtotransferdataandspectraandTCP / IPsocketofnetworkprogrammingisusedtosendcontrolcommands. whenIPCisusedind 『erentPCs. Andmulti-folderofcontrolpan'elforeachprogramisconvenientlyused. RemoteprogramControlprogramA: cmlr ■ n ■ ■ mmllemmtB: d ● \: d ● t ■ recd ■ tB: cemmemdsendmdltmtuscheekC: d ■ ■ memdshi-eINII ~ eFrummaging.atD: congr ■ pmmelinterruptAnalysisprogramA: I/0mm ~ emmtB.c Xiu ■,[link widoczny dla zalogowanych], | mdinterrupt0 Ba Xu Elimination of the \amdmec (rl · at ■ ■ ■ h Xiu 'DisplayprogramA: I/0mmqgemmtB: ~ pectrlaspnayaumdupdmteC: cm \
Post został pochwalony 0 razy
|
|