DRS4 Forum
  DRS4 Discussion Forum  Not logged in ELOG logo
Entry  Sun May 26 13:08:52 2013, tmiron alon,  
    Reply  Fri Jun 7 10:22:48 2013, Stefan Ritt,  
       Reply  Fri Jun 7 11:44:17 2013, tmiron alon, thank you 
       Reply  Mon Jun 10 14:09:13 2013, tmiron alon, add an average ability to the Scope 
          Reply  Mon Jun 10 16:24:21 2013, Stefan Ritt, add an average ability to the Scope 
             Reply  Thu Jul 4 08:32:11 2013, tmiron alon, add an average ability to the Scope 
                Reply  Thu Jul 4 08:54:25 2013, Stefan Ritt, add an average ability to the Scope 
                   Reply  Thu Jul 4 09:07:24 2013, tmiron alon, add an average ability to the Scope 
                      Reply  Thu Jul 4 09:17:31 2013, Stefan Ritt, add an average ability to the Scope 
                         Reply  Thu Jul 4 10:01:06 2013, tmiron alon, add an average ability to the Scope 
                            Reply  Thu Jul 4 10:14:32 2013, Stefan Ritt, add an average ability to the Scope 
                               Reply  Tue Jul 16 10:02:28 2013, tmiron alon, add an average ability to the Scope 
                                  Reply  Tue Jul 16 16:25:43 2013, Stefan Ritt, add an average ability to the Scope 
                                     Reply  Sun Jul 28 09:52:25 2013, tmiron alon, add an average ability to the Scope 
                                        Reply  Mon Jul 29 06:04:45 2013, Stefan Ritt, add an average ability to the Scope 
                                           Reply  Mon Aug 12 15:08:17 2013, tmiron alon, add an average ability to the Scope 
                                              Reply  Mon Aug 12 22:18:39 2013, Stefan Ritt, add an average ability to the Scope 
Message ID: 260     Entry time: Mon Jun 10 14:09:13 2013     In reply to: 258     Reply to this: 261
Author: tmiron alon 
Subject: add an average ability to the Scope 

Stefan Ritt wrote:

tmiron alon wrote:

Hallo,
I'm using DRS4 Evaluation Board Rev 4.0 and I'm trying to change the output of the samples to be an average of  #  measurements (1000 or even more)
during the process I have encountered some difficulties I hope you will be able to help me  with:

1. the DRS chip have 8 channels but the Evaluation board have only 4 channels. does the default mode of the DRS in the Evaluation Board is 1024 bins for each channel or 2048?

2. in the readout mode, does it samples all the 1024 bins waveform from a channel and then move to the next one, or after each bin it move to the next channel?

3. In the file "drs4_eval4_app.vhd", I have a problem finding the names of the signals that represents the registers bits which tell me what is the number of the bin (1-1024) the ADC is reading from the DRS, and the signals

that represents registers A0-A3. can you send me their names? 

 

4. In another matter- is the -0.5V to 0.5V is the  upper and lower  limit of the input (or just a working range), and if not what is the limit for AC?  is there a fuse on the board in case of overload from the input? (I didn't see  it in the User's Manual, but I didn't know if you will mention it there in case there is one).

thanks in advance and have a nice day,

Tmiron

1. All 8 channels are read out, but only 4 are displayed in the oscilloscope.

2. It reads all 1024 bins from a channel, then switch to the next channel.

3. The ADC readout happens in lines 1576+. The register for the sample count is drs_sample_count, and the signal for the address is drs_addr.

4. The evaluation board manual explicitly mentions the maximum allowed input range on page 5.

/Stefan 

 Hi Stefan,

I'm trying to add the averaging feature to the oscilloscope instead. I have a basic knowledge in C++ so I'm having problem finding the initial place (places) of the data acquisition. furthermore, I saw you already made an averaging possibility for some of the features in the program at the measure window.
Can you please tell we in which of the programs of the Scope (and in what line if possible) can I find the initial\main data acquisition so I could follow it from there, and where is the location of the averaging function you already made?

have a nice week,

Tmiron

ELOG V3.1.5-fe60aaf