Index: trunk/ppImage/src/ppImagePhotom.c
===================================================================
--- trunk/ppImage/src/ppImagePhotom.c	(revision 12807)
+++ trunk/ppImage/src/ppImagePhotom.c	(revision 12811)
@@ -20,4 +20,13 @@
 	return false;
     }
+
+    # if (0)
+    // replace this chip with a new copy
+    pmChip *oldChip = input->fpa->chips->data[view->chip];
+    pmChip *newChip = pmChipDuplicate (input->fpa, oldChip);
+    assert (newChip);
+    input->fpa->chips->data[view->chip] = newChip;
+    psFree (oldChip);
+    # endif
 
     // iterate over the cells and readout for this chip
