[Halld-level1] Pulse raw readout mode
Alexander Somov
somov at jlab.org
Thu Jan 26 12:25:34 EST 2012
Thanks what I am thinking, just want to confirm.
Cheers,
Alex
On Thu, 26 Jan 2012, Bryan Moffit wrote:
> Seems like you need NSB+NSA = even number... otherwise you lose a sample.
> Probably because the data is stored as 4 byte words?
>
> Try 10+16 or 11+15 if you must have at least 25 samples.
>
> On 01/26/2012 12:12 PM, Alexander Somov wrote:
>>
>> How are Nsa and Nsb implemented ?
>>
>> How many samples should I see for Nsb = 10 Nsa = 15
>> (10 + 15 = 25 or 10 - 1 + 15 -1 + 1 = 24 )?
>>
>> I see 24 samples in data.
>>
>> An example from the flash readout:
>>
>> 0xb1800013 0x00850087 0x00870086 0x00860084 0x00860089 0x008a0090
>> 0x00910088 0x00880085 0x008a0088 0x00820089 0x00840085 0x00870080
>> 0x008c0083 0xb380000e (new channel)
>>
>> 0xb1800013 - pulse raw, ch 3, first sample number 19 (i.e., middle of
>> the readout window)
>>
>> Thanks,
>> Alex
>>
>>
>>
>>
>>
>>
>> On Thu, 26 Jan 2012, Bryan Moffit wrote:
>>
>>> Translating the arguments for Hai and Ed:
>>>
>>> FA_SLOT: flash slot number
>>> 2: Raw Pulse Mode
>>> 170: Window Latency (in 4ns samples)
>>> 50: Window Width (in 4ns samples)
>>> 10: NSB
>>> 15: NSA
>>> 3: Number of pulses to process
>>> 0: Ignored on v2.0
>>>
>>>
>>> On 01/26/2012 11:47 AM, Alexander Somov wrote:
>>>> Hi Hai, Ed,
>>>>
>>>> Quick question:
>>>>
>>>> I initialize the board in the pulse raw data
>>>> faSetProcMode(FA_SLOT,2,170,50,10,15,3,0),
>>>>
>>>> i.e., Nsb = 10 Nsa = 15
>>>>
>>>> How many samples should i see in data ?
>>>> I am getting 24 samples for pulses that crosses a threshold
>>>> in the middle of the readout window. Is it correct ?
>>>>
>>>> Thanks,
>>>> Alex
>>>> _______________________________________________
>>>> Halld-level1 mailing list
>>>> Halld-level1 at jlab.org
>>>> https://mailman.jlab.org/mailman/listinfo/halld-level1
>>>
>>> --
>>>
>>> -------------------------------------------------------------------------------
>>>
>>> Bryan Moffit
>>> email: moffit at jlab.org
>>> web page: http://www.jlab.org/~moffit
>>>
>>> Sent from my Dell Precision T5500 running Linux.
>>>
>
> --
> -------------------------------------------------------------------------------
> Bryan Moffit
> email: moffit at jlab.org
> web page: http://www.jlab.org/~moffit
>
> Sent from my Dell Precision T5500 running Linux.
>
More information about the Halld-level1
mailing list