mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-19 16:27:13 +02:00
Dev/document json ctb file format (#1029)
* docs receiver formats rewrite * added documentation for all the receiver files, updated release notes, udpated help in commands help for timing, fixed by throwing exception for aa dividy by 0 error caused by not freeing memory (detsize) when switching between 1d and 2d detectors, removed unnecessary 'recevier up' printout, fixed dbit list 64 bit mask error in master json file (was not 64 bit before), fixed bug in reading gotthard1 data (needs to be tested) * generating commands help and formatting, also fix help for trimen command line * added ctb frame format documentation, added some links to some commands, added documentation about adding expat-devel in installation for rhel8 gui, fixed some indentation issues that screwed up command line help documentation * added ctb frame format documentation * updated documentation about zeromq-devel for <8.0.0 versions
This commit is contained in:
@ -250,8 +250,7 @@ void Caller::EmptyDataCallBack(detectorData *data, uint64_t frameIndex,
|
||||
std::string Caller::acquire(int action) {
|
||||
std::ostringstream os;
|
||||
if (action == defs::HELP_ACTION) {
|
||||
os << cmd
|
||||
<< "\n\tAcquire the number of frames set up.\n\tBlocking command, "
|
||||
os << "\n\tAcquire the number of frames set up.\n\tBlocking command, "
|
||||
"where control server is blocked and cannot accept other "
|
||||
"commands until acquisition is done. \n\t- sets acquiring "
|
||||
"flag\n\t- starts the receiver listener (if enabled)\n\t- starts "
|
||||
@ -371,7 +370,8 @@ std::string Caller::threshold(int action) {
|
||||
if (cmd == "thresholdnotb") {
|
||||
os << "Trimbits are not loaded.";
|
||||
}
|
||||
os << "\n\nthreshold [eV1] [eV2] [eV3] [(optional settings)]"
|
||||
os << "\n\t" << cmd
|
||||
<< " [eV1] [eV2] [eV3] [(optional settings)]"
|
||||
"\n\t[Mythen3] Threshold in eV for each counter. It loads trim "
|
||||
"files from settingspath. An energy of -1 will pick up values "
|
||||
" from detector.";
|
||||
@ -447,10 +447,9 @@ std::string Caller::trimen(int action) {
|
||||
std::ostringstream os;
|
||||
if (action == defs::HELP_ACTION) {
|
||||
os << "[trim_ev1] [trim_Ev2 (optional)] [trim_ev3 (optional)] "
|
||||
"...\n\t[Eiger][Mythen3] Number of trim energies and list of "
|
||||
"trim "
|
||||
"energies, where corresponding default trim files exist in "
|
||||
"corresponding trim folders."
|
||||
"...\n\t[Eiger][Mythen3] list of trim energies, where "
|
||||
"corresponding default trim files exist in corresponding trim "
|
||||
"folders."
|
||||
<< '\n';
|
||||
} else if (action == defs::GET_ACTION) {
|
||||
if (!args.empty()) {
|
||||
|
Reference in New Issue
Block a user