IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 8, 2006, 12:08:03 PM (20 years ago)
Author:
Paul Price
Message:

Need to check the FORMAT for CHIP.X0 and CHIP.Y0. For this, we use the p_pmConceptParse_CELL_Positions and p_pmConceptFormat_CELL_Positions that we had already defined. Renamed these functions, and now use them for both CELL and CHIP X0 and Y0.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/concepts/pmConcepts.c

    r7439 r7441  
    407407        {
    408408            psMetadataItem *chipX0 = psMetadataItemAllocF32("CHIP.X0", "Position of (0,0) on the FPA", NAN);
    409             pmConceptRegister(chipX0, NULL, NULL, PM_FPA_LEVEL_CHIP);
     409            pmConceptRegister(chipX0, (pmConceptParseFunc)p_pmConceptParse_Positions,
     410                              (pmConceptFormatFunc)p_pmConceptFormat_Positions, PM_FPA_LEVEL_CHIP);
    410411            psFree(chipX0);
    411412        }
     
    414415        {
    415416            psMetadataItem *chipY0 = psMetadataItemAllocF32("CHIP.Y0", "Position of (0,0) on the FPA", NAN);
    416             pmConceptRegister(chipY0, NULL, NULL, PM_FPA_LEVEL_CHIP);
     417            pmConceptRegister(chipY0, (pmConceptParseFunc)p_pmConceptParse_Positions,
     418                              (pmConceptFormatFunc)p_pmConceptFormat_Positions, PM_FPA_LEVEL_CHIP);
    417419            psFree(chipY0);
    418420        }
     
    567569        {
    568570            psMetadataItem *cellX0 = psMetadataItemAllocS32("CELL.X0", "Position of (0,0) on the chip", 0);
    569             pmConceptRegister(cellX0, (pmConceptParseFunc)p_pmConceptParse_CELL_Positions,
    570                               (pmConceptFormatFunc)p_pmConceptFormat_CELL_Positions, PM_FPA_LEVEL_CELL);
     571            pmConceptRegister(cellX0, (pmConceptParseFunc)p_pmConceptParse_Positions,
     572                              (pmConceptFormatFunc)p_pmConceptFormat_Positions, PM_FPA_LEVEL_CELL);
    571573            psFree(cellX0);
    572574        }
     
    575577        {
    576578            psMetadataItem *cellY0 = psMetadataItemAllocS32("CELL.Y0", "Position of (0,0) on the chip", 0);
    577             pmConceptRegister(cellY0, (pmConceptParseFunc)p_pmConceptParse_CELL_Positions,
    578                               (pmConceptFormatFunc)p_pmConceptFormat_CELL_Positions, PM_FPA_LEVEL_CELL);
     579            pmConceptRegister(cellY0, (pmConceptParseFunc)p_pmConceptParse_Positions,
     580                              (pmConceptFormatFunc)p_pmConceptFormat_Positions, PM_FPA_LEVEL_CELL);
    579581            psFree(cellY0);
    580582        }
Note: See TracChangeset for help on using the changeset viewer.