Ignore:
Timestamp:
Aug 23, 2017 10:03:41 AM (6 years ago)
Author:
srkline
Message:

Added USANS loader/initializer

Updated units of distance for q-calculation (SDD)

status display bug fixed

File:
1 edited

Legend:

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

    r1059 r1061  
    401401                                        yctr = V_getDet_beam_center_y_mm(gCurDispType,detStr)    
    402402                                         
    403                                         sdd = V_getDet_ActualDistance(gCurDispType,detStr)      / 100   //written in cm, pass in meters 
     403                                        sdd = V_getDet_ActualDistance(gCurDispType,detStr)              //written in cm, pass in [cm] 
    404404                                        lam = V_getWavelength(gCurDispType)             //A 
    405405//                                      pixSizeX = V_getDet_x_pixel_size(gCurDispType,detStr)           // written mm? need mm 
     
    769769// now part of every tab click 
    770770//// update the status when the tab is clicked                   
    771 //                      STRUCT WMButtonAction sa 
    772 //                      sa.eventCode = 2 
    773 //                      V_StatusButtonProc(sa) 
     771                        STRUCT WMButtonAction sa 
     772                        sa.eventCode = 2 
     773                        V_StatusButtonProc(sa) 
    774774 
    775775                        break 
     
    900900                        Variable curTab = V_value 
    901901                         
     902//                      // fake this, since if the tab was clicked, it hasn't been updated yet and we're off by one 
     903//                      if(ba.eventCode == 3) 
     904//                              curTab += 1 
     905//                              if(curTab == 3) 
     906//                                      curTab = 0 
     907//                              endif 
     908//                      endif 
     909                         
     910                        // 
    902911                        str = "Current data is from "+ type + "\r" 
    903912                        str += "Description = "+V_getSampleDescription(type) + "\r" 
Note: See TracChangeset for help on using the changeset viewer.