Changeset 1029 for sans/Dev/trunk


Ignore:
Timestamp:
Mar 22, 2017 2:12:51 PM (6 years ago)
Author:
srkline
Message:

added basics of RealTime? updating. Added both my origianl version, plus ANSTO version to allow a protocol to be executed at each update. Will decide what blend of the two is most useful.

Location:
sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS
Files:
1 added
2 edited

Legend:

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

    r1028 r1029  
    9090#include "V_Protocol_Reduction" 
    9191#include "V_Marquee_Operations" 
     92#include "V_RealTimeUpdate" 
    9293 
    9394 
  • sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS/V_MainPanel.ipf

    r1025 r1029  
    289289        String ctrlName 
    290290 
    291         if(exists("Init_for_RealTime")==0) 
     291        if(exists("V_Init_RT")==0) 
    292292                // procedure file was not loaded 
    293293                DoAlert 0,"This operation is not available in this set of macros" 
     
    295295                Show_RealTime_Panel() 
    296296        endif 
     297End 
     298 
     299Proc RTReduce_MainButtonProc(ctrlName) : ButtonControl 
     300        String ctrlName 
     301 
     302        V_ShowOnlineReductionPanel() 
    297303End 
    298304 
     
    355361        Button MainButton_0f,pos={170,90},size={90,20},proc=DataTree_MainButtonProc,title="Data Tree" 
    356362        Button MainButton_0f,help={"Show the header and data tree"} 
     363        Button MainButton_0g,pos={170,180},size={110,20},proc=RTReduce_MainButtonProc,title="RT Reduction" 
     364        Button MainButton_0g,help={"Reduce live (incomplete) data files during acquisition"} 
    357365 
    358366 
     
    364372        Button MainButton_1c,pos={15,150},size={160,20},proc=ReduceMultiple_MainButtonProc,title="Reduce Multiple Files" 
    365373        Button MainButton_1c,help={"Use for reducing multiple raw datasets after protocol(s) have been created"} 
    366         Button MainButton_1d,pos={15,180},size={110,20},proc=ShowCatShort_MainButtonProc,title="Show CAT Table" 
    367         Button MainButton_1d,help={"This button will bring the CATalog window to the front, if it exists"} 
     374//      Button MainButton_1d,pos={15,180},size={110,20},proc=ShowCatShort_MainButtonProc,title="Show CAT Table" 
     375//      Button MainButton_1d,help={"This button will bring the CATalog window to the front, if it exists"} 
    368376        Button MainButton_1a,disable=1 
    369377        Button MainButton_1b,disable=1 
    370378        Button MainButton_1c,disable=1 
    371         Button MainButton_1d,disable=1 
     379//      Button MainButton_1d,disable=1 
    372380 
    373381//on tab(2) - 1-D operations 
Note: See TracChangeset for help on using the changeset viewer.