SerNrDateCPLD_verCPLD_DateModeOptPower[uW]Ioff[A]Iasd[A]Irst[A]Icnf[A]Ibias[mA]Imod[mA]Imon[uA]Temp[C]Result\n"; } Function print_table_ori($sortpar, $oriid){ include 'dbconfig.php.inc'; $sorting = " ORDER BY ".$sortpar; if ($oriid == 'all') $query = "SELECT * FROM ori_test".$sorting; // 123 else $query = "SELECT * FROM ori_test WHERE SerNr=$oriid".$sorting; // 123 $result = pg_query($query) or die ("
dbases/test/print_table_ori.php.inc - ERROR : Couldn't execute query."); $num = pg_num_rows($result); if ( $num != 0 ){ print "
"; print "\n"; print_names(); $idx = 0; $bad = 0; $good = 0; $good_spare = 0; $good_apc = 0; $good_cc = 0; $strange = 0; while ($row = pg_fetch_array($result)){ extract($row); print ""; if ($eep_0 == 150) print""; else print""; print"\n"; $idx = $idx + 1; if (($idx & 0x1F) == 0) print_names(); } print "
$sernr$date$cpld_ver$cpld_dateccapc$opmean$ioff$iasd$irst$icnf$ibias_setn$imod_setn$imond_ua$temp_c$remark
\n
$num ORI(s) found. "; print "Of them $good good ($good_apc apc mode, $good_cc cc mode), $good_spare of the good ones for spare, $strange with warnings and $bad bad.
"; print "The spares and the boards with warnings are fully operational, just have some larger deviations in the parameters or were used for special tests.
"; print "
Short help:
"; print "Date - yymmdd: year, month, day of the test
"; print "CPLD_ver - version of the CPLD design, which can be read
"; print "CPLD_Date - yymmdd: year, month, day of the CPLD design
"; print "Mode - apc (auto-power-control) or cc (current control)
"; print "OptPower[uW] - Optical power in uW, in cc mode should be around 200
"; print "Ioff[A] - current in off state
"; print "Iasd[A] - current when the LTC and TLK chips are off
"; print "Irst[A] - current after reset, the TRAP strobe acts as clock, ORI sends continuously data
"; print "Icnf[A] - current after configuration
"; print "Ibias[mA] - bias current of the laser diode
"; print "Imod[mA] - modulation current of the laser diode
"; print "Imon[uA] - monitor current in the feedback diode
"; print "Temp[C] - temperature in C in the LTC chip
"; print "
Some remarks:
"; print "1) The boards from 1 to about 349 were tested without automatic current/voltage control and without readback from the LTC chip.
"; print "The current consumption of the boards was still checked to be within the normal range.
"; print "The mode of operation of the LTC chip there was auto-power-control, all ORIs had the same configuration
"; print "2) The monitor current is set in apc mode and measured in cc mode.
"; print "
For more details for a particular ORI click on the SerNr!

"; print "Back"; } else { print "
No ORIs found.
Back"; } pg_close(); } ?>