Ignore:
Timestamp:
Apr 6, 2010 4:56:48 PM (13 years ago)
Author:
srkline
Message:

Made preferences a common panel (moved to PlotUtilsMacro?.ipf and globals to root:Packages:NIST:) and added menu items for all packages. Many files had to be modified so that the preferences could be properly accessed

File Open dialog now is set to "All files" so that XML can be selected. I think that all open access that doesn't already have the full path go through this common function.

File:
1 edited

Legend:

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

    r662 r665  
    102102        //global to set log scale as the default for display of RAW data 
    103103        //these can be set using the Misc->Preferences panel 
    104         Variable/G root:myGlobals:gLogScalingAsDefault=1 
    105         Variable/G root:myGlobals:gAllowDRK=0                   //don't show DRK as default 
    106         Variable/G root:myGlobals:gDoTransCheck=1 
    107         Variable/G root:myGlobals:gBinWidth=1 
    108         Variable/G root:myGlobals:gNPhiSteps=72 
     104        //initializes preferences. this includes XML y/n, and SANS Reduction items.  
     105        // if they already exist, they won't be overwritten 
     106        Execute "init_pref()"    
     107 
    109108         
    110109        // flags to turn detector corrections on/off for testing (you should leave these ON) 
     
    117116        //set XML globals 
    118117        String/G root:Packages:NIST:gXMLLoader_Title = "" 
    119         Variable/G root:Packages:NIST:gXML_Write = 1 
    120  
    121118         
    122119        Return(0) 
Note: See TracChangeset for help on using the changeset viewer.