Index: trunk/pswarp/src/pswarpDataLoad.c
===================================================================
--- trunk/pswarp/src/pswarpDataLoad.c	(revision 10946)
+++ trunk/pswarp/src/pswarpDataLoad.c	(revision 10952)
@@ -17,4 +17,15 @@
     if (!input) {
 	psError(PSWARP_ERR_CONFIG, true, "Can't find input data!\n");
+	return false;
+    }
+
+    // select the output readout
+    pmFPAview *outView = pmFPAviewAlloc (0);
+    outView->chip = 0;
+    outView->cell = 0;
+    outView->readout = 0;
+    pmReadout  *output = pmFPAfileThisReadout (config->files, outView, "PSWARP.OUTPUT");
+    if (!output) {
+	psError(PSWARP_ERR_CONFIG, true, "Can't find output data!\n");
 	return false;
     }
@@ -45,5 +56,5 @@
 		if (! readout->data_exists) { continue; }
 
-		pswarpConvertReadout (readout, config);
+		pswarpConvertReadout (output, readout, config);
 
 		pmFPAfileIOChecks (config, view, PM_FPA_AFTER);
