Ignore:
Timestamp:
Dec 2, 2014 1:35:21 PM (8 years ago)
Author:
srkline
Message:

Added the help file for the Simulation Run List panel to the Simulation Help file. This allows a run list to be built, saved, and run. This makes it very easy to run a series of samples to test out ideas for an experiment.

File:
1 edited

Legend:

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

    r950 r951  
    189189        Button RLCtrl_2m,pos={500,200},size={120,20},proc=Sim_ClearRowRunListButton,title="Clear Run",disable=1  
    190190         
    191          
     191        SetVariable RLCtrl_2n,pos={400,70},size={200,15},title="Currently Executing" 
     192        SetVariable RLCtrl_2n,limits={-inf,inf,0},value= _STR:"Nothing",disable=1 
    192193EndMacro 
    193194 
     
    217218Proc Sim_RLHelpButtonProc(ctrlName) : ButtonControl 
    218219        String ctrlName 
    219         DisplayHelpTopic/Z/K=1 "Simulation Run List Scripting" 
     220        DisplayHelpTopic/Z/K=1 "Simulating a Run List" 
    220221        if(V_flag !=0) 
    221                 DoAlert 0,"The Simulation Run List Scripting Help file could not be found" 
     222                DoAlert 0,"The Simulating a Run List Help file could not be found" 
    222223        endif 
    223224End 
     
    11201121                                        Print "**************** Running simulation for row = ",ii 
    11211122                                         
     1123                                        SetVariable RLCtrl_2n, win=RunListPanel,value= _STR:"Row "+num2str(ii) 
     1124//                                      DoUpdate/W=RunListPanel 
     1125                                         
    11221126                                        // move to configuration 
    11231127                                        configStr = textW[ii][1] 
     
    11831187                        if(g_estimateOnly) 
    11841188                                Print "Total Time (s) = ",totalTime 
     1189                                Print "Total Time (m) = ",totalTime/60 
     1190                                Print "Total Time (h) = ",totalTime/60/60 
    11851191                        endif 
    11861192                         
    1187                                  
    1188                         break 
    1189                 case -1: // control being killed 
    1190                         break 
    1191         endswitch 
    1192  
    1193         return 0 
    1194 End 
    1195  
     1193                        SetVariable RLCtrl_2n, win=RunListPanel,value= _STR:"Nothing" 
     1194//                      DoUpdate/W=RunListPanel  
     1195                         
     1196                        break 
     1197                case -1: // control being killed 
     1198                        break 
     1199        endswitch 
     1200 
     1201        return 0 
     1202End 
     1203 
Note: See TracChangeset for help on using the changeset viewer.