Ignore:
Timestamp:
May 13, 2019 11:20:55 AM (4 years ago)
Author:
srkline
Message:

added button for avg mask on main display panel

added more aperture fields to the patch panel

added time comparisons for potential use in aperture dimension change done in NICE in May shutdown

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS/V_ISO8601_Util.ipf

    r1024 r1150  
    8282        s2 = ISOstr[11,18]              // skip the "T" and take the next 8 chars HH:MM:SS 
    8383        // skip the time zone... 
    84         print s1 
    85         print s2 
     84//      print s1 
     85//      print s2 
    8686         
    8787        Variable yr,mo,dy,hh,mm,ss 
     
    100100        return(secs) 
    101101End 
     102 
     103 
     104// utility to compare two iso dates 
     105// returns 
     106// 1 if iso1 is greater than iso2 (meaning iso1 is more RECENT) 
     107// 2 if iso2 is greater than iso1 (meaning iso2 is more RECENT) 
     108// 0 if they are the same time 
     109// 
     110// 
     111Function V_Compare_ISO_Dates(iso1,iso2) 
     112        String iso1,iso2 
     113         
     114        if(V_ISO8601_to_IgorTime(iso1) == V_ISO8601_to_IgorTime(iso2)) 
     115                return(0) 
     116        endif 
     117 
     118        if(V_ISO8601_to_IgorTime(iso1) > V_ISO8601_to_IgorTime(iso2)) 
     119                return(1) 
     120        else 
     121                return(2) 
     122        endif 
     123         
     124        return(-1) 
     125End 
     126 
Note: See TracChangeset for help on using the changeset viewer.