%@ LANGUAGE="VBScript" %>
Measurement Date | <%=Slog("Logdate")%> |
Measurement Type | <%=Slog("Measurement_type")%> |
Operator | <%=Slog("Operator")%> |
Operator's Comments | <%=Slog("Comments")%> |
There are no pinholes among <%=Cstr(npads)%> measured pads (">more details)
<% Else ' Prepare plot seed=-(second(now())+60*minute(now())+3600*hour(now())+3600*24*day(now())) filename="pin" & cstr(int(100000.*rnd(seed))) & ".jpg" filename_full=ph_image_directory & filename Dim Chart Dim Color(8) Color(0) = vbRed Color(1) = vbBlue Color(2) = vbYellow Color(3) = vbGreen Color(4)= vbMagenta Color(5)= vbCyan Color(6)= vbWhite Color(7)= vbBlack rem ********************************************************************** rem * Instantiate the Chart component rem ********************************************************************** Set Chart = Server.CreateObject ("ASPChart.Chart") rem ********************************************************************** rem * Create x Array rem ********************************************************************** Chart.AddSeries 5 Chart.SeriesTitle = " pinholes " Chart.LineWidth = 1 Chart.Stairs = true For i=0 to npads-1 dchan=nchip*bonding_pattern(i)+pad(i) if (Abs(leakage_current(i))<100) Then dpin=0 Else dpin=1 End If Chart.AddXY dchan, dpin, "",Color(1) Next rem ********************************************************************** rem * Add and format the title rem ********************************************************************** Chart.ChartTitleAdd ("Pinholes") Chart.ChartTitleFont.Size = 18 Chart.ChartTitleFont.Name = "Times New Roman" Chart.ChartTitleFont.Italic = true Chart.ChartTitleFont.Bold = true Chart.View3D = false Chart.LegendVisible = false Chart.LegendStyle = cSeries Chart.AxisGridLines = true Chart.Frame = false Chart.BottomAxisIncrement = nchip rem ********************************************************************** rem * Remove the OuterBevel, add a gradient fill to chart panel rem ********************************************************************** Chart.BevelOuter = 0 rem Chart.GradientVisible = true rem Chart.GradientStartColor = vbWhite rem Chart.GradientEndColor = vbYellow Chart.PanelColor = Color(6) rem ********************************************************************** rem * Set the Width and Height of the image rem ********************************************************************** Chart.Height = 300 Chart.Width = 600 Chart.HorizAxisMax = nchip*maxbp Chart.HorizAxisMin = 0. Chart.VertAxisMax = 2. Chart.VertAxisMin = 0. Chart.AddAxisLabel 1 , "Pinhole Yes/No" Chart.AddAxisLabel 2 , Cstr(nchip) & "*bonding_pattern+pad" rem ********************************************************************** rem * Set the filename, save the image and write the image tag rem ********************************************************************** Chart.FileName = filename_full Chart.SaveChart line="There are <% =Cstr(npins)%> pinholes out of <%=Cstr(npads)%> measured pads (">more details):
Bonding Pattern | Pad | Current at V<>0 |
<%=bonding_pattern(i)%> | <%=pad(i)%> | <%=abs(leakage_current(i))%> |