mythen_put hostname mcs1x00 mythen_get nmod mythen_get drYou should also tell the program where to find the default trimbits files and calibration files:
mythen_put trimdir /scratch/trimbits mythen_get caldir /scratch/calibrationTo chose the detector settings (e.g. standard):
mythen_put settings standardIn case
mythen_get settings
does not answer correctly, it most probably means that there is a problem in the architecture or setting of trimdir and caldir (see section 1.6).
mythen_put outdir /scratch mythen_put fname run mythen_put index 0this way your files will al be named /scracth/run_i.dat where is starts from 0 and is automatically incremented.
You will then need to setup the detector threshold and settings, the exposure time, the number of real time frames and eventually how many real time frames should be acquired:
mythen_put settings standard mythen_put threshold 6000 mythen_put exptime 1. mythen_put frames 10In this case 10 consecutive 1s frames will be acquired. External gating and triggering or more advanced acquisition modes are not explained here.
mythen_acquire 0This is particulary indicated for fast real time acquisitions.
If you want to acquire few long frames you can run:
mythen_put status startand the poll the detector status using
mythen_get statusif the answer is either transmitting or finished, the data are ready to be downloaded from the detector. This can be done using either:
mythen_get framewhere a single data frame is downloaded or
mythen_get datawhere all data present on the detector are downloaded. This is not indicated when many short real time frames should be acquired since the detector memory would be full before finishing the acquisition since the download time is so limited.
mythen_put flatield myflatfield.raw mythen_put ratecorr -1
Concerning the angular conversion, it is very reccomended that the users edit the file usersFunctions.cpp contained in the folder slsDetectorSoftware/usersFunctions. In the file it is possible to modify the function used for calculating the angular conversion and the ones used for interfacing with the diffractometer equipment i.e. reading the encoder fo the detector position, the ionization chanmbers etc.
It is also possible to configure some scans/scripts to be executed during the acquisition. They will be normally called as system calls except for threshold, energy and trimbits scans.
Possible arguments are: