Ignore:
Timestamp:
Dec 13, 2012 11:58:20 AM (10 years ago)
Author:
srkline
Message:

Changed the TISANE button on the main panel to be "Event Data"

Added commands to the SANS menu for event mode data, inlcluding opening the panels and splitting large files.

fixed a bug in the reloading of previously adjusted data where oscillatory data would be rescaled to the first event time. Now there is no rescaling of the time.

File:
1 edited

Legend:

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

    r764 r885  
    227227End 
    228228 
    229 Proc TISANE_MainButtonProc(ctrlName) : ButtonControl 
    230         String ctrlName 
    231          
    232         if(exists("Show_TISANE_Panel")==0) 
     229//Proc TISANE_MainButtonProc(ctrlName) : ButtonControl 
     230//      String ctrlName 
     231//       
     232//      if(exists("Show_TISANE_Panel")==0) 
     233//              // procedure file was not loaded 
     234//              DoAlert 0,"This operation is not available in this set of macros" 
     235//      else 
     236//              Show_TISANE_Panel() 
     237//      endif 
     238//       
     239//End 
     240 
     241Proc Event_MainButtonProc(ctrlName) : ButtonControl 
     242        String ctrlName 
     243         
     244        if(exists("Show_Event_Panel")==0) 
    233245                // procedure file was not loaded 
    234246                DoAlert 0,"This operation is not available in this set of macros" 
    235247        else 
    236                 Show_TISANE_Panel() 
     248                Show_Event_Panel() 
    237249        endif 
    238250         
     
    355367        Button MainButton_3f,pos={150,120},size={110,20},title="WorkFile Math",proc=WorkMath_MainButtonProc 
    356368        Button MainButton_3f,help={"Perfom simple math operations on workfile data"} 
    357         Button MainButton_3g,pos={150,180},size={100,20},title="TISANE",proc=TISANE_MainButtonProc 
     369        Button MainButton_3g,pos={150,180},size={100,20},title="Event Data",proc=Event_MainButtonProc 
    358370        Button MainButton_3g,help={"Manipulate TISANE Timeslice data"} 
    359371         
Note: See TracChangeset for help on using the changeset viewer.