IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 26362


Ignore:
Timestamp:
Dec 8, 2009, 6:23:07 AM (16 years ago)
Author:
Paul Price
Message:

Cleaning up. Print version information.

Location:
trunk/ppViz/src/ppVizPSF
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppViz/src/ppVizPSF/ppVizPSF.h

    r26352 r26362  
    3838    );
    3939
     40/// Print version information to stdout
     41void ppVizPSFVersionPrint(void);
    4042
    4143#endif
  • trunk/ppViz/src/ppVizPSF/ppVizPSFLoop.c

    r26352 r26362  
    1313    )
    1414{
     15    ppVizPSFVersionPrint();
     16
    1517    pmConfig *config = data->config;                                        // Configuration data
    1618    pmFPAfile *psfFile = pmFPAfileSelectSingle(config->files, "PSPHOT.LOAD.PSF", 0); // File with PSF
     
    2224
    2325    pmChip *chip;                       // Chip from FPA
    24     while ((chip = pmFPAviewNextChip(view, psfFile->fpa, 1)) != NULL) {
     26    while ((chip = pmFPAviewNextChip(view, psfFile->fpa, 1))) {
    2527        if (!chip->process || !chip->file_exists) {
    2628            continue;
     
    3638
    3739        pmCell *cell;                   // Cell from chip
    38         while ((cell = pmFPAviewNextCell(view, psfFile->fpa, 1)) != NULL) {
     40        while ((cell = pmFPAviewNextCell(view, psfFile->fpa, 1))) {
    3941            if (!cell->process || !cell->file_exists) {
    4042                continue;
     
    5052
    5153            pmReadout *readout;         // Readout from cell
    52             while ((readout = pmFPAviewNextReadout (view, psfFile->fpa, 1)) != NULL) {
     54            while ((readout = pmFPAviewNextReadout(view, psfFile->fpa, 1))) {
    5355                if (!pmFPAfileIOChecks(config, view, PM_FPA_BEFORE)) {
    5456                    psError(PS_ERR_UNKNOWN, false, "Error loading data from files.");
Note: See TracChangeset for help on using the changeset viewer.