Skip to main content

RAW File Info

RawFileInfo, RawFileInfoPreamble, InstID, MethodFile

9. RawFileInfo

Primary index structure containing the date, controller configuration, and pointers to the data and run header regions. Immediately follows ASInfo.

OrderTypeFieldDescription
1RawFileInfoPreamblepreambleDate, addresses, controller info
2PascalStringWin32label_heading[1]Label heading for user_label[1] (typically "Study")
3PascalStringWin32label_heading[2]Label heading for user_label[2] (typically "Client")
4PascalStringWin32label_heading[3]Label heading for user_label[3] (typically "Laboratory")
5PascalStringWin32label_heading[4]Label heading for user_label[4] (typically "Company")
6PascalStringWin32label_heading[5]Label heading for user_label[5] (typically "Phone")
7PascalStringWin32unknown_textComputer name / machine identifier

9.1 Observed Values

The 6th string (unknown_text) consistently holds the computer hostname of the acquisition system (e.g. "OEII", "FUSION-PC", "PCW-VBCF-28", "ADMIN-PC", "THERMO-PC", "6RW3W52").


10. RawFileInfoPreamble

The binary-data portion of RawFileInfo containing the acquisition date and the critical data address and run header address pointers that navigate to the bulk of the file's content.

10.1 Common Fields (All Versions)

OffsetSizeTypeFieldDescription
0x004UInt32method_file_present1 if embedded method file exists
0x042UInt16yearAcquisition year
0x062UInt16monthMonth (1-12)
0x082UInt16day_of_weekDay of week (0=Sunday)
0x0A2UInt16dayDay of month (1-31)
0x0C2UInt16hourHour (0-23)
0x0E2UInt16minuteMinute (0-59)
0x102UInt16secondSecond (0-59)
0x122UInt16millisecondMillisecond (0-999)

Common size: 20 bytes

10.2 Version 66 Extended Fields

Relative OffsetSizeTypeFieldDescription
+0x004UInt32unknown_long[2]
+0x044UInt32data_addr_32Defunct 32-bit data address (always 0 in v66)
+0x084UInt32controller_n[1]Number of instrument controllers
+0x0C4UInt32controller_n[2]Duplicate of controller_n[1]
+0x104UInt32unknown_long[5]
+0x144UInt32unknown_long[6]
+0x184UInt32run_header_addr_32Defunct 32-bit run header address (always 0 in v66)
+0x1C760RawBytesunknown_area[1]Reserved/padding
+0x3148UInt64data_addrFile offset to scan data stream
+0x31C4UInt32unknown_long[7]
+0x3204UInt32unknown_long[8]
+0x3248UInt64run_header_addrFile offset to RunHeader
+0x32C4UInt32unknown_long[9]
+0x3304UInt32unknown_long[10]
+0x3348UInt64run_header_addr[2]Second RunHeader address (0 if only one controller)
+0x33C1008RawBytesunknown_area[2]Reserved/padding

Total preamble size (v66): 20 + 4 + 4 + 8 + 8 + 4 + 760 + 8 + 8 + 8 + 8 + 8 + 1008 = 1856 bytes

10.3 Version 57-63 (32-bit addresses)

In versions prior to 64, addresses are 32-bit and the preamble is smaller (804 bytes total including the 20-byte common part):

OffsetSizeTypeField
+0x004UInt32unknown_long[2]
+0x044UInt32data_addr
+0x084UInt32controller_n[1]
+0x0C4UInt32controller_n[2]
+0x104UInt32unknown_long[5]
+0x144UInt32unknown_long[6]
+0x184UInt32run_header_addr
+0x1C4UInt32unknown_long[7]
+0x204UInt32unknown_long[8]
+0x244UInt32run_header_addr[2]
+0x28744RawBytesunknown_area

10.4 Controller Count

The controller_n[1] and controller_n[2] fields are equal and indicate how many instrument data controllers stored data in this file. Observed values:

ValueMeaning
1Single controller (most common: one MS detector)
2Two controllers (e.g. MS + UV detector, or MS + PDA)
7Seven controllers (complex multi-detector setups)

When controller_n > 1, run_header_addr[2] points to the second RunHeader (for the second controller's data). Each controller has its own complete scan data stream and run header.


11. InstID

Instrument identification. One or more InstID structures follow RawFileInfo, one per controller.

OrderTypeFieldDescription
1UInt32unknown_long[1]
2UInt32unknown_long[2]
3UInt32unknown_long[3]If > 0, model[3] field is present
4PascalStringWin32model[1]Instrument model name (e.g. "LTQ Orbitrap Elite")
5PascalStringWin32model[2]Secondary model string
6*PascalStringWin32model[3]Conditional: only present if unknown_long[3] > 0
7PascalStringWin32serial_numberInstrument serial number
8PascalStringWin32software_versionAcquisition software version
9PascalStringWin32tag[1]Additional tag
10PascalStringWin32tag[2]Additional tag
11PascalStringWin32tag[3]Additional tag
12PascalStringWin32tag[4]Additional tag

12. MethodFile

An embedded OLE2/Compound Document Format (CDF) container holding the instrument method files used during acquisition. The OLE2 container may contain sub-streams for each instrument module (e.g. MS method, LC method, autosampler method).

Parsing the OLE2 container requires a separate OLE2/CDF decoder. The method file begins after the InstID structure(s) and extends to the data_addr offset.