Changeset 15650 for trunk/psModules/test/concepts/tap_pmConceptsAverage.c
- Timestamp:
- Nov 19, 2007, 11:13:15 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/test/concepts/tap_pmConceptsAverage.c
r14882 r15650 85 85 } 86 86 87 bool rc = pmConfigFileRead(&cell->hdu->format, "../camera/data/camera0/format0.config", "Camera format 0"); 87 // First try to read data from ../dataFiles, then try dataFiles. 88 bool rc = pmConfigFileRead(&cell->hdu->format, "../dataFiles/camera0/format0.config", "Camera format 0"); 88 89 if (!rc) { 89 diag("pmConfigFileRead() was unsuccessful (from generateSimpleCell())"); 90 rc = pmConfigFileRead(&cell->hdu->format, "dataFiles/camera0/format0.config", "Camera format 0"); 91 if (!rc) { 92 diag("pmConfigFileRead() was unsuccessful (from generateSimpleCell())"); 93 } 90 94 } 91 95 … … 123 127 psMetadataAddS32(chip->analysis, PS_LIST_HEAD, MISC_NAME, 0, NULL, MISC_NUM); 124 128 psMetadataAddS32(chip->concepts, PS_LIST_HEAD, MISC_NAME, 0, NULL, MISC_NUM); 125 // chip->hdu = pmHDUAlloc("chipExtName");126 //127 // bool rc = pmConfigFileRead(&chip->hdu->format, "../camera/data/camera0/format0.config", "Camera format 0");128 // if (!rc) {129 // diag("pmConfigFileRead() was unsuccessful (from generateSimpleChip())");130 // }131 //132 129 psArrayRealloc(chip->cells, NUM_CELLS); 133 130 for (int i = 0 ; i < NUM_CELLS ; i++) { … … 154 151 psMetadataAddS32((psMetadata *) fpa->camera, PS_LIST_HEAD, MISC_NAME, 0, NULL, MISC_NUM); 155 152 psMetadataAddS32(fpa->concepts, PS_LIST_HEAD, MISC_NAME, 0, NULL, MISC_NUM); 156 // fpa->hdu = pmHDUAlloc("fpaExtName");157 //158 // bool rc = pmConfigFileRead(&fpa->hdu->format, "../camera/data/camera0/format0.config", "Camera format 0");159 // if (!rc) {160 // diag("pmConfigFileRead() was unsuccessful (from generateSimpleFPA())");161 // }162 163 153 psArrayRealloc(fpa->chips, NUM_CHIPS); 164 154 for (int i = 0 ; i < NUM_CHIPS ; i++) {
Note:
See TracChangeset
for help on using the changeset viewer.
