Ignore:
Timestamp:
Apr 5, 2010 4:29:46 PM (12 years ago)
Author:
srkline
Message:

Added routines to enforce short enough names to keep the Igor-generated object names to less than 31 characters (once I add extensions). Changed the ExecuteProtocol? to automatically trim text from the HFIR data file names, since they are ridiculously long.

Added routines in 1D Data loader (and XML loader) to enforce 25 characters, in the case that a long file name was generated by another program.

If XML files are generated, "x" is tagged at the end of the suffix, as in ".ABSx".
Added menu items to each package menu for feedback, movies, and updates

Made sure that new table entry of SamplePosition? did not cause compile errors with other facility templates. right now, this is NCNR-specific, but easity added to other facilities if they provide the stub. then the bits of the table could be added.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/Common/NIST_XML_v40.ipf

    r658 r661  
    6464                                         
    6565                                                SetDataFolder xmlDataSetFolder   
    66                                          
    67                                                 basestr = CleanupName(getXMLDataSetTitle(xmlDataSetFolder,j),0) 
     66                                                //                      enforce a short enough name here to keep Igor objects < 31 chars 
     67                                                basestr = ShortFileNameString(CleanupName(getXMLDataSetTitle(xmlDataSetFolder,j),0)) 
     68                                                baseStr = CleanupName(baseStr,0)                //in case the user added odd characters 
    6869                                                 
    6970                                                //String basestr = ParseFilePath(3, ParseFilePath(5,filestr,":",0,0),":",0,0)                            
Note: See TracChangeset for help on using the changeset viewer.