Changeset 10421 for trunk/psModules/src/camera/pmFPA_MANAPLOT.c
- Timestamp:
- Dec 3, 2006, 8:48:10 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmFPA_MANAPLOT.c (modified) (13 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPA_MANAPLOT.c
r9585 r10421 5 5 * @author EAM, IfA 6 6 * 7 * @version $Revision: 1. 1$ $Name: not supported by cvs2svn $8 * @date $Date: 2006-1 0-17 00:41:05$7 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2006-12-03 18:48:10 $ 9 9 * 10 10 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 31 31 32 32 33 bool pmFPAviewWriteMANAPLOT(const pmFPAview *view, pmFPAfile *file )33 bool pmFPAviewWriteMANAPLOT(const pmFPAview *view, pmFPAfile *file, pmConfig *config) 34 34 { 35 35 PS_ASSERT_PTR_NON_NULL(view, false); … … 39 39 40 40 if (view->chip == -1) { 41 pmFPAWriteMANAPLOT (fpa, view, file );41 pmFPAWriteMANAPLOT (fpa, view, file, config); 42 42 return true; 43 43 } … … 49 49 50 50 if (view->cell == -1) { 51 pmChipWriteMANAPLOT (chip, view, file );51 pmChipWriteMANAPLOT (chip, view, file, config); 52 52 return true; 53 53 } … … 59 59 60 60 if (view->readout == -1) { 61 pmCellWriteMANAPLOT (cell, view, file );61 pmCellWriteMANAPLOT (cell, view, file, config); 62 62 return true; 63 63 } … … 68 68 pmReadout *readout = cell->readouts->data[view->readout]; 69 69 70 pmReadoutWriteMANAPLOT (readout, view, file );70 pmReadoutWriteMANAPLOT (readout, view, file, config); 71 71 return true; 72 72 } 73 73 74 74 // read in all chip-level MANAPLOT files for this FPA 75 bool pmFPAWriteMANAPLOT (pmFPA *fpa, const pmFPAview *view, pmFPAfile *file )75 bool pmFPAWriteMANAPLOT (pmFPA *fpa, const pmFPAview *view, pmFPAfile *file, pmConfig *config) 76 76 { 77 77 PS_ASSERT_PTR_NON_NULL(fpa, false); … … 82 82 83 83 pmChip *chip = fpa->chips->data[i]; 84 pmChipWriteMANAPLOT (chip, view, file );84 pmChipWriteMANAPLOT (chip, view, file, config); 85 85 } 86 86 return true; … … 88 88 89 89 // read in all cell-level MANAPLOT files for this chip 90 bool pmChipWriteMANAPLOT (pmChip *chip, const pmFPAview *view, pmFPAfile *file )90 bool pmChipWriteMANAPLOT (pmChip *chip, const pmFPAview *view, pmFPAfile *file, pmConfig *config) 91 91 { 92 92 PS_ASSERT_PTR_NON_NULL(chip, false); … … 97 97 98 98 pmCell *cell = chip->cells->data[i]; 99 pmCellWriteMANAPLOT (cell, view, file );99 pmCellWriteMANAPLOT (cell, view, file, config); 100 100 } 101 101 return true; … … 103 103 104 104 // read in all readout-level MANAPLOT files for this cell 105 bool pmCellWriteMANAPLOT (pmCell *cell, const pmFPAview *view, pmFPAfile *file )105 bool pmCellWriteMANAPLOT (pmCell *cell, const pmFPAview *view, pmFPAfile *file, pmConfig *config) 106 106 { 107 107 PS_ASSERT_PTR_NON_NULL(cell, false); … … 112 112 113 113 pmReadout *readout = cell->readouts->data[i]; 114 pmReadoutWriteMANAPLOT (readout, view, file );114 pmReadoutWriteMANAPLOT (readout, view, file, config); 115 115 } 116 116 return true; … … 118 118 119 119 // read in all readout-level Objects files for this cell 120 bool pmReadoutWriteMANAPLOT (pmReadout *readout, const pmFPAview *view, pmFPAfile *file )120 bool pmReadoutWriteMANAPLOT (pmReadout *readout, const pmFPAview *view, pmFPAfile *file, pmConfig *config) 121 121 { 122 122 PS_ASSERT_PTR_NON_NULL(readout, false); … … 136 136 // output : filerule 137 137 138 psString input = pmFPAfileNameFromRule (file->filextra, file, view); 139 psString output = pmFPAfileNameFromRule (file->filerule, file, view); 140 psString script = pmFPAfileNameFromRule (file->extname, file, view); 138 psString tmpName; 139 tmpName = pmFPAfileNameFromRule (file->filextra, file, view); 140 psString input = pmConfigConvertFilename (tmpName, config); 141 psFree (tmpName); 142 143 tmpName = pmFPAfileNameFromRule (file->filerule, file, view); 144 psString output = pmConfigConvertFilename (tmpName, config); 145 psFree (tmpName); 146 147 tmpName = pmFPAfileNameFromRule (file->extname, file, view); 148 psString script = pmConfigConvertFilename (tmpName, config); 149 psFree (tmpName); 141 150 142 151 psString line = NULL;
Note:
See TracChangeset
for help on using the changeset viewer.
