Ignore:
Timestamp:
Oct 4, 2019 8:56:43 AM (3 years ago)
Author:
srkline
Message:

Corrections to the NGB30mSANS attenuator tables (for 3A data only).

Corrections to the sample aperture units on VSANS (change in NICE on 5/22/19).

Additions for the super white beam mode on VSANS - still in progress.

Location:
sans/Dev/trunk/NCNR_User_Procedures/Common/Packages
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/Common/Packages/LinearizedFits/LinearizedFits_v40.ipf

    r888 r1219  
    524524        // ShortFileNameString is the currently selected data set, so make the user find the right data set 
    525525        // 
    526         Variable maxLength=25 
     526        Variable maxLength 
     527        if(IgorVersion() < 8) 
     528                maxLength = 25 
     529        else 
     530                maxLength = 40 
     531        endif 
     532         
    527533        if(strlen(partialName) > maxLength) 
    528534                // get user input, from a list of all of the data folder names 
  • sans/Dev/trunk/NCNR_User_Procedures/Common/Packages/PlotManager/PlotUtilsMacro_v40.ipf

    r1164 r1219  
    10861086// returns a shortened file name (26 characters max) so that the loader 
    10871087// won't try to create Igor objects that have names that are longer than 31 
    1088 //  
     1088// 
     1089// if Igor 8+, use longer names (within reason) 
     1090// 
    10891091Function/S ShortFileNameString(inStr) 
    10901092        String inStr 
    10911093 
    10921094        String outStr="" 
    1093         Variable maxLength=25 
     1095        Variable maxLength 
     1096         
     1097        if(IgorVersion() < 8) 
     1098                maxLength = 25 
     1099        else 
     1100                maxLength = 40 
     1101        endif 
     1102         
     1103         
    10941104        Variable nameTooLong=0 
    10951105        String/G root:Packages:NIST:gShortNameStr = inStr[0,maxLength-1] 
Note: See TracChangeset for help on using the changeset viewer.