I would like to save the waveform in a .dat binary file using drs_exam.cpp.
I know the distributed software allows us to save as binary files with the save button, but I currently need to save multiple runs using a script.
I've seen that drs_exam.cpp can save the waveform as .txt files.
Is there any .cpp file or function that allows us to save the waveforms in binary format (.dat)?
Thank you for your help.