Abstract: We present here preliminary tests of Medisoft 4, a software procedure for the control and the readout of the single photon counting radiation imaging systems based on the Medipix2 chip ...