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","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", "DefaultTest"};
00014
00015 static final String[] resultFileKeyNames = {
00016 "","",
00017 "FullBypassTest","PipelineTest","StrobeDelay","ThreePointGain","Trim","ResponseCurve","NO","TimeWalkTest",
00018 "","DetModIV","NMaskTest", "RxThreshold", "RxThresholdBasedOnConfigRegisterTest", "RxDelay","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)"},
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)"},
00031 {"Result Status","Defect Count","#Bad Chans","DCS Conditions","Offset (mV)","Occupancy","RMS Occupancy","Input Noise (enc)"},
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","Rx Threshold"},
00038 {"Result Status","Defect Count","#Bad Chans","DCS Conditions","Rx Delay"},
00039 {}
00040 };
00041 static final boolean[][] doComparisons = {
00042 {},
00043 {},
00044 {false,false,false,false,true,true,false,false},
00045 {false,false,false,false,true},
00046 {false,false,false,false,true},
00047 {false,false,false,false,false,false,true,false,false,false,false,true,false},
00048 {false,false,false,false,false,false,true,false,false,false,false,false,false},
00049 {false,false,false,false,false,false,true,false,false,false,false,true,false},
00050 {false,false,false,false,false,true,false,true},
00051 {false,false,false,false,true,false},
00052 {},
00053 {},
00054 {false,false,false,false},
00055 {false,false,false,false,false},
00056 {false,false,false,false,false},
00057 {false,false,false,false,false},
00058 {}
00059 };
00060
00061 static final boolean[][] canBeZero = {
00062 {},
00063 {},
00064 {true,true,true,true,true,true,true,true},
00065 {true,true,true,true,true},
00066 {true,true,true,true,true},
00067 {true,true,true,true,true,true,true,true,true,true,true,true,true},
00068 {true,true,true,true,true,true,true,true,true,true,true,true,true},
00069 {true,true,true,true,true,true,true,true,true,true,true,true,true},
00070 {true,true,true,true,true,true,true,true},
00071 {true,true,true,true,true,true},
00072 {},
00073 {},
00074 {true,true,true,true},
00075 {true, true, true,true,true},
00076 {true, true, true,true,true},
00077 {true, true, true,true,true},
00078 {}
00079 };
00080 public double[][] testDataTolerances = {
00081 {},
00082 {},
00083 {0.0,0.0,0.0,0.0,0.1,0.1,1.0,1.0},
00084 {0.0,0.0,0.0,0.0,1.0},
00085 {0.0,0.0,0.0,0.0,3.0},
00086 {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},
00087 {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},
00088 {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},
00089 {0.0,0.0,0.0,0.0,10.0,5e-5,5e-5,150.0},
00090 {0.0,0.0,0.0,0.0,0.5,0.5},
00091 {},
00092 {},
00093 {0.0, 0.0,0.0,0.0,},
00094 {0.0, 0.0,0.0, 0.0,3.0},
00095 {0.0, 0.0,0.0, 0.0,3.0},
00096 {0.0, 0.0,0.0, 0.0,3.0},
00097 {}
00098 };
00099
00100 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",
00101 "Chip S9","Chip S10","Chip S11","Chip S12","Chip E13"};
00102
00103 public final String[] linkOptions = {"Link 0","Link 1"};
00104
00105 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)"};
00106
00107 public final String[] dcsParams = {"HVchVolt","HVchCurr","MOch_Tm0","MOch_Tm1","LVch_Vcc","LVch_Icc","LVch_Vdd","LVch_Idd"};
00108
00109
00110 public static final int TEST_RESET=0;
00111 public static final int TEST_REDUNDANCY=1;
00112 public static final int TEST_FULLBYPASS=2;
00113 public static final int TEST_PIPELINE=3;
00114 public static final int TEST_STROBEDELAY=4;
00115 public static final int TEST_3PTGAIN=5;
00116 public static final int TEST_TRIM=6;
00117 public static final int TEST_NPTGAIN=7;
00118 public static final int TEST_NOISE=8;
00119 public static final int TEST_TIMEWALK=9;
00120 public static final int TEST_LONGTERM=10;
00121 public static final int TEST_IV=11;
00122 public static final int TEST_NMASK=12;
00123 public static final int TEST_RXTHRESHOLD=13;
00124 public static final int TEST_RXTHRESHOLDBASEDONCONFIGREGISTER=14;
00125 public static final int TEST_RXDELAY=15;
00126 public static final int TEST_DEFAULT=16;
00127
00128 public final boolean[] testIsDefined = {false,false,true,true,true,true,true,true,true,true,false,false,true,true,true,true,false};
00129 public final boolean[] testIsSCTDAQ = {true,true,true,true,true,true,true,true,true,true,true,true,false,false,false,false,false};
00130
00131 }
00132