Index: trunk/psModules/src/camera/pmFPARead.c
===================================================================
--- trunk/psModules/src/camera/pmFPARead.c	(revision 16575)
+++ trunk/psModules/src/camera/pmFPARead.c	(revision 16580)
@@ -142,5 +142,4 @@
                                   pmReadout *readout, // Readout of interest
                                   int numScans, // Number of scans to read at a time
-                                  int overlap, // Number of scans to overlap with previous read
                                   fpaReadType type // Type of image
     )
@@ -192,5 +191,5 @@
         *next = (readdir == 1) ? trimsec->x0 : trimsec->y0;
     } else {
-        *next = image ? *readoutScansByType(readout, type) + numScans - overlap : 0;
+        *next = image ? *readoutScansByType(readout, type) + numScans : 0;
     }
     *last = (readdir == 1) ? trimsec->y1 : trimsec->x1;
@@ -203,5 +202,4 @@
                         int z,          // Plane number
                         int numScans,   // Number of scans to read at a time
-                        int overlap,    // Number of scans to overlap with last read
                         fpaReadType type // Type of image
     )
@@ -232,5 +230,5 @@
     int next;                           // Next position
     int last;                           // Last position
-    if (!readoutScanProperties(&next, &last, readout, numScans, overlap, type)) {
+    if (!readoutScanProperties(&next, &last, readout, numScans, type)) {
         psError(PS_ERR_UNKNOWN, false, "Unable to determine readout properties.");
         return false;
@@ -419,5 +417,5 @@
     int next;                           // Next position
     int last;                           // Last position
-    if (!readoutScanProperties(&next, &last, readout, numScans, overlap, type)) {
+    if (!readoutScanProperties(&next, &last, readout, numScans, type)) {
         psError(PS_ERR_UNKNOWN, false, "Unable to determine readout properties.");
         return false;
@@ -464,4 +462,8 @@
     int *scansTracker = readoutScansByType(readout, type); // Tracker for how many scans have been read
     *scansTracker = next;
+    if (next == 0) {
+        overlap = 0;
+    }
+    next -= overlap;
 
     // Calculate limits, adjust readout->row0,col0
@@ -477,9 +479,6 @@
         readout->row0 = trimsec->y0;
     }
-    int upper = next + numScans;        // Upper limit to next section
-    if (next != 0) {
-        upper += overlap;
-        *scansTracker += overlap;
-    }
+    int upper = next + numScans + overlap;        // Upper limit to next section
+    printf("READ: %d --> %d\n", next, upper);
 
     // Blow away existing data.
@@ -882,10 +881,10 @@
 
 
-bool pmReadoutMore(pmReadout *readout, psFits *fits, int z, int numScans, int overlap)
+bool pmReadoutMore(pmReadout *readout, psFits *fits, int z, int numScans)
 {
     PS_ASSERT_PTR_NON_NULL(readout, false);
     PS_ASSERT_FITS_NON_NULL(fits, false);
 
-    return readoutMore(readout, fits, z, numScans, overlap, FPA_READ_TYPE_IMAGE);
+    return readoutMore(readout, fits, z, numScans, FPA_READ_TYPE_IMAGE);
 }
 
@@ -945,10 +944,10 @@
 //////////////////////////////////////////////////////////////////////////////////////////////////////////////
 
-bool pmReadoutMoreMask(pmReadout *readout, psFits *fits, int z, int numScans, int overlap)
+bool pmReadoutMoreMask(pmReadout *readout, psFits *fits, int z, int numScans)
 {
     PS_ASSERT_PTR_NON_NULL(readout, false);
     PS_ASSERT_FITS_NON_NULL(fits, false);
 
-    return readoutMore(readout, fits, z, numScans, overlap, FPA_READ_TYPE_MASK);
+    return readoutMore(readout, fits, z, numScans, FPA_READ_TYPE_MASK);
 }
 
@@ -999,10 +998,10 @@
 //////////////////////////////////////////////////////////////////////////////////////////////////////////////
 
-bool pmReadoutMoreWeight(pmReadout *readout, psFits *fits, int z, int numScans, int overlap)
+bool pmReadoutMoreWeight(pmReadout *readout, psFits *fits, int z, int numScans)
 {
     PS_ASSERT_PTR_NON_NULL(readout, false);
     PS_ASSERT_FITS_NON_NULL(fits, false);
 
-    return readoutMore(readout, fits, z, numScans, overlap, FPA_READ_TYPE_WEIGHT);
+    return readoutMore(readout, fits, z, numScans, FPA_READ_TYPE_WEIGHT);
 }
 
Index: trunk/psModules/src/camera/pmFPARead.h
===================================================================
--- trunk/psModules/src/camera/pmFPARead.h	(revision 16575)
+++ trunk/psModules/src/camera/pmFPARead.h	(revision 16580)
@@ -4,6 +4,6 @@
  * @author Paul Price, IfA
  *
- * @version $Revision: 1.11 $ $Name: not supported by cvs2svn $
- * @date $Date: 2008-02-08 04:06:05 $
+ * @version $Revision: 1.12 $ $Name: not supported by cvs2svn $
+ * @date $Date: 2008-02-22 01:20:24 $
  * Copyright 2005-2006 Institute for Astronomy, University of Hawaii
  */
@@ -19,6 +19,5 @@
                    psFits *fits,        ///< FITS file from which to read
                    int z,               ///< Readout number/plane; zero-offset indexing
-                   int numScans,        ///< Number of scans (rows/cols) to read
-                   int overlap          ///< Overlap between consecutive reads
+                   int numScans         ///< Number of scans (rows/cols) to read
     );
 
@@ -93,6 +92,5 @@
                        psFits *fits,    ///< FITS file from which to read
                        int z,           ///< Readout number/plane; zero-offset indexing
-                       int numScans,    ///< Number of scans (rows/cols) to read
-                       int overlap      ///< Overlap between consecutive reads
+                       int numScans     ///< Number of scans (rows/cols) to read
     );
 
@@ -143,6 +141,5 @@
                          psFits *fits,  ///< FITS file from which to read
                          int z,         ///< Readout number/plane; zero-offset indexing
-                         int numScans,  ///< Number of scans (rows/cols) to read
-                         int overlap    ///< Overlap between consecutive reads
+                         int numScans   ///< Number of scans (rows/cols) to read
     );
 
