Ignore:
Timestamp:
Apr 12, 2010 11:03:04 AM (13 years ago)
Author:
srkline
Message:

Updated version of HFIR_DataReadWrite.ipf from Jae Hie.

Updated the initialization of the templates from other facilities to remove the NCNR_Package_Loader.ipf since they are by definition incompatible.

Forward/Back? incrementing of the run number (as for the 2D display) has been moved to the Facility_Utils.ipf for all facilities and for the template.

File:
1 edited

Legend:

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

    r668 r683  
    4545        Endif 
    4646        ResizeCmdWindow() 
     47         
     48        //unload the NCNR_Package_Loader, if NCNR not defined 
     49        UnloadNCNR_Igor_Procedures() 
     50 
    4751End 
    4852 
     
    159163End 
    160164 
     165// since the NCNR procedures can't be loaded concurrently with the other facility functions, 
     166// unload this procedure file, and add this to the functions that run at initialization of the  
     167// experiment 
     168Function UnloadNCNR_Igor_Procedures() 
     169 
     170#if (exists("NCNR")==6)                 //defined in the main #includes file. 
     171        //do nothing if an NCNR reduction experiment 
     172#else 
     173        if(ItemsInList(WinList("NCNR_Package_Loader.ipf", ";","WIN:128"))) 
     174                Execute/P "CloseProc /NAME=\"NCNR_Package_Loader.ipf\"" 
     175                Execute/P "COMPILEPROCEDURES " 
     176        endif 
     177#endif 
     178 
     179End 
    161180 
    162181//returns 1 if demo version, 0 if full version 
Note: See TracChangeset for help on using the changeset viewer.