Difference between revisions of "FA125 Data Format July 7, 2015"
From GlueXWiki
(→Agenda) |
(→Agenda) |
||
Line 54: | Line 54: | ||
* [[:File:FADC125_ADCmodes_v5_08.pdf|ADC modes (pdf)]] | * [[:File:FADC125_ADCmodes_v5_08.pdf|ADC modes (pdf)]] | ||
* Integration starts with sample containing leading edge time | * Integration starts with sample containing leading edge time | ||
− | + | ::IE = end of integration, number of samples included, starting with pulse leading edge | |
− | IE = end of integration, number of samples included, starting with pulse leading edge | + | ::Leading edge sample is int(t/10.0) where t=time returned in units of sample/10. |
− | Leading edge sample is int(t/10.0) where t=time returned in units of sample/10. | + | ::The integral ends at the earlier of WE or leading edge + IE. |
− | The integral ends at the earlier of WE or leading edge + IE. | + | ::If int(time/10.0) <= WE-IE, then the number of samples in the integral is IE. |
− | If int(time/10.0) <= WE-IE, then the number of samples in the integral is IE. | + | ::If int(time/10.0) > WE-IE, then the number of samples in the integral is WE-int(time/10.0)+1. |
− | If int(time/10.0) > WE-IE, then the number of samples in the integral is WE-int(time/10.0)+1. | + | :: |
− | + | ::eg | |
− | eg | + | ::IE=14 WE=44 time=42.5, integral runs from samples 42 to 44 inclusive, 3 samples. |
− | IE=14 WE=44 time=42.5, integral runs from samples 42 to 44 inclusive, 3 samples. | + | ::IE=14 WE=44 time=22.5, integral runs from samples 22 to 22+14=36 inclusive, 15 samples. |
− | IE=14 WE=44 time=22.5, integral runs from samples 22 to 22+14=36 inclusive, 15 samples. | + | ::IE=14 WE=44 time=21.0, integral runs from samples 21 to 21+14=35 inclusive, 15 samples. |
− | IE=14 WE=44 time=21.0, integral runs from samples 21 to 21+14=35 inclusive, 15 samples. | + | :: |
− | + | ::IE=200 WE=100 time=42.5, integral runs from samples 42 to 100 inclusive, 59 samples. | |
− | IE=200 WE=100 time=42.5, integral runs from samples 42 to 100 inclusive, 59 samples. | + | ::IE=200 WE=100 time=99.0, integral runs from samples 99 to 100 inclusive, 2 samples. |
− | IE=200 WE=100 time=99.0, integral runs from samples 99 to 100 inclusive, 2 samples. | + | |
− | + | ||
* Time algorithm error conditions (overflow samples are now set to 4095 and then treated normally) | * Time algorithm error conditions (overflow samples are now set to 4095 and then treated normally) | ||
*#ADC value of 0 anywhere in NSAMPLES buffer: q=1, t=10*TC-RT | *#ADC value of 0 anywhere in NSAMPLES buffer: q=1, t=10*TC-RT | ||
*#ADC value > LIMIT_PED_MAX (511) in 0 to PED_SAMPLE: q=1, t=10*TC-RT | *#ADC value > LIMIT_PED_MAX (511) in 0 to PED_SAMPLE: q=1, t=10*TC-RT | ||
*#All ADC values in buffer < high timing threshold: q=1, t=10*TC-RT | *#All ADC values in buffer < high timing threshold: q=1, t=10*TC-RT | ||
− | *#Low timing threshold found | + | *#Low timing threshold found between samples TCL and TCL+1 but too late in buffer to upsample: q=1, t=10*TCL+5 |
− | *# | + | *#Low timing threshold found between samples TCL and TCL+1 but any upsampled value < 0: q=1, t=10*TCL+5 |
− | *#Low timing threshold not found in upsampled data: q=1, t=10*TCL+9 | + | *#Low timing threshold found between samples TCL and TCL+1 but not found in upsampled data: q=1, t=10*TCL+9 |
* Diagrams | * Diagrams |
Revision as of 09:24, 7 July 2015
Location and Time
Room: CC F326???
Time: 2pm.
Remote Connection
You can connect using BlueJeans using the meeting number 589 693 655 . (Click "Expand" to the right for more details -->):
(if problems, call phone in conference room: 757-269-6460 might not be the correct number)
- To join via Polycom room system go to the IP Address: 199.48.152.152 (bjn.vc) and enter the meeting ID: 589693655.
- To join via a Web Browser, go to the page [1] https://bluejeans.com/589693655.
- To join via phone, use one of the following numbers and the Conference ID: 589693655
- US or Canada: +1 408 740 7256 or
- US or Canada: +1 888 240 2560
More information on connecting to bluejeans is here
Specific instructions for connecting via polycom:
- Turn polycom on if necessary
- With the polycom, place a call at 199.48.152.152
- Press # to enable the polycom keypad, then enter the meeting id: 589693655 and #
- You may have to unmute the microphone: #*4
- Turn the computer on if needed
Agenda
- Previous meeting (June 23, 2015)
- Status of FADC125 Firmware
- Proposed field range for configuration parameters - from email and last week's minutes
- Data type list
- 0: block header
- 1: block trailer
- 2: event header
- 3: trigger time
- 4: pulse data, CDC format
- 5: pulse data, FDC format (integral and time)
- 6: pulse data, FDC format (peak amplitude and time)
- 7: pulse data and raw samples, CDC format
- 8: pulse data and raw samples, FDC format
- 9 to 12: – unused –
- 13: event trailer (debug only)
- 14: data not valid (empty module)
- 15: filler (non-data) word
- ADC modes (pdf)
- Integration starts with sample containing leading edge time
- IE = end of integration, number of samples included, starting with pulse leading edge
- Leading edge sample is int(t/10.0) where t=time returned in units of sample/10.
- The integral ends at the earlier of WE or leading edge + IE.
- If int(time/10.0) <= WE-IE, then the number of samples in the integral is IE.
- If int(time/10.0) > WE-IE, then the number of samples in the integral is WE-int(time/10.0)+1.
- eg
- IE=14 WE=44 time=42.5, integral runs from samples 42 to 44 inclusive, 3 samples.
- IE=14 WE=44 time=22.5, integral runs from samples 22 to 22+14=36 inclusive, 15 samples.
- IE=14 WE=44 time=21.0, integral runs from samples 21 to 21+14=35 inclusive, 15 samples.
- IE=200 WE=100 time=42.5, integral runs from samples 42 to 100 inclusive, 59 samples.
- IE=200 WE=100 time=99.0, integral runs from samples 99 to 100 inclusive, 2 samples.
- Time algorithm error conditions (overflow samples are now set to 4095 and then treated normally)
- ADC value of 0 anywhere in NSAMPLES buffer: q=1, t=10*TC-RT
- ADC value > LIMIT_PED_MAX (511) in 0 to PED_SAMPLE: q=1, t=10*TC-RT
- All ADC values in buffer < high timing threshold: q=1, t=10*TC-RT
- Low timing threshold found between samples TCL and TCL+1 but too late in buffer to upsample: q=1, t=10*TCL+5
- Low timing threshold found between samples TCL and TCL+1 but any upsampled value < 0: q=1, t=10*TCL+5
- Low timing threshold found between samples TCL and TCL+1 but not found in upsampled data: q=1, t=10*TCL+9
- Diagrams
Useful Links
- Format doc version 5.06, 23 June 2015
- Timing algorithm wiki page - updated to include latest revisions
- fADC125 Data Format Specification Document in svn (old)
- Data format for 250 modes on fADC125 from Cody, Aug 15 2014
- FA250 modes 2 from Ed and Hai, Feb 18 2014
- FIRMWARE for FADC250 Ver2 ADC FPGA, Sept 2014?
- FDC_pulse_data_format
- CDC readout needs Garfield calcs
- CDC_run_985 CDC_run_970
- Version 5.03, 11 March 2015
- Ver 5.01 in svn, 17 Feb 2015