Ignore:
Timestamp:
Jul 12, 2017 2:44:26 PM (5 years ago)
Author:
srkline
Message:

a lot of little changes:

changed the name of the Raw Data display procedure file (removed test)

lots of bug fixes, moving items from the macros menu to proper locations, getting the file status to display properly, some error checking, and cleaning up a few TODO items.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS/V_VSANS_Preferences.ipf

    r1050 r1051  
    8989        val = NumVarOrDefault("root:Packages:NIST:VSANS:Globals:gDoMonitorNormalization", 1 ) 
    9090        Variable/G root:Packages:NIST:VSANS:Globals:gDoMonitorNormalization = 1 
    91          
     91 
     92 
     93        // Special global to prevent fake data from "B" detector from being written out 
     94        val = NumVarOrDefault("root:Packages:NIST:VSANS:Globals:gIgnoreDetB", 1 ) 
     95        Variable/G root:Packages:NIST:VSANS:Globals:gIgnoreDetB = 0 
     96                 
    9297 
    9398// flag to allow adding raw data files with different attenuation (normally not done)    
     
    208213End 
    209214 
     215Function V_IgnoreDetBPref(ctrlName,checked) : CheckBoxControl 
     216        String ctrlName 
     217        Variable checked 
     218         
     219        NVAR gVal = root:Packages:NIST:VSANS:Globals:gIgnoreDetB 
     220        gVal = checked 
     221End 
    210222 
    211223Function V_PrefDoneButtonProc(ctrlName) : ButtonControl 
     
    274286//      CheckBox PrefCtrl_1n title="Do Tube Shadow Correction?",size={140,14},proc=V_DoMonitorNormPref 
    275287//      CheckBox PrefCtrl_1n value=root:Packages:NIST:VSANS:Globals:gDoMonitorNormalization,pos={255,220},help={"TURN OFF ONLY FOR DEBUGGING."} 
    276                  
     288        CheckBox PrefCtrl_1m title="Ignore Back Detector?",size={140,14},proc=V_IgnoreDetBPref 
     289        CheckBox PrefCtrl_1m value=root:Packages:NIST:VSANS:Globals:gIgnoreDetB,pos={150,220},help={"Will prevent data from Back detector being written to data files."}                 
    277290         
    278291//      CheckBox PrefCtrl_1a,disable=1 
Note: See TracChangeset for help on using the changeset viewer.