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

@ -556,7 +556,7 @@ settingspath:
arg_types: [ special::path ]
fpath:
help: "[path]\n\tDirectory where output data files are written in receiver. Default is '/'. \n\tIf path does not exist, it will try to create it."
help: "[path]\n\tDirectory where output data files are written in receiver. Default is '/'. \n\tIf path does not exist and fwrite enabled, it will try to create it at start of acquisition."
inherit_actions: STRING_COMMAND
actions:
GET:
@ -985,7 +985,7 @@ findex:
input_types: [ uint64_t ]
fwrite:
help: "[0, 1]\n\tEnable or disable receiver file write. Default is 1."
help: "[0, 1]\n\tEnable or disable receiver file write. Default is 0."
inherit_actions: INTEGER_COMMAND_VEC_ID
actions:
GET:

View File

@ -3908,7 +3908,8 @@ fpath:
command_name: fpath
function_alias: fpath
help: "[path]\n\tDirectory where output data files are written in receiver. Default\
\ is '/'. \n\tIf path does not exist, it will try to create it."
\ is '/'. \n\tIf path does not exist and fwrite enabled, it will try to create\
\ it at start of acquisition."
infer_action: true
template: true
framecounter:
@ -4101,7 +4102,7 @@ fwrite:
store_result_in_t: false
command_name: fwrite
function_alias: fwrite
help: "[0, 1]\n\tEnable or disable receiver file write. Default is 1."
help: "[0, 1]\n\tEnable or disable receiver file write. Default is 0."
infer_action: true
template: true
gaincaps: