Index: /branches/sc_branches/ippMonitorLap/def/lapExposures.d
===================================================================
--- /branches/sc_branches/ippMonitorLap/def/lapExposures.d	(revision 31735)
+++ /branches/sc_branches/ippMonitorLap/def/lapExposures.d	(revision 31736)
@@ -1,3 +1,3 @@
-TABLE lapRun JOIN lapExp USING(lap_id) JOIN rawExp USING(exp_id,filter)
+TABLE lapRun JOIN lapExp USING(lap_id) JOIN rawExp USING(exp_id,filter) JOIN chipRun USING(lapExp.chip_id) JOIN chipRun AS pairRun USING(lapExp.pair_id)
 TITLE LAP Exposures
 FILE  lapExposures.php
@@ -13,4 +13,5 @@
 FIELD lapExp.exp_id,          6, %d,     Exp ID,	value, rawImfile.php, ARG1
 FIELD lapExp.chip_id,         6, %d,     Chip ID,	value, chipStageExp.php, ARG2
+FIELD chipRun.state,          6, %s,     State
 FIELD lapExp.pair_id,         6, %d,     Pair ID,	value, chipStageExp.php, ARG3
 FIELD lapRun.tess_id,         8, %s,     tess_id
