Changeset 7581 for trunk/ppImage/src/ppImagePhotom.c
- Timestamp:
- Jun 15, 2006, 3:03:49 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/ppImage/src/ppImagePhotom.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppImage/src/ppImagePhotom.c
r7522 r7581 29 29 // mode is 'REFERENCE' to prevent double frees of the fpa 30 30 pmFPAfile *output = psMetadataLookupPtr (&status, config->files, "PPIMAGE.OUTPUT"); 31 input = pmFPAfileDefine (config->files, config->camera, output->fpa, "PSPHOT.INPUT");31 input = pmFPAfileDefineInput (config->files, config->camera, output->fpa, "PSPHOT.INPUT"); 32 32 input->mode = PM_FPA_MODE_REFERENCE; 33 33 34 pmFPAfileDefine (config->files, config->camera, input->fpa, "PSPHOT.OUTPUT");34 pmFPAfileDefineOutput (config->files, config->camera, input->fpa, "PSPHOT.OUTPUT"); 35 35 36 36 // supply the output name (from cmd-line) to all output (WRITE) files … … 62 62 psLogMsg ("ppImagePhot", 4, "Cell %d: %x %x\n", view->cell, cell->file_exists, cell->process); 63 63 if (! cell->process || ! cell->file_exists) { continue; } 64 pmFPAfileIOChecks (config ->files, view, PM_FPA_BEFORE);64 pmFPAfileIOChecks (config, view, PM_FPA_BEFORE); 65 65 66 66 // process each of the readouts 67 67 while ((readout = pmFPAviewNextReadout (view, input->fpa, 1)) != NULL) { 68 pmFPAfileIOChecks (config ->files, view, PM_FPA_BEFORE);68 pmFPAfileIOChecks (config, view, PM_FPA_BEFORE); 69 69 if (! readout->data_exists) { continue; } 70 70 … … 72 72 psphotReadout (config, view); 73 73 74 pmFPAfileIOChecks (config ->files, view, PM_FPA_AFTER);74 pmFPAfileIOChecks (config, view, PM_FPA_AFTER); 75 75 } 76 pmFPAfileIOChecks (config ->files, view, PM_FPA_AFTER);76 pmFPAfileIOChecks (config, view, PM_FPA_AFTER); 77 77 } 78 78
Note:
See TracChangeset
for help on using the changeset viewer.
