Ignore:
Timestamp:
Nov 23, 2009 10:14:41 PM (13 years ago)
Author:
ajj
Message:
  • Added global variable and preference to set output format as XML
File:
1 edited

Legend:

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

    r570 r601  
    5454End 
    5555 
     56Function XMLWritePref(ctrlName,checked) : CheckBoxControl 
     57        String ctrlName 
     58        Variable checked 
     59         
     60        NVAR gVal = root:Packages:NIST:gXML_Write 
     61        gVal = checked 
     62End 
     63 
    5664Function PrefDoneButtonProc(ctrlName) : ButtonControl 
    5765        String ctrlName 
     
    8189        SetVariable setvar1,pos={10,105},size={200,15},title="# Phi Steps (annular avg)" 
    8290        SetVariable setvar1,limits={1,360,1},value= root:myGlobals:gNPhiSteps 
     91        CheckBox check3,pos={10,130},size={184,14},proc=XMLWritePref,title="Use canSAS XML Output" 
     92        CheckBox check3,help={"Checking this will set the default output format to be canSAS XML rather than NIST 6 column"} 
     93        CheckBox check3,value=root:Packages:NIST:gXML_Write 
    8394        //keep these hidden for now so that nobody can accidentally change them from 
    8495        //the default values set in Initialize.ipf (128x128) 
     
    89100 
    90101End 
    91  
Note: See TracChangeset for help on using the changeset viewer.