Index: trunk/ippMonitor/def/detInputExp.d
===================================================================
--- trunk/ippMonitor/def/detInputExp.d	(revision 13692)
+++ trunk/ippMonitor/def/detInputExp.d	(revision 13725)
@@ -1,6 +1,9 @@
-TABLE detInputExp
+TABLE detInputExp, rawExp
 TITLE detInputExp
 FILE  detInputExp.php
 MENU  ipp.detrend.dat
+
+# limit this table to non-OBJECT types of images
+WHERE detInputExp.exp_tag = rawExp.exp_tag
 
 ARGS  ARG1  rawImfile.exp_tag=$detInputExp.exp_tag
@@ -20,8 +23,18 @@
 #     field                  width 	name        show         link to                 extras
 FIELD detInputExp.det_id,    7,    	det_id
+FIELD detInputExp.iteration, 5,    	iteration
 FIELD detInputExp.exp_tag,   20,   	exposure,   value,       rawImfile.php,          ARG1
-FIELD detInputExp.iteration, 5,    	iteration
 FIELD detInputExp.include,   7,   	include
-FIELD *,                     5,    	choose,     value=resid, detResidImfile.php,     ARG2
-FIELD *,                     5,    	choose,     value=proc,  detProcessedImfile.php, ARG3
-
+FIELD rawExp.telescope,      10,   	Telescope
+FIELD rawExp.camera,         10,   	Camera
+FIELD rawExp.exp_type,       10,   	Type    
+FIELD rawExp.filter,         10,   	FILTER
+FIELD rawExp.dateobs,        20,   	Date/Time
+FIELD rawExp.exp_time,        5,   	exp_time    
+FIELD rawExp.sat_pixel_frac,  5,   	f(sat pixels)
+FIELD rawExp.airmass,         5,   	airmass     
+FIELD rawExp.bg,              5,   	backgnd
+FIELD rawExp.bg_stdev,        5,   	stdev    
+FIELD rawExp.bg_mean_stdev,   5,   	&lt;backgnd&gt;
+FIELD *,                      5,    	choose,     value=resid, detResidImfile.php,     ARG2
+FIELD *,                      5,    	choose,     value=proc,  detProcessedImfile.php, ARG3
Index: trunk/ippMonitor/def/detNormalizedImfile.d
===================================================================
--- trunk/ippMonitor/def/detNormalizedImfile.d	(revision 13692)
+++ trunk/ippMonitor/def/detNormalizedImfile.d	(revision 13725)
@@ -15,2 +15,3 @@
 
 TAIL PHP insert_image ('PPIMAGE.JPEG1');
+TAIL PHP insert_log ('LOG.EXP');
Index: trunk/ippMonitor/def/detRun.d
===================================================================
--- trunk/ippMonitor/def/detRun.d	(revision 13692)
+++ trunk/ippMonitor/def/detRun.d	(revision 13725)
@@ -35,2 +35,5 @@
 FIELD use_begin,    10,   use_begin  
 FIELD use_end,      10,   use_end    
+
+TD_CLASS list_off $state == 'drop'
+TD_CLASS list_run $state == 'run'
Index: trunk/ippMonitor/def/detRunSummary.d
===================================================================
--- trunk/ippMonitor/def/detRunSummary.d	(revision 13692)
+++ trunk/ippMonitor/def/detRunSummary.d	(revision 13725)
@@ -1,6 +1,8 @@
-TABLE detRunSummary
+TABLE detRunSummary, detRun
 TITLE detRunSummary
 FILE  detRunSummary.php
 MENU  ipp.detrend.dat
+
+WHERE detRunSummary.det_id = detRun.det_id
 
 ARGS  ARG1  detInputExp.det_id=$detRunSummary.det_id
@@ -19,4 +21,6 @@
 FIELD detRunSummary.bg,        20,    bg
 FIELD detRunSummary.bg_stdev,  20,    bg_stdev
+FIELD detRun.state,            20,    state,     none
 
-TD_CLASS list_off $detRunSummary.accept == 0
+TD_CLASS list_off $detRun.state == 'drop'
+TD_CLASS list_run $detRun.state == 'run'
Index: trunk/ippMonitor/def/rawDetrendExp_detrend.d
===================================================================
--- trunk/ippMonitor/def/rawDetrendExp_detrend.d	(revision 13692)
+++ trunk/ippMonitor/def/rawDetrendExp_detrend.d	(revision 13725)
@@ -1,5 +1,5 @@
 TABLE rawExp
 TITLE Raw Detrend Exposures
-FILE  rawDetrendExp.php
+FILE  rawDetrendExp_detrend.php
 MENU  ipp.detrend.dat
 
@@ -17,4 +17,5 @@
 FIELD    dateobs,     20,   Date/Time
 FIELD    exp_time,     5,   exp_time    
+FIELD    sat_pixel_frac, 5, f(sat pixels)
 FIELD    airmass,      5,   airmass     
 FIELD    bg,           5,   backgnd
