- Timestamp:
- Oct 22, 2009 2:37:45 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Dev/trunk/NCNR_User_Procedures/Reduction/USANS/Main_USANS.ipf
r570 r578 608 608 endif 609 609 //Print fname 610 err = LoadBT5File(fname,"RAW") 611 if(err) 612 return(err) 613 endif 614 //if the "Raw Data" Graph exists, do nothing - else draw it 615 //DoWindow/F RawDataWin 616 if(WinType("RawDataWin")!=1) 617 Execute "GraphRawData()" 618 else 619 //just update the textbox 620 //String textStr=StringForRawGraph() 621 //TextBox/W=RawDataWin/C/N=text1/A=RC/X=0.50/Y=-2 textStr 622 //TextBox/W=RawDataWin/C/E=2/A=MT/X=0/Y=0/N=text0 textStr 623 TitleForRawGraph() 624 Endif 610 if(strlen(fileWave[ii]) > 0) //make sure that this is not a click in blank space 611 err = LoadBT5File(fname,"RAW") 612 if(err) 613 return(err) 614 endif 615 //if the "Raw Data" Graph exists, do nothing - else draw it 616 //DoWindow/F RawDataWin 617 if(WinType("RawDataWin")!=1) 618 Execute "GraphRawData()" 619 else 620 //just update the textbox 621 //String textStr=StringForRawGraph() 622 //TextBox/W=RawDataWin/C/N=text1/A=RC/X=0.50/Y=-2 textStr 623 //TextBox/W=RawDataWin/C/E=2/A=MT/X=0/Y=0/N=text0 textStr 624 TitleForRawGraph() 625 Endif 626 endif 625 627 //bring the panel back to the front 626 628 DoWindow/F USANS_Panel … … 692 694 endif 693 695 //Print fname 694 ReadBT5Header(fname) 696 if(strlen(fileWave[ii]) > 0) //make sure that this is not a click in blank space 697 ReadBT5Header(fname) 698 endif 695 699 End 696 700
Note: See TracChangeset
for help on using the changeset viewer.