Ignore:
Timestamp:
Oct 7, 2008 1:09:04 PM (14 years ago)
Author:
ajj
Message:

Moving data folders into root:Packages:NIST

This could be hairy.

File:
1 edited

Legend:

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

    r412 r418  
    4646        //get the current displayed data (so the correct folder is used) 
    4747        SVAR cur_folder=root:myGlobals:gDataDisplayType 
    48         String cur = "root:"+cur_folder 
     48        String cur = "root:Packages:NIST:"+cur_folder 
    4949         
    5050        WAVE reals=$(cur + ":realsread") 
     
    9393        //get the current displayed data (so the correct folder is used) 
    9494        SVAR cur_folder=root:myGlobals:gDataDisplayType 
    95         SetDataFolder "root:"+cur_folder                //use the full path, so it will always work 
     95        SetDataFolder "root:Packages:NIST:"+cur_folder          //use the full path, so it will always work 
    9696        WAVE data = $"data" 
    9797//      WAVE vlegend = $"vlegend" 
     
    210210 
    211211        //take the currently displayed RAW file (there is only one name in fileList) 
    212         SVAR oldName = root:RAW:fileList 
     212        SVAR oldName = root:Packages:NIST:RAW:fileList 
    213213         
    214214        //get the run number 
     
    251251        endif 
    252252         
    253         CheckDisplayed/W=SANS_Data root:MSK:overlay 
     253        CheckDisplayed/W=SANS_Data root:Packages:NIST:MSK:overlay 
    254254        if(V_flag==1)           //the overlay is present 
    255255                Button $ctrlName,title="Show Mask",win=SANS_Data 
Note: See TracChangeset for help on using the changeset viewer.