Changeset 26362
- Timestamp:
- Dec 8, 2009, 6:23:07 AM (16 years ago)
- Location:
- trunk/ppViz/src/ppVizPSF
- Files:
-
- 2 edited
-
ppVizPSF.h (modified) (1 diff)
-
ppVizPSFLoop.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppViz/src/ppVizPSF/ppVizPSF.h
r26352 r26362 38 38 ); 39 39 40 /// Print version information to stdout 41 void ppVizPSFVersionPrint(void); 40 42 41 43 #endif -
trunk/ppViz/src/ppVizPSF/ppVizPSFLoop.c
r26352 r26362 13 13 ) 14 14 { 15 ppVizPSFVersionPrint(); 16 15 17 pmConfig *config = data->config; // Configuration data 16 18 pmFPAfile *psfFile = pmFPAfileSelectSingle(config->files, "PSPHOT.LOAD.PSF", 0); // File with PSF … … 22 24 23 25 pmChip *chip; // Chip from FPA 24 while ((chip = pmFPAviewNextChip(view, psfFile->fpa, 1)) != NULL) {26 while ((chip = pmFPAviewNextChip(view, psfFile->fpa, 1))) { 25 27 if (!chip->process || !chip->file_exists) { 26 28 continue; … … 36 38 37 39 pmCell *cell; // Cell from chip 38 while ((cell = pmFPAviewNextCell(view, psfFile->fpa, 1)) != NULL) {40 while ((cell = pmFPAviewNextCell(view, psfFile->fpa, 1))) { 39 41 if (!cell->process || !cell->file_exists) { 40 42 continue; … … 50 52 51 53 pmReadout *readout; // Readout from cell 52 while ((readout = pmFPAviewNextReadout (view, psfFile->fpa, 1)) != NULL) {54 while ((readout = pmFPAviewNextReadout(view, psfFile->fpa, 1))) { 53 55 if (!pmFPAfileIOChecks(config, view, PM_FPA_BEFORE)) { 54 56 psError(PS_ERR_UNKNOWN, false, "Error loading data from files.");
Note:
See TracChangeset
for help on using the changeset viewer.
