IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 15139


Ignore:
Timestamp:
Sep 30, 2007, 1:31:59 PM (19 years ago)
Author:
eugene
Message:

added CHIP.ID to conversions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/camera/pmFPAfile.c

    r14889 r15139  
    189189            if (name != NULL) {
    190190                psStringSubstitute(&newName, name, "{CHIP.NAME}");
     191            }
     192        }
     193    }
     194    if (strstr (newName, "{CHIP.ID}") != NULL) {
     195        pmChip *chip = pmFPAviewThisChip (view, fpa);
     196        if (chip != NULL) {
     197            char *name = psMetadataLookupStr (NULL, chip->concepts, "CHIP.ID");
     198            if (name != NULL) {
     199                psStringSubstitute(&newName, name, "{CHIP.ID}");
    191200            }
    192201        }
Note: See TracChangeset for help on using the changeset viewer.