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", "RxDelayTest","DefaultTest"};
00010 static final String[] testMenuNames = {
00011 "Reset","Redundancy","FullByPass","Pipeline",
00012 "StrobeDelay","3PtGain","Trim","NPtGain","Noise","TimeWalk","LongTerm","IVscan","NMask",
00013 "RxThreshold", "RxDelay", "DefaultTest"};
00014
00015 static final String[] resultFileKeyNames = {
00016 "","",
00017 "FullBypassTest","PipelineTest","StrobeDelay","ThreePointGain","Trim","ResponseCurve","NO","TimeWalkTest",
00018 "","DetModIV","NMaskTest", "RxThreshold", "RxDelay","DefaultTest"};
00019
00020 static final String[][] testParameters = {
00021 {},
00022 {},
00023 {"Result Status","Defect Count","DCS Conditions","Token","RToken","Token Comment","RToken Comment"},
00024 {"Result Status","Defect Count","DCS Conditions","Defective pipelines"},
00025 {"Result Status","Defect Count","DCS Conditions","Strobe Delay"},
00026 {"Result Status","Defect Count","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)"},
00027 {"Result Status","Defect Count","DCS Conditions","Trim Range","Target","N(untrimmed)","VT50(mV)","VT50(mV) RMS","Offset (mV)","Offset RMS","Step size (mV)","Step Size RMS"},
00028 {"Result Status","Defect Count","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","DCS Conditions","Offset (mV)","Occupancy","RMS Occupancy","Input Noise (enc)"},
00030 {"Result Status","Defect Count","DCS Conditions","TimeWalk(ns)","TCal"},
00031 {},
00032 {},
00033 {"Result Status","Defect Count","DCS Conditions"},
00034 {"Result Status","Defect Count","DCS Conditions","Rx Threshold"},
00035 {"Result Status","Defect Count","DCS Conditions","Rx Delay"},
00036 {}
00037 };
00038 static final boolean[][] canBeZero = {
00039 {},
00040 {},
00041 {true,true,true,true,true,true,true},
00042 {true,true,true,true},
00043 {true,true,true,true},
00044 {true,true,true,true,true,true,true,true,true,true,true,true},
00045 {true,true,true,true,true,true,true,true,true,true,true,true},
00046 {true,true,true,true,true,true,true,true,true,true,true,true},
00047 {true,true,true,true,true,true,true},
00048 {true,true,true,true,true},
00049 {},
00050 {},
00051 {true,true,true},
00052 {true, true, true,true},
00053 {true, true, true,true},
00054 {}
00055 };
00056 public double[][] testDataTolerances = {
00057 {},
00058 {},
00059 {0.0,1.0,0.0,0.1,0.1,1.0,1.0},
00060 {0.0,1.0,0.0,1.0},
00061 {0.0,1.0,0.0,3.0},
00062 {0.0,1.0,0.0,50.0,5.0,10.0,1.0,5.0,3.0,2.0,200.0,50.0},
00063 {0.0,1.0,0.0,4.0,200.0,1.0,100.0,10.0,100.0,20.0,10.0,1.0},
00064 {0.0,1.0,0.0,50.0,5.0,10.0,1.0,5.0,3.0,2.0,200.0,50.0},
00065 {0.0,1.0,0.0,10.0,5e-5,5e-5,200.0},
00066 {0.0,1.0,0.0,0.5,0.5},
00067 {},
00068 {},
00069 {0.0, 1.0,0.0,},
00070 {0.0, 1.0, 0.0,3.0},
00071 {0.0, 1.0, 0.0,3.0},
00072 {}
00073 };
00074
00075 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",
00076 "Chip S9","Chip S10","Chip S11","Chip S12","Chip E13"};
00077
00078 public final String[] linkOptions = {"Link 0","Link 1"};
00079
00080 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)"};
00081
00082 public final String[] dcsParams = {"HVchVolt","HVchCurr","MOch_Tm0","MOch_Tm1","LVch_Vcc","LVch_Icc","LVch_Vdd","LVch_Idd"};
00083
00084
00085 public static final int TEST_RESET=0;
00086 public static final int TEST_REDUNDANCY=1;
00087 public static final int TEST_FULLBYPASS=2;
00088 public static final int TEST_PIPELINE=3;
00089 public static final int TEST_STROBEDELAY=4;
00090 public static final int TEST_3PTGAIN=5;
00091 public static final int TEST_TRIM=6;
00092 public static final int TEST_NPTGAIN=7;
00093 public static final int TEST_NOISE=8;
00094 public static final int TEST_TIMEWALK=9;
00095 public static final int TEST_LONGTERM=10;
00096 public static final int TEST_IV=11;
00097 public static final int TEST_NMASK=12;
00098 public static final int TEST_RXTHRESHOLD=13;
00099 public static final int TEST_RXDELAY=14;
00100 public static final int TEST_DEFAULT=15;
00101
00102 public final boolean[] testIsDefined = {false,false,true,true,true,true,true,true,true,true,false,false,true, true, true,false};
00103 public final boolean[] testIsSCTDAQ = {true,true,true,true,true,true,true,true,true,true,true,true,false,false,false,false};
00104
00105 }
00106