H2M: Modifications in the printFrames() and getData()
Two changes are proposed:
- The possibility of providing an output file name in the
printFrames()
function. This is useful for doing scans for different settings, and saving the output in different files, without the need to read the name from the config file and fully configure the chip again. - To obtain the "acq_mode" using the
getRegister()
function, we need to be out of the acquisition stage. By settingsc_ctrl_mode = 0
, we ensure that we can read it, and then continue in the state we were before entering the "if".
What do you think @ffeindt ?