Ignore:
Timestamp:
Jun 6, 2008 11:03:22 AM (15 years ago)
Author:
srkline
Message:

Added menu option to all 3 templates for "Check for Updates". Includes for each template now include the FTP procedure file.

Added a condition to CheckIfRawData? (NCNR_Utils) to look for very small files. Small files (cleanout.txt is 2 bytes) were moving past EOF and displaying an error dialog.

Location:
sans/Dev/trunk/NCNR_User_Procedures/SANS
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/SANS/Analysis/Models/SA_includes_v400.ipf

    r354 r377  
    2222#include "GizmoCylinder_v40" 
    2323 
     24#include "CheckVersionFTP"                              //added June 2008 
     25 
     26 
    2427Menu "SANS Models" 
    2528        "Fit Manager", Init_WrapperPanel() 
     
    4447        "Feedback or Bug Report",OpenTracTicketPage() 
    4548        "Open Help Movie Page",OpenHelpMoviePage() 
     49        "Check for Updates",CheckForLatestVersion() 
    4650End 
    4751 
  • sans/Dev/trunk/NCNR_User_Procedures/SANS/Reduction/Includes_v510.ipf

    r328 r377  
    5050// new in Jan 2008 
    5151#include "SASCALC" 
     52#include "CheckVersionFTP"                              //added June 2008 
    5253 
    5354// to include the analysis packages, uncomment the following 
  • sans/Dev/trunk/NCNR_User_Procedures/SANS/Reduction/Menu.ipf

    r328 r377  
    4747                "Export 2D ASCII data",Export_RAW_Ascii_Panel() 
    4848        End 
     49        "-" 
     50        "Check for Updates",CheckForLatestVersion() 
    4951//      Submenu "Utility Routines" 
    5052//              "Clear Work Folders" 
  • sans/Dev/trunk/NCNR_User_Procedures/SANS/Reduction/NCNR_Utils.ipf

    r328 r377  
    439439        totalBytes = V_logEOF 
    440440        //Print totalBytes 
     441        if(totalBytes < 100) 
     442                Close refNum 
     443                return(0)               //not a raw file 
     444        endif 
    441445        FSetPos refNum,75 
    442446        FReadLine/N=3 refNum,testStr 
Note: See TracChangeset for help on using the changeset viewer.