Index: trunk/ppSub/src/ppSubCamera.c
===================================================================
--- trunk/ppSub/src/ppSubCamera.c	(revision 13371)
+++ trunk/ppSub/src/ppSubCamera.c	(revision 13462)
@@ -6,4 +6,5 @@
 #include <pslib.h>
 #include <psmodules.h>
+#include <psphot.h>
 
 #include "ppSub.h"
@@ -97,4 +98,20 @@
     }
 
+    // psPhot input
+    pmFPAfile *psphot = pmFPAfileDefineFromFPA(config, output->fpa, 1, 1, "PSPHOT.INPUT");
+    if (!psphot) {
+        psError(PS_ERR_IO, false, "Failed to build FPA from PSPHOT.INPUT");
+        return false;
+    }
+    if (input->type != PM_FPA_FILE_IMAGE) {
+        psError(PS_ERR_IO, true, "PSPHOT.INPUT is not of type IMAGE");
+        return false;
+    }
+
+    if (!psphotDefineFiles(config, psphot)) {
+        psError(PS_ERR_UNKNOWN, false, "Unable to set up psphot files.");
+        return false;
+    }
+
     return true;
 }
