Ignore:
Timestamp:
Jun 4, 2019 3:17:26 PM (4 years ago)
Author:
krzywon
Message:
 
Location:
sans/Dev/nxcansas_writer
Files:
2 edited
1 copied

Legend:

Unmodified
Added
Removed
  • sans/Dev/nxcansas_writer/NCNR_User_Procedures/Common/Packages/PlotManager/PlotUtilsMacro_v40.ipf

    r1133 r1158  
    14731473End 
    14741474 
     1475Function NXWritePref(ctrlName,checked) : CheckBoxControl 
     1476        String ctrlName 
     1477        Variable checked 
     1478         
     1479        NVAR gVal = root:Packages:NIST:gNXcanSAS_Write 
     1480        gVal = checked 
     1481End 
     1482 
    14751483Function DoTransCorrPref(ctrlName,checked) : CheckBoxControl 
    14761484        String ctrlName 
     
    15431551        CheckBox PrefCtrl_0a,help={"Checking this will set the default output format to be canSAS XML rather than NIST 6 column"} 
    15441552        CheckBox PrefCtrl_0a,value= root:Packages:NIST:gXML_Write 
     1553        CheckBox PrefCtrl_0a,pos={21,116},size={124,14},proc=NXWritePref,title="Use NXcanSAS HDF5 Output" 
     1554        CheckBox PrefCtrl_0a,help={"Checking this will set the default output format to be NXcanSAS HDF5 rather than NIST 6 column"} 
     1555        CheckBox PrefCtrl_0a,value= root:Packages:NIST:gNXcanSAS_Write 
     1556 
    15451557 
    15461558//on tab(1) - SANS 
  • sans/Dev/nxcansas_writer/NCNR_User_Procedures/Reduction/USANS/COR_Graph.ipf

    r907 r1158  
    215215        SVAR USANSFolder = root:Packages:NIST:USANS:Globals:gUSANSFolder 
    216216        NVAR useXMLOutput = root:Packages:NIST:gXML_Write 
     217        NVAR useNXcanSASOutput = root:Packages:NIST:gNXcanSAS_Write 
    217218 
    218219         
     
    263264        if (useXMLOutput == 1) 
    264265                WriteXMLUSANSWaves(type,"",ptA,ptB,1) 
     266        else if (useNXcanSASOutput == 1) 
     267                WriteUSANSNXCanSAS(type,"",ptA,ptB,1) 
    265268        else 
    266269                WriteUSANSWaves(type,"",ptA,ptB,1) 
Note: See TracChangeset for help on using the changeset viewer.