Ignore:
Timestamp:
Apr 23, 2019 10:38:10 AM (4 years ago)
Author:
srkline
Message:

adding first pass of procedures to allow plotting of sensor data. currently the sensor data folders are listed (if present), with status of data fields and a plot of the data. Attributes are not read in so the units are not known. CUrrently limited to temperature data

access to the nre panel is from the menu or the raw data panel.

File:
1 edited

Legend:

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

    r1108 r1146  
    180180        Button button_RestorePanels,pos={880,146},size={100,20},proc=V_RestorePanelButtonProc,title="Restore Panels" 
    181181 
    182  
    183         TitleBox title_file,pos={606,178},fsize=12,size={76,20},variable= root:Packages:NIST:VSANS:Globals:gLastLoadedFile 
    184         TitleBox title_dataPresent,pos={606,210},fsize=12,size={76,20},variable= root:Packages:NIST:VSANS:Globals:gCurDispFile 
    185         TitleBox title_status,pos={606,240},size={200,200},fsize=12,variable= root:Packages:NIST:VSANS:Globals:gStatusText 
     182        Button button_sensor,pos={607,146+33},size={70,20},proc=V_SensorButtonProc,title="Sensors" 
     183 
     184 
     185        TitleBox title_file,pos={606,178+30},fsize=12,size={76,20},variable= root:Packages:NIST:VSANS:Globals:gLastLoadedFile 
     186        TitleBox title_dataPresent,pos={606,210+30},fsize=12,size={76,20},variable= root:Packages:NIST:VSANS:Globals:gCurDispFile 
     187        TitleBox title_status,pos={606,240+30},size={200,200},fsize=12,variable= root:Packages:NIST:VSANS:Globals:gStatusText 
    186188         
    187189//      Button button_tagFile,pos={720,412},size={70,20},proc=V_TagFileButtonProc,title="Tag File" 
     
    692694End 
    693695 
     696 
    694697// fake restore panels button click 
    695698Function V_FakeRestorePanelsButtonClick() 
     
    798801        return 0 
    799802End 
     803 
     804// 
     805// opens up the graph of the sensors available 
     806// 
     807Function V_SensorButtonProc(ba) : ButtonControl 
     808        STRUCT WMButtonAction &ba 
     809 
     810        switch( ba.eventCode ) 
     811                case 2: // mouse up 
     812                        // click code here 
     813                        V_InitSensorGraph() 
     814                        break 
     815                case -1: // control being killed 
     816                        break 
     817        endswitch 
     818 
     819        return 0 
     820End 
     821 
    800822 
    801823 
Note: See TracChangeset for help on using the changeset viewer.