rx: moved creating fpath (if it doesnt exist) from setting file path to at the start of acquisition when creating file. This is done here so that it does not fail if fwrite is disabled anyway. Also fixed it in documentation. Changed in documentation that the default for fwrite is disabled (#957)

This commit is contained in:
2024-09-03 17:32:01 +02:00
committed by GitHub
parent 1d4a5d6d29
commit 782c8abd9a
6 changed files with 16 additions and 14 deletions

View File

@ -5115,7 +5115,7 @@ std::string Caller::fpath(int action) {
os << "Command: fpath" << std::endl;
os << R"V0G0N([path]
Directory where output data files are written in receiver. Default is '/'.
If path does not exist, it will try to create it. )V0G0N"
If path does not exist and fwrite enabled, it will try to create it at start of acquisition. )V0G0N"
<< std::endl;
return os.str();
}
@ -5372,7 +5372,7 @@ std::string Caller::fwrite(int action) {
if (action == slsDetectorDefs::HELP_ACTION) {
os << "Command: fwrite" << std::endl;
os << R"V0G0N([0, 1]
Enable or disable receiver file write. Default is 1. )V0G0N"
Enable or disable receiver file write. Default is 0. )V0G0N"
<< std::endl;
return os.str();
}