Index: trunk/psModules/src/camera/pmFPARead.c
===================================================================
--- trunk/psModules/src/camera/pmFPARead.c	(revision 23827)
+++ trunk/psModules/src/camera/pmFPARead.c	(revision 24007)
@@ -592,6 +592,4 @@
     }
 
-    // Determine the number of scans to read
-    int lastScan = readoutSetLastScan(readout, type, thisScan + numScans);
     if (thisScan == 0) {
         overlap = 0;
@@ -601,5 +599,4 @@
         thisScan = 0;
     }
-    readoutSetThisScan(readout, type, thisScan);
 
     // Calculate limits, adjust readout->row0,col0
@@ -620,4 +617,8 @@
         }
     }
+
+    // Determine the number of scans to read
+    int lastScan = readoutSetLastScan(readout, type, thisScan + numScans);
+    readoutSetThisScan(readout, type, thisScan);
 
     // Blow away existing data.
