Ignore:
Timestamp:
Apr 5, 2010 4:29:46 PM (12 years ago)
Author:
srkline
Message:

Added routines to enforce short enough names to keep the Igor-generated object names to less than 31 characters (once I add extensions). Changed the ExecuteProtocol? to automatically trim text from the HFIR data file names, since they are ridiculously long.

Added routines in 1D Data loader (and XML loader) to enforce 25 characters, in the case that a long file name was generated by another program.

If XML files are generated, "x" is tagged at the end of the suffix, as in ".ABSx".
Added menu items to each package menu for feedback, movies, and updates

Made sure that new table entry of SamplePosition? did not cause compile errors with other facility templates. right now, this is NCNR-specific, but easity added to other facilities if they provide the stub. then the bits of the table could be added.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS/CatVSTable.ipf

    r656 r661  
    102102                ModifyTable width(:myGlobals:CatVSHeaderInfo:Field)=50 
    103103                ModifyTable width(:myGlobals:CatVSHeaderInfo:MCR)=50 
    104                 ModifyTable width(:myGlobals:CatVSHedaerInfo:Pos)=30 
    105104#if (exists("ILL_D22")==6) 
    106105                ModifyTable width(:myGlobals:CatVSHeaderInfo:Reactorpower)=50           //activate for ILL, June 2008 
     
    109108#if (exists("NCNR")==6) 
    110109                ModifyTable width(:myGlobals:CatVSHeaderInfo:nGuides)=40 
     110                ModifyTable width(:myGlobals:CatVSHedaerInfo:Pos)=30 
    111111#endif 
    112112 
     
    215215#if (exists("ILL_D22")==6) 
    216216        Wave GReactPow = $"root:myGlobals:CatVSHeaderInfo:ReactorPower"         //activate for ILL June 2008 ( and the sort line too) 
    217         Sort GSuffix, GSuffix, GFilenames, GLabels, GDateTime, GSDD, GLambda, GCntTime, GTotCnts, GCntRate, GTransmission, GThickness, GXCenter, GYCenter, GNumAttens,GRunNumber,GIsTrans,GRot,GTemp,GField,GMCR,GPos,GReactPow 
     217        Sort GSuffix, GSuffix, GFilenames, GLabels, GDateTime, GSDD, GLambda, GCntTime, GTotCnts, GCntRate, GTransmission, GThickness, GXCenter, GYCenter, GNumAttens,GRunNumber,GIsTrans,GRot,GTemp,GField,GMCR,GReactPow 
    218218#endif 
    219219 
    220220#if (exists("NCNR")==6) 
    221221        //      Sort GSuffix, GSuffix, GFilenames, GLabels, GDateTime, GSDD, GLambda, GCntTime, GTotCnts, GCntRate, GTransmission, GThickness, GXCenter, GYCenter, GNumAttens,GRunNumber,GIsTrans,GRot,GTemp,GField,GMCR 
    222         Sort GSuffix, GSuffix, GFilenames, GLabels, GDateTime, GSDD, GLambda, GCntTime, GTotCnts, GCntRate, GTransmission, GThickness, GXCenter, GYCenter, GNumAttens,GRunNumber,GIsTrans,GRot,GTemp,GField,GMCR,gNumGuides 
     222        Sort GSuffix, GSuffix, GFilenames, GLabels, GDateTime, GSDD, GLambda, GCntTime, GTotCnts, GCntRate, GTransmission, GThickness, GXCenter, GYCenter, GNumAttens,GRunNumber,GIsTrans,GRot,GTemp,GField,GMCR,GPos,gNumGuides 
    223223#else 
    224224//      Sort GSuffix, GSuffix, GFilenames, GLabels, GDateTime, GSDD, GLambda, GCntTime, GTotCnts, GCntRate, GTransmission, GThickness, GXCenter, GYCenter, GNumAttens,GRunNumber,GIsTrans,GRot,GTemp,GField,GMCR 
     
    399399        GMCR[lastPoint]  = getMonitorCount(fname)/ctime         //total monitor count / total count time 
    400400 
    401         //Sample Position 
    402         InsertPoints lastPoint,1,GPos 
    403         GPos[lastPoint] = getSamplePosition(fname) 
     401 
    404402 
    405403#if (exists("ILL_D22")==6) 
     
    413411        InsertPoints lastPoint,1,GNumGuides 
    414412        GNumGuides[lastPoint]  = numGuides(getSourceToSampleDist(fname)) 
     413         
     414        //Sample Position 
     415        InsertPoints lastPoint,1,GPos 
     416        GPos[lastPoint] = getSamplePosition(fname) 
    415417#endif 
    416418 
Note: See TracChangeset for help on using the changeset viewer.