Index: /trunk/ippMonitor/Makefile.in
===================================================================
--- /trunk/ippMonitor/Makefile.in	(revision 18372)
+++ /trunk/ippMonitor/Makefile.in	(revision 18373)
@@ -71,4 +71,5 @@
 $(DESTWWW)/newImfile.php \
 $(DESTWWW)/guidePendingExp.php \
+$(DESTWWW)/chipStageExp.php \
 $(DESTWWW)/chipPendingExp.php \
 $(DESTWWW)/chipPendingImfile.php \
@@ -76,4 +77,5 @@
 $(DESTWWW)/chipProcessedImfile.php \
 $(DESTWWW)/chipProcessedImfile_failure.php \
+$(DESTWWW)/camStageExp.php \
 $(DESTWWW)/camPendingExp.php \
 $(DESTWWW)/camProcessedExp.php \
Index: /trunk/ippMonitor/def/chipPendingExp.d
===================================================================
--- /trunk/ippMonitor/def/chipPendingExp.d	(revision 18372)
+++ /trunk/ippMonitor/def/chipPendingExp.d	(revision 18373)
@@ -17,4 +17,5 @@
 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
Index: /trunk/ippMonitor/def/chipProcessedExp.d
===================================================================
--- /trunk/ippMonitor/def/chipProcessedExp.d	(revision 18372)
+++ /trunk/ippMonitor/def/chipProcessedExp.d	(revision 18373)
@@ -5,5 +5,5 @@
 
 # limit this table to non-OBJECT types of images
-WHERE chipRun.state = 'stop'
+WHERE chipRun.state != 'run'
 WHERE chipRun.exp_id = rawExp.exp_id
 
@@ -18,4 +18,5 @@
 FIELD rawExp.exp_name,     	 5, %s,     Exp Name,    value,  chipProcessedImfile.php, ARG2
 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
@@ -23,10 +24,11 @@
 FIELD rawExp.ra,           	 8, %10.6f, RA,           op=OP1      
 FIELD rawExp.decl,         	 8, %10.6f, DEC,          op=OP2
-FIELD rawExp.object,         	10, %s,     Object
+FIELD rawExp.object,         	 8, %s,     Object
 FIELD rawExp.filter,         	10, %s,     FILTER
 FIELD rawExp.exp_time,       	 5, %.2f,     exp_time    
-FIELD rawExp.airmass,        	 5, %.2f,     airmass     
+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
 
 # FIELD rawExp.bg_mean_stdev,  	 5, %s,     &lt;backgnd&gt;
Index: /trunk/ippMonitor/def/chipProcessedImfile.d
===================================================================
--- /trunk/ippMonitor/def/chipProcessedImfile.d	(revision 18372)
+++ /trunk/ippMonitor/def/chipProcessedImfile.d	(revision 18373)
@@ -24,5 +24,6 @@
 FIELD rawExp.exp_name,     	   	  5, %s,     Exp Name,    value,  chipProcessedImfile.php, ARG2
 FIELD chipProcessedImfile.class_id,	  5, %s,     Class ID
-FIELD chipRun.chip_id,        	   	  7, %s,     chip ID
+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
Index: /trunk/ippMonitor/def/chipProcessedImfile_failure.d
===================================================================
--- /trunk/ippMonitor/def/chipProcessedImfile_failure.d	(revision 18372)
+++ /trunk/ippMonitor/def/chipProcessedImfile_failure.d	(revision 18373)
@@ -26,4 +26,5 @@
 FIELD chipProcessedImfile.class_id,	  5, %s,     Class ID
 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
Index: /trunk/ippMonitor/def/chipStageExp.d
===================================================================
--- /trunk/ippMonitor/def/chipStageExp.d	(revision 18372)
+++ /trunk/ippMonitor/def/chipStageExp.d	(revision 18373)
@@ -4,6 +4,4 @@
 MENU  ipp.science.dat
 
-# limit this table to non-OBJECT types of images
-# WHERE chipRun.state = 'run'
 WHERE chipRun.exp_id = rawExp.exp_id
 
@@ -21,6 +19,6 @@
 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.ra,       	         8, %10.6f, RA,          op=OP1    
+FIELD rawExp.decl,       	 8, %10.6f, DEC,         op=OP2
 FIELD rawExp.object,         	 8, %s,     Object
 FIELD rawExp.filter,         	10, %s,     FILTER
Index: /trunk/ippMonitor/raw/ipp.php
===================================================================
--- /trunk/ippMonitor/raw/ipp.php	(revision 18372)
+++ /trunk/ippMonitor/raw/ipp.php	(revision 18373)
@@ -613,8 +613,8 @@
   }
 
-  echo "<b>insert log</b><br>\n";
-  echo "<b>basename: $basename</b><br>\n";
-  echo "<b>class_id: $class_id</b><br>\n";
-  echo "<b>camera:   $camera</b><br>\n";
+  // echo "<b>insert log</b><br>\n";
+  // echo "<b>basename: $basename</b><br>\n";
+  // echo "<b>class_id: $class_id</b><br>\n";
+  // echo "<b>camera:   $camera</b><br>\n";
 
   if (! $class_id) { $class_id = "NONE"; }
