## page was renamed from DataFormatHrb = HRB Raw Data Format 2.0 = Previous version: [[MStreamHRB_1_0|M-Stream HRB Raw Data Format 1.0]] Hardware: [[HRB6ASD]] ||54 53 50 2A ...|| || || || ||[[M-Link Data Layer|M-Link Header]]||[[MStream_2_0|M-Stream Header]]||HRB Data||[[M-Link Data Layer|CRC]]|| HRB payload data is encapsulated in [[MStream_2_0|M-Stream 2.0]] protocol using Data Subtype 0. === Subtype 0 User Payload === ||32-bit word #||Contents|| ||0||Device serial ID|| ||1||Exact trigger position (27:24) and event number (23:0)|| ||2||Timestamp (low bits)|| ||3||Timestamp (high bits)|| ||4..7||sample 0: 128 bits|| ||8..11||sample 1: 128 bits|| ||..N-1||sample N/4-2: 128 bits|| ||<-32 rowclass="bits">M-Stream Header|| ||word #||byte offset||bits||description|| ||<:|4>0||<:|4>0||31:24||[[DeviceId|Device ID]]|| ||23:18||Flags|| ||17:16||Subtype (0)|| ||15:0||Fragment length, 4*(N-2)|| ||<:|2>1||<:|2>4||31:24||Fragment ID|| ||23:0||Fragment offset (bytes)|| ||<-32 rowclass="bits">M-Stream Subtype 0, first fragment|| ||<:>2||<:>8||31:0||Device Serial|| ||<:|3>3||<:|3>12||31:28||reserved|| ||27:24||trig_pos|| ||23:0||Event number|| ||<:>4||<:>16||31:0||Trig timestamp seconds|| ||<:>5||<:>20||31:0||Trig timestamp nanoseconds|| ||<:>6||<:>24||31:0||<|3>HRB Raw Hits|| ||<:-3>...|| ||<:>N-1||<:>4*(N-1)||31:0|| ||<-32 rowclass="bits">M-Stream Subtype 0, next fragments|| ||<:>2||<:>8||31:0||<|3>HRB Raw Hits|| ||<:-3>...|| ||<:>N-1||<:>4*(N-1)||31:0|| == HRB Raw Hits == ||word #||byte offset||bits||description|| ||0||0||32||window 0, bits [31:0]|| ||1||4||32||window 0, bits [63:32]|| ||2||8||32||window 0, bits [95:64]|| ||3||12||32||window 0, bits [127:96]|| ||4||16||32||window 1, bits [31:0]|| ||5||20||32||window 1, bits [63:32]|| ||6||24||32||window 1, bits [95:64]|| ||7||28||32||window 1, bits [127:96]|| ||<:-4>...|| == HRB6ASD Notes == Maximum number of samples (N) is limited by Ethernet MTU since HWIP does not support IP fragmentation. With MTU=1496 maximum number of samples is 88. ---- [[CategoryHrb|HRB]] [[CategoryRawData|RawData]] [[CategoryMStream|MStream]]