UnfinalizedMeasurement Data Format
application/octet-stream
Magic Bytes
Offset: 0
56 43 50 43 48 30
The Unfinalized Measurement Data Format is a temporary file type generated by Vector Informatik software, such as CANape, during automotive data acquisition. It serves as an intermediate storage container for ECU measurement and calibration data before the file is finalized into the standard MDF4 specification. These files typically exist only while recording is in progress or if a session is interrupted unexpectedly, often requiring specific utility tools to close and validate the data structure.
Validation Code
How to validate .mf4 files in Python
Python
def is_mf4(file_path: str) -> bool:
"""Check if file is a valid MF4 by magic bytes."""
signature = bytes([0x56, 0x43, 0x50, 0x43, 0x48, 0x30])
with open(file_path, "rb") as f:
return f.read(6) == signature
How to validate .mf4 files in Node.js
Node.js
function isMF4(buffer: Buffer): boolean {
const signature = Buffer.from([0x56, 0x43, 0x50, 0x43, 0x48, 0x30]);
return buffer.subarray(0, 6).equals(signature);
}
Go
func IsMF4(data []byte) bool {
signature := []byte{0x56, 0x43, 0x50, 0x43, 0x48, 0x30}
if len(data) < 6 {
return false
}
return bytes.Equal(data[:6], signature)
}
API Endpoint
GET
/api/v1/mf4
curl https://filesignature.org/api/v1/mf4