Ignore:
Timestamp:
Jul 22, 2009 5:43:18 PM (14 years ago)
Author:
srkline
Message:

(1) changes to ProDiv? to get the linear scaling correct with the new panel.

(2) bug fix in NCNR_Utils in file open dialog

(3) assorted changes to SASCALC and Simulation procedures to allow 1D simulation of data collection. 2D is now hidden and will be brought back later, as needed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS/ProDiv.ipf

    r511 r541  
    411411                case 2: // mouse up 
    412412                        // click code here 
     413                         
     414                        //temporarily set data display to linear 
     415                        NVAR gLog = root:myGlobals:gLogScalingAsDefault 
     416                        Variable oldState = gLog 
     417                        gLog=0  //linear 
     418                         
     419                         
    413420                        SVAR gPlex = root:myGlobals:Protocols:gPlex 
    414421                        SVAR gPlexBgd = root:myGlobals:Protocols:gPlexBgd 
     
    507514                //write out the new data file 
    508515                        WriteVAXWorkFile("STO") 
    509                                          
     516                                 
     517                        gLog=oldState           //revert display preference to old state         
    510518                        break 
    511519        endswitch 
Note: See TracChangeset for help on using the changeset viewer.