= MSC16V Raw Data Format =

Hardware: [[MSC16V]], [[MSC16VE]]

See also: [[VmeDaqRawdataFormat|VME DAQ Rawdata Format]]


||<-2 rowclass="bits">Data types||
||0||group 0 (ch 0-3)||
||1||group 1 (ch 4-7)||
||2||group 2 (ch 8-11)||
||3||group 3 (ch 12-15)||
||4||timestamp||
||5||spill hit counters||
||6|| reserved ||
||7|| reserved ||

== Normal spill data ==

||<-32 rowclass="bits">0 - input counters, channels 0-3||
||31||30||29||28||27||26||25||24||23||22||21||20||19||18||17||16||15||14||13||12||11||10||9||8||7||6||5||4||3||2||1||0||
||<:-4>0||<:-7>cnt3||<:-7>cnt2||<:-7>cnt1||<:-7>cnt0||

||<-32 rowclass="bits">1 - input counters, channels 4-7||
||31||30||29||28||27||26||25||24||23||22||21||20||19||18||17||16||15||14||13||12||11||10||9||8||7||6||5||4||3||2||1||0||
||<:-4>1||<:-7>cnt7||<:-7>cnt6||<:-7>cnt5||<:-7>cnt4||

||<-32 rowclass="bits">2 - input counters, channels 8-11||
||31||30||29||28||27||26||25||24||23||22||21||20||19||18||17||16||15||14||13||12||11||10||9||8||7||6||5||4||3||2||1||0||
||<:-4>2||<:-7>cnt11||<:-7>cnt10||<:-7>cnt9||<:-7>cnt8||

||<-32 rowclass="bits">3 - input counters, channels 12-15||
||31||30||29||28||27||26||25||24||23||22||21||20||19||18||17||16||15||14||13||12||11||10||9||8||7||6||5||4||3||2||1||0||
||<:-4>3||<:-7>cnt15||<:-7>cnt14||<:-7>cnt13||<:-7>cnt12||

||<-32 rowclass="bits">4 - timestamp||
||31||30||29||28||27||26||25||24||23||22||21||20||19||18||17||16||15||14||13||12||11||10||9||8||7||6||5||4||3||2||1||0||
||<:-4>4||<:-28>timestamp bits 27:0||

Timestamp frequency:
 . [[MSC16V]] - 83.3(3) MHz
 . [[MSC16VE]] - 125 MHz

== End of spill data ==

||<-32 rowclass="bits">5 - spill hit counters||
||31||30||29||28||27||26||25||24||23||22||21||20||19||18||17||16||15||14||13||12||11||10||9||8||7||6||5||4||3||2||1||0||
||<:-4>5||<:-28>28-bit counter, ch #0||
||<:-4>5||<:-28>28-bit counter, ch #1||
||<:-32>...||
||<:-4>5||<:-28>28-bit counter, ch #15||

----
[[CategoryRawData|RawData]] [[CategoryMSC|MSC]]