Ignore:
Timestamp:
Feb 28, 2020 3:01:37 PM (3 years ago)
Author:
srkline
Message:

fix in VSANS transmission to name the panel when updating popup controls

addition to SANS event mode to speedup the non-XOP event file loader. old veriosn was 28x slower than the xop. this version is now only about 5x slower. Still not great, but tolerable if the XOP is not present (macOS notarization issues)

File:
1 edited

Legend:

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

    r1209 r1241  
    185185                        // this resets a global string, since I can't pass a parameter (only constants) in value=fn()            
    186186//                      PopupMenu popup_0,mode=1,value=#gSamMatchList 
    187                         PopupMenu popup_0,mode=1,value=V_getSamListForPopup() 
     187                        PopupMenu popup_0,mode=1,win=V_TransmissionPanel,value=V_getSamListForPopup() 
    188188 
    189189 
    190190// then pop the sample list with the top file to see that it is a match for the transmission file 
    191191                        STRUCT WMPopupAction samPopAct 
    192                         ControlInfo popup_0 
     192                        ControlInfo/W=V_TransmissionPanel popup_0 
    193193                        samPopAct.popStr = S_Value              // the top file 
    194194                        V_TSamFilePopMenuProc(samPopAct) 
     
    218218         
    219219        String transStr 
    220         ControlInfo popup_1                     //the transmission file popup 
     220        ControlInfo/W=V_TransmissionPanel popup_1                       //the transmission file popup 
    221221        transStr = S_Value 
    222222         
     
    251251         
    252252        String openStr 
    253         ControlInfo popup_2             //the open beam popup 
     253        ControlInfo/W=V_TransmissionPanel popup_2               //the open beam popup 
    254254        openStr = S_Value 
    255255         
Note: See TracChangeset for help on using the changeset viewer.