- Timestamp:
- Jun 10, 2011 2:03:45 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Dev/trunk/NCNR_User_Procedures/Reduction/USANS/BT5_AddFiles.ipf
r611 r807 751 751 Proc SelectFilesToAdd(file1,file2) 752 752 String file1,file2 753 Prompt file1, "First File", popup, BT5FileList(" *.bt5*")754 Prompt file2, "Second File", popup, BT5FileList(" *.bt5*")753 Prompt file1, "First File", popup, BT5FileList("") 754 Prompt file2, "Second File", popup, BT5FileList("") 755 755 756 756 // Print file1,file2 … … 763 763 String filter 764 764 765 SVAR ext = root:Packages:NIST:USANS:Globals:MainPanel:gUExt 766 filter = "*"+ext+"*" 765 767 766 768 //get all the files, then trim the list … … 789 791 String file1,file2 790 792 793 SVAR ext = root:Packages:NIST:USANS:Globals:MainPanel:gUExt 794 791 795 //load each file into a textWave 792 796 Make/O/T/N=200 tw1,tw2 … … 893 897 894 898 // write out the final file (=tw3) 895 filen = file1[0,strlen(file1)-5]+"_SUM .bt5"899 filen = file1[0,strlen(file1)-5]+"_SUM"+ext 896 900 897 901 if(dialog)
Note: See TracChangeset
for help on using the changeset viewer.