You have to write the C/C++ code yourself to write data in binary or any other format. All information is present after the waveform readout in drs_exam.cpp, so it's just a matter of proper write() functions. Please consult any C/C++ handbook on how to write to files.
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.