00001 package DisplayGUI;
00006 public interface TestDataInfo {
00007
00008 static final String[] testNames = {"ResetTest","RedundancyTest","FullBypassTest","PipelineTest",
00009 "StrobeDelayTest","3PtGainTest","TrimRangeTest","NPtGainTest","NoiseOccupancyTest","TimeWalkTest","LongTermTest","IVScanTest","NMaskTest", "RxThresholdTest", "RxThresholdBasedOnConfigRegisterTest", "RxDelayTest","TxCurrentTest", "DefaultTest"};
00010 static final String[] testMenuNames = {
00011 "Reset","Redundancy","FullByPass","Pipeline",
00012 "StrobeDelay","3PtGain","Trim","NPtGain","Noise","TimeWalk","LongTerm","IVscan","NMask",
00013 "RxThreshold", "RxThresholdFromConfigReg", "RxDelay", "TxCurrent","DefaultTest"};
00014
00015 static final String[] resultFileKeyNames = {
00016 "","",
00017 "FullBypassTest","PipelineTest","StrobeDelay","ThreePointGain","Trim","ResponseCurve","NO","TimeWalkTest",
00018 "","DetModIV","NMaskTest", "RxThreshold", "RxThresholdBasedOnConfigRegisterTest", "RxDelay","TxCurrentTest","DefaultTest"};
00019
00020 static final int parameterOffset=4;
00021
00022 static final String[][] testParameters = {
00023 {},
00024 {},
00025 {"Result Status","Defect Count","#Bad Chans","DCS Conditions","Token","RToken","Token Comment","RToken Comment"},
00026 {"Result Status","Defect Count","#Bad Chans","DCS Conditions","Defective pipelines"},
00027 {"Result Status","Defect Count","#Bad Chans","DCS Conditions","Strobe Delay"},
00028 {"Result Status","Defect Count","#Bad Chans","DCS Conditions","VT50(mV)","VT50(mV) RMS","Gain (mV/fC)","Gain RMS","Offset (mV)","Offset RMS","Output Noise (mV)","Input Noise (enc)","Noise RMS (enc)","ChipSlope Noise","ChipSlope Offset","ChipSlope Gain"},
00029 {"Result Status","Defect Count","#Bad Chans","DCS Conditions","Trim Range","Target","N(untrimmed)","VT50(mV)","VT50(mV) RMS","Offset (mV)","Offset RMS","Step size (mV)","Step Size RMS"},
00030 {"Result Status","Defect Count","#Bad Chans","DCS Conditions","VT50(mV)","VT50(mV) RMS","Gain (mV/fC)","Gain RMS","Offset (mV)","Offset RMS","Output Noise (mV)","Input Noise (enc)","Noise RMS (enc)","ChipSlope Noise","ChipSlope Offset","ChipSlope Gain"},
00031 {"Result Status","Defect Count","#Bad Chans","DCS Conditions","Offset (mV)","Occupancy","RMS Occupancy","Input Noise (enc)","MaxBadness","NoThreshold"},
00032 {"Result Status","Defect Count","#Bad Chans","DCS Conditions","TimeWalk(ns)","TCal"},
00033 {},
00034 {},
00035 {"Result Status","Defect Count","#Bad Chans","DCS Conditions"},
00036 {"Result Status","Defect Count","#Bad Chans","DCS Conditions","Rx Threshold"},
00037 {"Result Status","Defect Count","#Bad Chans","DCS Conditions","Min Rx Threshold","Max Rx Threshold","Best Rx Threshold"},
00038 {"Result Status","Defect Count","#Bad Chans","DCS Conditions","Rx Delay"},
00039 {"Result Status","Defect Count","#Bad Chans","DCS Conditions","Min Tx Current","Max Tx Current","Best Tx Current"},
00040 {}
00041 };
00042 static final boolean[][] doComparisons = {
00043 {},
00044 {},
00045 {false,false,false,false,true,true,false,false},
00046 {false,false,false,false,true},
00047 {false,false,false,false,true},
00048 {false,false,false,false,false,false,true,false,false,false,false,true,false,false,false,false},
00049 {false,false,false,false,false,false,true,false,false,false,false,false,false},
00050 {false,false,false,false,false,false,true,false,false,false,false,true,false,false,false,false},
00051 {false,false,false,false,false,true,false,true,false,false},
00052 {false,false,false,false,true,false},
00053 {},
00054 {},
00055 {false,false,false,false},
00056 {false,false,false,false,false},
00057 {false,false,false,false,false,false,false,false},
00058 {false,false,false,false,false},
00059 {false,false,false,false,false,false,false,false},
00060 {}
00061 };
00062
00063 static final boolean[][] canBeZero = {
00064 {},
00065 {},
00066 {true,true,true,true,true,true,true,true},
00067 {true,true,true,true,true},
00068 {true,true,true,true,true},
00069 {true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true},
00070 {true,true,true,true,true,true,true,true,true,true,true,true,true},
00071 {true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true},
00072 {true,true,true,true,true,true,true,true,true,true},
00073 {true,true,true,true,true,true},
00074 {},
00075 {},
00076 {true,true,true,true},
00077 {true, true, true,true,true},
00078 {true, true, true,true,true,true,true,true},
00079 {true, true, true,true,true},
00080 {true, true, true,true,true,true,true,true},
00081 {}
00082 };
00083 public double[][] testDataTolerances = {
00084 {},
00085 {},
00086 {0.0,0.0,0.0,0.0,0.1,0.1,1.0,1.0},
00087 {0.0,0.0,0.0,0.0,1.0},
00088 {0.0,0.0,0.0,0.0,3.0},
00089 {0.0,0.0,0.0,0.0,50.0,5.0,10.0,1.0,5.0,3.0,2.0,150.0,50.0,1.0,1.0,1.0},
00090 {0.0,0.0,0.0,0.0,4.0,200.0,1.0,100.0,10.0,100.0,20.0,10.0,1.0},
00091 {0.0,0.0,0.0,0.0,50.0,5.0,10.0,1.0,5.0,3.0,2.0,150.0,50.0,1.0,1.0,1.0},
00092 {0.0,0.0,0.0,0.0,10.0,5e-5,5e-5,150.0,0.0,0.0},
00093 {0.0,0.0,0.0,0.0,0.5,0.5},
00094 {},
00095 {},
00096 {0.0, 0.0,0.0,0.0,},
00097 {0.0, 0.0,0.0, 0.0,3.0},
00098 {0.0, 0.0,0.0, 0.0,3.0,3.0,3.0,3.0},
00099 {0.0, 0.0,0.0, 0.0,3.0},
00100 {0.0, 0.0,0.0, 0.0,3.0,3.0,3.0,3.0},
00101 {}
00102 };
00103
00104 public final String[] chipOptions = {"Chip Maximum","Chip Minimum","Mean (Link0)","Mean (Link1)","Chip M0","Chip S1","Chip S2","Chip S3","Chip S4","Chip E5","Chip M8",
00105 "Chip S9","Chip S10","Chip S11","Chip S12","Chip E13"};
00106
00107 public final String[] linkOptions = {"Link 0","Link 1"};
00108
00109 public final String[] dcsOptions = {"Sensor HV(Volts)","Sensor Current(uA)","Hybrid T0(degC)","Hybrid T1(degC)","Chip VCC (Volts)","Chip ICC (mA)","Chip VDD (Volts)","Chip IDD (mA)","TDiff (degC)","Module Power (W)"};
00110
00111 public final String[] dcsParams = {"HVchVolt","HVchCurr","MOch_Tm0","MOch_Tm1","LVch_Vcc","LVch_Icc","LVch_Vdd","LVch_Idd"};
00112
00113
00114 public static final int TEST_RESET=0;
00115 public static final int TEST_REDUNDANCY=1;
00116 public static final int TEST_FULLBYPASS=2;
00117 public static final int TEST_PIPELINE=3;
00118 public static final int TEST_STROBEDELAY=4;
00119 public static final int TEST_3PTGAIN=5;
00120 public static final int TEST_TRIM=6;
00121 public static final int TEST_NPTGAIN=7;
00122 public static final int TEST_NOISE=8;
00123 public static final int TEST_TIMEWALK=9;
00124 public static final int TEST_LONGTERM=10;
00125 public static final int TEST_IV=11;
00126 public static final int TEST_NMASK=12;
00127 public static final int TEST_RXTHRESHOLD=13;
00128 public static final int TEST_RXTHRESHOLDBASEDONCONFIGREGISTER=14;
00129 public static final int TEST_RXDELAY=15;
00130 public static final int TEST_TXCURRENT=16;
00131 public static final int TEST_DEFAULT=17;
00132
00133 public final boolean[] testIsDefined = {false,false,true,true,true,true,true,true,true,true,false,false,true,true,true,true,true,false};
00134 public final boolean[] testIsSCTDAQ = {true,true,true,true,true,true,true,true,true,true,true,true,false,false,false,false,false,false};
00135
00136 }
00137