pub fn runner(
run_config: &Receiver<RunConfig>,
bs_sender: &Sender<Vec<u8>>,
dtf_to_evproc: &Sender<DataType>,
opmode_to_cache: &Sender<TofOperationMode>,
show_progress: bool,
settings: &RBSettings,
thread_control: Arc<Mutex<ThreadControl>>,
)
Expand description
Thread which controls run start/stop, deals with runconfigs and dis/enable triggers accordingly
ยงArguments
-
run_config : A channel over which we can pass a RunConfig. This will either initialize data taking or stop it.
-
prog_op_ev : An option for a progress bar which is helpful for debugging
-
force_trigger : Run in forced trigger mode