Changeset 923 for sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS
- Timestamp:
- Sep 19, 2013 2:24:48 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS/EventModeProcessing.ipf
r918 r923 247 247 Button button14,pos={488,350},size={120,20},proc=Stream_LoadDecim,title="Load Split List" 248 248 Button button19,pos={619,350},size={120,20},proc=Stream_LoadAdjustedList,title="Load Edited List" 249 Button button20,pos={650,376},size={90,20},proc=ShowList_ToLoad,title="Show List" 249 250 SetVariable setvar3,pos={487,378},size={150,16},title="Decimation factor" 250 251 SetVariable setvar3,fSize=10 … … 1108 1109 1109 1110 SetDataFolder root:Packages:NIST:Event 1111 1112 Wave slicedData = slicedData 1113 Wave logSlicedData = logSlicedData 1114 Wave dispSliceData = dispSliceData 1115 1110 1116 if(checked) 1117 logslicedData = log(slicedData) 1111 1118 Duplicate/O logslicedData dispsliceData 1112 1119 else … … 2371 2378 2372 2379 // load in the waves, saved as Igor text to preserve the data type 2373 LoadWave/T/O 2380 LoadWave/T/O/P=catPathName 2374 2381 filePathStr = S_fileName 2375 2382 if(strlen(S_fileName) == 0) … … 2983 2990 SVAR str = root:Packages:NIST:Event:gSplitFileList 2984 2991 2985 Make/O/T/N=1 root:Packages:NIST:Event:SplitFileWave 2986 WAVE tw = root:Packages:NIST:Event:SplitFileWave 2987 2992 WAVE/T/Z tw = root:Packages:NIST:Event:SplitFileWave 2993 if(waveExists(tw) != 1) 2994 Make/O/T/N=1 root:Packages:NIST:Event:SplitFileWave 2995 WAVE/T/Z tw = root:Packages:NIST:Event:SplitFileWave 2996 endif 2997 2988 2998 List2TextWave(str,tw) 2989 2999 Edit tw … … 3038 3048 case 2: 3039 3049 DoAlert 0,"The accumulated data is now the display data and is ready for display or export." 3040 Duplicate/O accumulatedData slicedData 3050 Duplicate/O accumulatedData slicedData 3051 // do something to "touch" the display to force it to update 3052 NVAR gLog = root:Packages:NIST:Event:gEvent_logint 3053 LogIntEvent_Proc("",gLog) 3041 3054 break 3042 3055 default: … … 3367 3380 End 3368 3381 3382 Function ShowList_ToLoad(ctrlName) 3383 String ctrlName 3384 3385 ShowSplitFileTable() 3386 3387 return(0) 3388 End 3369 3389 3370 3390
Note: See TracChangeset
for help on using the changeset viewer.