diff --git a/src/hardware.jl b/src/hardware.jl
index 7e84c2153ac2dc8cb84a1107f08b126be3688d7a..d7fa359020bcfc1ed21ddad2ab04c7adc28f0cf0 100644
--- a/src/hardware.jl
+++ b/src/hardware.jl
@@ -362,6 +362,7 @@ Create a `Detector` instance from an ASCII IO stream using the DATX specificatio
 """
 function read_datx(io::IO)
     comment_marker = [0x23, 0x23, 0x23, 0x23]
+    supported_versions = Set(5)
 
     comments = String[]
     while read(io, 4) == comment_marker