DRS4 Forum
  DRS4 Discussion Forum  Not logged in ELOG logo
Entry  Tue Oct 26 10:41:46 2021, Mehrpad Monajem, External trigger and drs_exam 
    Reply  Tue Oct 26 12:00:51 2021, Stefan Ritt, External trigger and drs_exam 
       Reply  Tue Oct 26 15:05:18 2021, Mehrpad Monajem, External trigger and drs_exam 
Message ID: 844     Entry time: Tue Oct 26 12:00:51 2021     In reply to: 843     Reply to this: 846
Author: Stefan Ritt 
Subject: External trigger and drs_exam 

1. Why should your waveform start from 0 to 5ns? I don't get your point. Whenever you trigger a readout, you get a 200ns wide time window, and by definition it starts at zero.

2. In the software distribution you have a drs_exam_2048.cpp program. Note that your board needs to be physically modified before delivery to switch to 2048 bins.

Best,
Stefan

Mehrpad Monajem wrote:

Hi Stefan,


I have two problems regarding using the drs_exam file with external trigger:


1- I connected a 200Khz signal with 20ns rising edge, 50 ohm load, and 27% duty cycle as an external trigger. The output of the drs_exam file starts from 0 to 200ns. Since I use an external trigger, I think it should be starting from 0 to 5ns and then again starting from 0. Could you please tell me where the problem is?

2- How is it possible to change from 1024 to 2048 bins in the drs_exam example?

 

You can find my code in the attachment.

Best regards,
Mehrpad

 

ELOG V3.1.4-80633ba