For the detector calibration, you'll have to record a number of scans on the STXM 5 microscope. In each case, make sure the microscope chamber is covered properly with the black cloth to make sure no ambient light can cause additional signals on the detector.
Then, center the detector over the pencil beam and record a detector scan. To include the whole detector, the field size must be greater than 1,200microns in both X and Y. The resulting scan will ideally look like in Fig. 15 if you look at the sum of all segments ("BF total").
Make sure you make good use of the detector's dynamic range by adjusting the dwell time and / or the slit settings such that the largest signal you measure in any segment is just below 6Volts. For that, in SM_GUI, set the Signal Type to "Raw Counts / mVolts", cycle through all segments, click on "Full Scale" and check the maximum (which is given in mVolts). Make sure none of the segments is in saturation!.
Remember the file names of the scans recorded above. As long as you have the files, you don't have to do the calibration on the microscope computer.