I'm writing the drs_exam.cpp to use multi-boards(v3, firmware:4.0.0), and taking data succeeded. But I have several questions about function written in DRS.cpp.
And the 100mV offset appeared(I attached a picture). I think this is due to the voltage calibration isn't done.(Calibrated to -0.5~0.5mV in DRS Oscilloscope)
If so, could you show me a simple usage of "CalibrationWaveform()" function in DRS.cpp? (or other function?)
2. Although this question might be the almost same with above, is there any way to execute voltage and timing calibration in drs_exam.cpp?
Now I start DAQ by executing drs_exam.cpp after I execute voltage and timing calibration to each board by DRS Oscilloscope program.
3. Which command is right to use external trigger?
b1->SetTriggerSource(4); or b1->SetTriggerSource(1<<4);
2. see 1.
3. For the V3 boards use b->SetTriggerSource(4), for V4 and V5 boards, use b->SetTriggerSource(1<<4). I had to change that because from V4 on we can have logical combinations between channels (like channel 1 AND channel 2).