Index: trunk/ippMonitor/def/chipPendingImfile.d
===================================================================
--- trunk/ippMonitor/def/chipPendingImfile.d	(revision 15954)
+++ trunk/ippMonitor/def/chipPendingImfile.d	(revision 18340)
@@ -1,12 +1,31 @@
-TABLE chipPendingImfile
-TITLE chipPendingImfile
-FILE  chipPendingImfile.php
-MENU  ipp.imfiles.dat
+TABLE chipRun, rawExp
+TITLE Chip Pending Imfiles
+FILE  chipPendingExp.php
+MENU  ipp.science.dat
 
-#     field          size  format  name           show   link to     extras
-FIELD exp_id,	      5,   %s,     Exp ID
-FIELD class_id,       5,   %s,     Class ID
-FIELD uri,	      5,   %s,     URI
-FIELD recipe,	      5,   %s,     recipe
-FIELD guide_version,  5,   %s,     guide version
-FIELD chip_version,   5,   %s,     chip version
+# limit this table to non-OBJECT types of images
+WHERE chipRun.state = 'run'
+WHERE chipRun.exp_id = rawExp.exp_id
+
+ARGS  ARG1  exp_id=$chipRun.exp_id
+
+OP   OP1  $rawExp.ra * 57.295783
+OP   OP2  $rawExp.decl * 57.295783
+
+#     field                   size  format  name         show    link to         extras
+FIELD chipRun.exp_id,     	 5, %d,     Exp ID
+FIELD rawExp.exp_name,     	 5, %s,     Exp Name,    value,  rawImfile.php,  ARG1
+FIELD chipRun.chip_id,    	 7, %d,     chip ID
+FIELD chipRun.state,    	 7, %s,     state
+FIELD rawExp.telescope,      	10, %s,     Telescope
+FIELD rawExp.camera,         	10, %s,     Camera
+FIELD rawExp.dateobs,        	19, %T,     Date/Time
+FIELD rawExp.ra,       	         5, %10.6f, RA,          op=OP1    
+FIELD rawExp.decl,       	 5, %10.6f, DEC,         op=OP2
+FIELD rawExp.object,         	 8, %s,     Object
+FIELD rawExp.filter,         	10, %s,     FILTER
+FIELD rawExp.exp_time,       	 5, %.2f,   exp_time    
+FIELD rawExp.airmass,        	 5, %.4f,   airmass     
+FIELD rawExp.bg,             	 5, %.2f,   backgnd
+FIELD rawExp.bg_stdev,       	 5, %.2f,   stdev    
+FIELD rawExp.comment,  	        65, %s,     Comment
