DRS4 Forum
  DRS4 Discussion Forum, Page 34 of 45  Not logged in ELOG logo
IDup Date Author Subject Text Attachments
  675   Mon Mar 19 16:22:42 2018 Stefan RittROI The DRS4 has an internal storage of 1024
capacitors. They work as a ring buffer, so
at 5GSPS you can store 200ns wide signals.
  
  676   Thu Mar 22 14:36:01 2018 Phan Van ChuanRead the CalibrateWaveformHelo
I'm building an application for
reading waveforms from the DRS4 board to
  
  677   Fri Mar 23 09:39:55 2018 Stefan RittRead the CalibrateWaveformYou don't have to read and calibrate
the waveforms in your user code, but can
rely on the DRS.cpp library to do that. Just
  
  678   Fri Apr 13 18:14:07 2018 Alessio BertiVoltage and Timing Calibration in drs_exam.cppHi,

we were trying to implement an
automatic way to calibrate our DRS4 both
  
  679   Mon Apr 16 21:21:29 2018 Sobimpe EniolaDRS4 read_binary.cpp Hello everyone, 

The new read_binary.cpp code 

I will be very glad if anyone can
  
  680   Tue Apr 17 13:28:23 2018 Stefan RittDRS4 read_binary.cpp On the software download page at https://www.psi.ch/drs/software-download
you find a link to all versions of the DRS
software, which is located at: https://www.dropbox.com/sh/clqo7ekr0ysbrip/AACoWJzrQAbf3WiBJHG89bGGa?dl=0
  
  681   Tue May 1 02:00:40 2018 Hyunseong KimDRS4 using drs_exam.cpp to save as binary filesHi, 

I would like to save the waveform
in a .dat binary file using drs_exam.cpp.
  
  682   Wed May 2 09:24:53 2018 Stefan RittDRS4 using drs_exam.cpp to save as binary filesYou have to write the C/C++ code yourself
to write data in binary or any other format.
All information is present after the waveform
  
  683   Wed May 2 10:44:17 2018 Alessio BertiPeak at 0 mV in tracesHi,

we modified drs_exam.cpp to read
all 4 channels from the DRS4 and apply directly
 zero_peak_after_spike_removal_ch1.pngzero_peak_after_spike_removal_ch2.pngzero_peak_after_spike_removal_ch3.pngzero_peak_after_spike_removal_ch4.pngzero_peak_after_spike_removal_offset_correction_ch2.png 
  684   Wed May 2 12:12:42 2018 Stefan RittPeak at 0 mV in tracesI note that your peak at zero is exactly
twice as high as the bins left and right,
so this looks to me like a binning problem
  
  685   Wed May 2 12:23:16 2018 Alessio BertiPeak at 0 mV in tracesHi,

thank you for the quick reply.
All the bins in the previous histograms have
 zero_peak_after_spike_removal_ch2_1000_bins.png 
  686   Fri May 4 11:35:20 2018 Stefan RittPeak at 0 mV in tracesI tried the following:

- trigger on a 10 MHz sine wave
on CH0, CH1 was open
 Screen_Shot_2018-05-04_at_11.36.24_.png 
  687   Fri May 4 11:56:08 2018 Stefan RittVoltage and Timing Calibration in drs_exam.cppHave you set the sampling frequency 

b->SetFrequency(5, true);

before the calibration?
  
  688   Fri May 4 12:11:57 2018 Stefan RittRunning drs_example.cppAnd here is the second part of your answer:
When you change the input range, you have
to redo the voltage calibration. Best is
  
  689   Sun May 6 08:13:37 2018 chen wenjunconfusion about the description in drs.cppHi Stefan:

  I'm still confused that
althought the 8 bits buffer is enough,the
  
  690   Sun May 6 11:45:09 2018 Stefan Rittconfusion about the description in drs.cppThe locbus_addr is indeed 32 bits wide,
since the firmware was originally derived
from some firmware running in a VME crate,
  
  691   Tue May 8 12:15:54 2018 Alessio BertiPeak at 0 mV in tracesHi Stefan,

following your example, we tried
to perform the same measurement, using drs_exam
 20180508_drs4_drs_exam_1000_events_81_bins_linear.png20180508_drs4_drs_exam_1000_events_81_bins_log.png20180508_drs4_drs_exam_1000_events_23_bins_linear.png20180508_drs4_drs_exam_1000_events_23_bins_log.png 
  692   Tue May 8 14:43:03 2018 Stefan RittPeak at 0 mV in tracesThe DRS chip is read out with a 12 bit
ADC, thus the phyical resolution is roughly
1V/4096 = 0.24 mV. I say roughly since the
  
  693   Tue May 8 23:58:35 2018 Sean QuinnManual Rev5.1 Figure 1, optional componentsDear All,

 

I'm troubleshooting a board
  
  694   Wed May 9 09:03:52 2018 Stefan RittManual Rev5.1 Figure 1, optional componentsI updated the picture in the manual with
a current picture of a Rev5.1 board, and
also added a picture of the bottom side.
  
ELOG V3.1.5-2eba886