Ignore:
Timestamp:
Aug 3, 2009 6:22:39 PM (13 years ago)
Author:
srkline
Message:

Lots of changes to add the first version of a USANS simulator, like SASCALC

(!) first issue is with the entanglement of dependencies - need to load SANS macros first!

otherwise, worth a first test for interface and accuracy. behavior is similar to the 1D SASCALC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/Reduction/USANS/COR_Graph.ipf

    r477 r544  
    300300                        CheckBox $ctrlName, value=0             //not checked 
    301301                        HideInfo/W=COR_Graph 
    302                         Cursor/K A 
    303                         Cursor/K B 
     302                        Cursor/K/W=COR_Graph A 
     303                        Cursor/K/W=COR_Graph B 
    304304                        DoAlert 0,type+" data is not on the graph" 
    305305                endif 
     
    307307                //hide info and cursors, if there are any displayed 
    308308                HideInfo/W=COR_Graph 
    309                 Cursor/K A 
    310                 Cursor/K B 
    311                 CheckBox useCrsrCheck,value= 0 
     309                Cursor/K/W=COR_Graph A 
     310                Cursor/K/W=COR_Graph B 
     311                CheckBox useCrsrCheck,win=COR_Graph,value= 0 
    312312        endif 
    313313        DoUpdate 
     
    335335                        break 
    336336        endswitch 
    337         CheckBox CORCheck,value= (gRadioVal==1) 
    338         CheckBox SAMCheck,value= (gRadioVal==2) 
    339         CheckBox EMPCheck,value= (gRadioVal==3) 
     337        CheckBox CORCheck,win=COR_Graph,value= (gRadioVal==1) 
     338        CheckBox SAMCheck,win=COR_Graph,value= (gRadioVal==2) 
     339        CheckBox EMPCheck,win=COR_Graph,value= (gRadioVal==3) 
    340340         
    341341        //move the cursors to the correct trace on the graph 
Note: See TracChangeset for help on using the changeset viewer.