Difference between revisions of "FA125 Data Format Aug 25, 2015"

From GlueXWiki
Jump to: navigation, search
(Created page with "= Location and Time = '''Room:''' CC F326 '''Time:''' 2pm. = Remote Connection = <div class="toccolours mw-collapsible mw-collapsed"> You can connect using [https://blueje...")
 
m (Text replacement - "http://argus.phys.uregina.ca/cgi-bin/private" to "https://halldweb.jlab.org/doc-private")
 
(11 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
= Location and Time =
 
= Location and Time =
  
'''Room:''' CC F326
+
'''Room:''' CC F326 ?
  
 
'''Time:''' 2pm.
 
'''Time:''' 2pm.
Line 38: Line 38:
 
* FADC125 Firmware status  
 
* FADC125 Firmware status  
 
* Driver library status
 
* Driver library status
* Catch up on format spec since last meeting
+
* Catch up on format spec changes since last meeting:
 
+
*# Removed combo data types
 +
*# Renumbered remaining data types (as 5,6,9) and added window raw data (4)
 +
*# Added combo modes (data types 5 or 6 followed by type 4)
 +
*# Replaced slot number with NPK in the header for data types 5,6,9
 +
*# For the CDC, NPK=1
 +
*# Added table to interpret times & quality codes
 +
*# Added PL to config parameters
  
 
== Useful Info ==
 
== Useful Info ==
* [http://argus.phys.uregina.ca/cgi-bin/private/DocDB/ShowDocument?docid=2274 fADC125 Data Format Specification Document in DocDB - version 6]  
+
[[File: FADC125_Format_v6.5.pdf|Latest format spec draft v 6.5]]
 +
 
 
* [[CDC_algo|Timing algorithm wiki page]]
 
* [[CDC_algo|Timing algorithm wiki page]]
 
* Older documents:
 
* Older documents:
** [[:File:FADC125_DataFormat_v5_06.pdf|Earlier version of format doc version 5.06, 23 June 2015]]
+
** [https://halldweb.jlab.org/doc-private/DocDB/ShowDocument?docid=2274 fADC125 Data Format Specification Document in DocDB - version 6]  
 
** [[:File:FADC125_dataformat_250_modes.docx|Data format for 250 modes on fADC125 from Cody, Aug 15 2014]]
 
** [[:File:FADC125_dataformat_250_modes.docx|Data format for 250 modes on fADC125 from Cody, Aug 15 2014]]
 
** [[:File:FADC250_modes_2.docx|FA250 modes 2 from Ed and Hai, Feb 18 2014]]
 
** [[:File:FADC250_modes_2.docx|FA250 modes 2 from Ed and Hai, Feb 18 2014]]
 
** [[:File:FADC250_V2_ADC_FPGA_V90D.docx|FIRMWARE for FADC250 Ver2 ADC FPGA, Sept 2014?]]
 
** [[:File:FADC250_V2_ADC_FPGA_V90D.docx|FIRMWARE for FADC250 Ver2 ADC FPGA, Sept 2014?]]
 
* For integral examples see [[FA125_Data_Format_July_7,_2015#Agenda]]
 
* For integral examples see [[FA125_Data_Format_July_7,_2015#Agenda]]
* For time error codes see [[FA125_Data_Format_July_7,_2015#Minutes]]
 
* For list of data types, see [[FA125_Data_Format_July_7,_2015#Agenda]]
 
* [[:File:FADC125_ADCmodes_v5_08.pdf|List of ADC modes (pdf)]]
 
  
 
=Minutes=
 
=Minutes=
Present: Naomi, Mike (CMU), David, Bryan, Cody, Lubomir, Beni (JLab)
+
Present: Naomi (CMU), Cody, Beni, David (JLab)
* FADC125 Firmware status - Cody has the short and long CDC modes working; with Beni he ran some tests to make sure that the output was as expected. The short mode ran at 120 kHZ with a random triggerNext they will try the long mode, and different configuration parameters.  
+
# FADC125 Firmware status  
* Driver library status - Bryan reported that the driver is ready, and available on his git repository as branch release-2.0.1This includes redefined arguments for fa125procmode and incorporates the new parameter names and functions for setting and retrieving timing thresholds and scaling factors, etc.  
+
## Cody has started testing the CDC combo mode using a pulser for input, shared the results with Naomi, and has a list of changes resulting from this
* Mode names: We decided to stick with the names CDC long/FDC short with amplitude, etc [[:File:FADC125_ADCmodes_v5_08.pdf|(See list)]] but will have to renumber some of the data types to maintain consistency between the new and old data. David emailed that data type numbers 5,6,9,11 and 12 are available as these have not been used for the FA125 (some were defined but not used).
+
##*pedestal ends with sample PED
* Catch up on format spec since last meeting
+
##* check all NW samples are output
** The field range for configuration parameters was unchanged.[[FA125_Data_Format_June_23,_2015#Proposed_field_range_for_configuration_parameters|(See table in June minutes)]]
+
##* add time of sample subset start *10 to LE_time
** The latest version of format spec includes diagrams 
+
## Also there are changes from the latest format spec (listed below) to implementHe will do this in simulation first.
** The configurable parameter NE is required in place of the hard-coded 6 to prevent the subset of samples required by the timing algorithm from extending past the end of the data window.  6 was sufficient for the number of samples NU=15 and threshold crossing sample X=9, but making NU configurable requires a configurable parameter (NE) in place of '6'.
+
## We decided to keep NE fixed at 20
** NPK>1 output should be removed from the CDC combo mode as we will not use it
+
## The restriction NPK=1 will be made in software, so that the firmware is left more flexible for future development, and more similar to the FDC version which will aid maintenance.
** An extra word containing NW and number of peaks found is needed for the long (combo) modes.  It was suggested either to add that word as the second word in the data format (before the peak data and before the raw samples), or to use the 250 data format for raw samples.  
+
## If a peak is flat-topped, the maximum amplitude sample should be the first sample at the top.
* Next meeting - to be decided, either Aug 25 at 2.30 or the following week at 1.30.
+
## Cody questioned the need for PL>=NW, he will look to see if this is really necessary
Postscript: Next meeting will be Tuesday Aug 25 at 2pm
+
# Driver library status
 +
## Naomi, Cody and Beni have all started using the software library. Cody used mode 6 to get the CDC combo mode output. The current version is for firmware 2.01 but Bryan also has the next version (for format 6.5) ready.   
 +
## Naomi requested a function fa125SetCommonTimingThreshold to set the same timing thresholds on all channels on one fadc.
 +
## Beni said he found that the first event read out was weird, not in the correct format.
 +
# Format spec changes since last meeting (latest version is 6.5):
 +
## Removed combo data types
 +
## Renumbered remaining data types (as 5,6,9) and added window raw data (4)  
 +
## Added combo modes (data types 5 or 6 followed by type 4)
 +
## Replaced slot number with NPK in the header for data types 5,6,9
 +
## For the CDC, NPK=1
 +
## Added table to interpret times & quality codes
 +
## Added PL to config parameters
 +
# All the 'check with Cody' explanatory points marked in the spec were clarified & will be added to the next version. These are all descriptions, with no changes to the format entailed.
 +
# Next meeting: 2pm Tues Sept 8th.

Latest revision as of 17:08, 24 February 2017

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)

  1. To join via Polycom room system go to the IP Address: 199.48.152.152 (bjn.vc) and enter the meeting ID: 589693655.
  2. To join via a Web Browser, go to the page [1] https://bluejeans.com/589693655.
  3. 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 (Aug 11, 2015)
  • FADC125 Firmware status
  • Driver library status
  • Catch up on format spec changes since last meeting:
    1. Removed combo data types
    2. Renumbered remaining data types (as 5,6,9) and added window raw data (4)
    3. Added combo modes (data types 5 or 6 followed by type 4)
    4. Replaced slot number with NPK in the header for data types 5,6,9
    5. For the CDC, NPK=1
    6. Added table to interpret times & quality codes
    7. Added PL to config parameters

Useful Info

File:FADC125 Format v6.5.pdf

Minutes

Present: Naomi (CMU), Cody, Beni, David (JLab)

  1. FADC125 Firmware status
    1. Cody has started testing the CDC combo mode using a pulser for input, shared the results with Naomi, and has a list of changes resulting from this
      • pedestal ends with sample PED
      • check all NW samples are output
      • add time of sample subset start *10 to LE_time
    2. Also there are changes from the latest format spec (listed below) to implement. He will do this in simulation first.
    3. We decided to keep NE fixed at 20
    4. The restriction NPK=1 will be made in software, so that the firmware is left more flexible for future development, and more similar to the FDC version which will aid maintenance.
    5. If a peak is flat-topped, the maximum amplitude sample should be the first sample at the top.
    6. Cody questioned the need for PL>=NW, he will look to see if this is really necessary
  2. Driver library status
    1. Naomi, Cody and Beni have all started using the software library. Cody used mode 6 to get the CDC combo mode output. The current version is for firmware 2.01 but Bryan also has the next version (for format 6.5) ready.
    2. Naomi requested a function fa125SetCommonTimingThreshold to set the same timing thresholds on all channels on one fadc.
    3. Beni said he found that the first event read out was weird, not in the correct format.
  3. Format spec changes since last meeting (latest version is 6.5):
    1. Removed combo data types
    2. Renumbered remaining data types (as 5,6,9) and added window raw data (4)
    3. Added combo modes (data types 5 or 6 followed by type 4)
    4. Replaced slot number with NPK in the header for data types 5,6,9
    5. For the CDC, NPK=1
    6. Added table to interpret times & quality codes
    7. Added PL to config parameters
  4. All the 'check with Cody' explanatory points marked in the spec were clarified & will be added to the next version. These are all descriptions, with no changes to the format entailed.
  5. Next meeting: 2pm Tues Sept 8th.