1 introduction to unidaq makoto yoshida (osaka univ.) mice daq workshop @daresbury 2005/9/1

Post on 03-Jan-2016

233 Views

Category:

Documents

1 Downloads

Preview:

Click to see full reader

TRANSCRIPT

11

Introduction to UniDAQIntroduction to UniDAQ

Makoto YoshidaMakoto Yoshida(Osaka Univ.)(Osaka Univ.)

MICE DAQ workshop @DaresburyMICE DAQ workshop @Daresbury2005/9/12005/9/1

22

UniDAQUniDAQ

Unix-based DAQ systemUnix-based DAQ system developed by KEK, TIT, U. Michigan, U. Minnesotdeveloped by KEK, TIT, U. Michigan, U. Minnesot

a in 1990sa in 1990s initiated for SSC project initiated for SSC project A lot of experience at KEKA lot of experience at KEK well documented, experts in Osaka-U and KEKwell documented, experts in Osaka-U and KEK referencesreferences

http://www-online.kek.jp/~online/Unidaq/http://www-online.kek.jp/~online/Unidaq/ (Genaral) (Genaral) http://www.elc.nias.ac.jp/~daq/software/http://www.elc.nias.ac.jp/~daq/software/ (for (for

Linux)Linux)

33

UniDAQ (Cont.)UniDAQ (Cont.) code in Ccode in C High scalability; work on VxWorks, Linux, LynxOS, Sun, Dec, HP…High scalability; work on VxWorks, Linux, LynxOS, Sun, Dec, HP… Network distributed systemNetwork distributed system

Transport data via buffer manager process (NOVA daemon)Transport data via buffer manager process (NOVA daemon) Processes can be distributed among PCs on the network.Processes can be distributed among PCs on the network.

An Event BuilderAn Event Builder Collectors for CAMAC readout (TOF etc.) and VME readout (VLPC)Collectors for CAMAC readout (TOF etc.) and VME readout (VLPC)

CPUCPU OSOS BusBus VME interfaceVME interface

LinuxLinux PCPC LinuxLinux PCIPCI BIT3BIT3

SunSun SPARCSPARC SolarisSolaris SBusSBus SFVME-100, etc.SFVME-100, etc.

DECDEC DEC DEC stationstation

ULTRIXULTRIX TURBOchannelTURBOchannel DEC PMABV/T6000DEC PMABV/T6000

HPHP HP9000HP9000 HP-UXHP-UX EISAEISA BIT3BIT3

HPHP HP9000HP9000 HP-RTHP-RT VMEbusVMEbus onboardonboard

SGISGI IRISIRIS IRIXIRIX VMEbusVMEbus onboardonboard

44

NOVA buffer managerNOVA buffer managerNNew ew OOnline nline VVME-based data ME-based data AAcquisition cquisition systemsystem

55

ProcessesProcesses NOVANOVA

New Online VME-based data Acquisition systemNew Online VME-based data Acquisition system Manage event buffer (across the network)Manage event buffer (across the network) Should be running on every hosts as daemonShould be running on every hosts as daemon

collectorcollector Readout event data from electronicsReadout event data from electronics

recorderrecorder Record event data on disksRecord event data on disks

xpcxpc eXperimental Process ControleXperimental Process Control Monitor processes to be aliveMonitor processes to be alive Restart the dead process automaticallyRestart the dead process automatically

xpc checkerxpc checker Monitor xpc process, and restart if deadMonitor xpc process, and restart if dead

run controllerrun controller Generate commands to processesGenerate commands to processes

operatoroperator User interface to control data takingUser interface to control data taking

logbooklogbook Record logRecord log

analyzeranalyzer Fetch data from buffer, analyze and put the resultant histograms in PAW global memoryFetch data from buffer, analyze and put the resultant histograms in PAW global memory

dataviewdataview Display data recordsDisplay data records

66

Interaction of the processes Interaction of the processes

77

Status toolkitStatus toolkit

monitor the status of processes monitor the status of processes distributed on the networkdistributed on the network

88

Example of a scrExample of a script to start UniDipt to start UniD

AQAQ

99

Operator WindowOperator Window GUI to control data taking based on Tcl/TkGUI to control data taking based on Tcl/Tk If Tcl/Tk is unavailable, 4 separated windows based on vanilla X is available If Tcl/Tk is unavailable, 4 separated windows based on vanilla X is available

1010

Record TypeRecord Type Event Data RecordEvent Data Record

Event data for each data-taking cycleEvent data for each data-taking cycle Begin, Pause, Resume and End RecordBegin, Pause, Resume and End Record

Record only when the run state changesRecord only when the run state changes Information about run parameter, time, etc. Information about run parameter, time, etc.

1111

Distributed EnvironmentDistributed Environment

1212

SummarySummary

UniDAQ is unix-based data acquisition systUniDAQ is unix-based data acquisition systemem

Linux and the other UNIX OS are supportedLinux and the other UNIX OS are supported Processes can distribute on the networkProcesses can distribute on the network

Event data buffer managed by NOVAEvent data buffer managed by NOVA Multiple collector processes can be impleMultiple collector processes can be imple

mentedmented The user should prepare the Event BuilderThe user should prepare the Event Builder

top related