A detector module for use in an imaging system is provided. The detector comprises at least one sensor array configured for receiving X-ray signals and converting the X-ray signals to corresponding electrical signals, at least one electronic device configured for converting the electrical signals to a corresponding digital signal and a switching circuit coupling the sensor array and the electronic device, wherein the switching circuit is configured for routing the electrical signals from the sensor array to the electronic device.