Ignore:
Timestamp:
Oct 7, 2008 1:09:04 PM (14 years ago)
Author:
ajj
Message:

Moving data folders into root:Packages:NIST

This could be hairy.

File:
1 edited

Legend:

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

    r412 r418  
    2020         
    2121        String destStr="" 
    22         destStr = "root:"+type 
     22        destStr = "root:Packages:NIST:"+type 
    2323         
    2424        Variable refNum 
     
    9999        hdrStr2 += num2str(rw[25])+"    "+num2str(rw[27])+"    "+num2str(rw[21])+"    "+textW[9] + "\r\n" 
    100100         
    101         SVAR samFiles = $("root:"+type+":fileList") 
     101        SVAR samFiles = $("root:Packages:NIST:"+type+":fileList") 
    102102        //actually open the file here 
    103103        Open refNum as fullpath 
     
    155155         
    156156        String destStr 
    157         destStr = "root:"+type 
     157        destStr = "root:Packages:NIST:"+type 
    158158         
    159159        Variable refNum 
     
    218218        hdrStr2 += num2str(rw[25])+"    "+num2str(rw[27])+"    "+num2str(rw[21])+"    "+textW[9] + "\r\n" 
    219219         
    220         SVAR samFiles = $("root:"+type+":fileList") 
     220        SVAR samFiles = $("root:Packages:NIST:"+type+":fileList") 
    221221        //actually open the file here 
    222222        Open refNum as fullpath 
     
    290290        print "type=",type 
    291291        //graph the current data and save a little graph 
    292         Wave data =  $("root:"+type+":data") 
     292        Wave data =  $("root:Packages:NIST:"+type+":data") 
    293293        Wave q_x_axis = $"root:myGlobals:q_x_axis" 
    294294        Wave q_y_axis = $"root:myGlobals:q_y_axis" 
     
    337337        String destStr="",ave="C",typeStr="" 
    338338        Variable step=1,refnum 
    339         destStr = "root:"+type 
     339        destStr = "root:Packages:NIST:"+type 
    340340         
    341341        //must select the linear_data to export 
     
    364364                Wave/T proto=$("root:myGlobals:Protocols:"+gProtoStr) 
    365365        endif 
    366         SVAR samFiles = $("root:"+type+":fileList") 
     366        SVAR samFiles = $("root:Packages:NIST:"+type+":fileList") 
    367367        //check each wave - MUST exist, or will cause a crash 
    368368        If(!(WaveExists(data))) 
     
    468468        Variable refnum 
    469469         
    470         destStr = "root:"+type 
     470        destStr = "root:Packages:NIST:"+type 
    471471         
    472472        //must select the linear_data to export 
     
    643643        String destStr="",typeStr="" 
    644644        Variable step=1,refnum 
    645         destStr = "root:"+type 
     645        destStr = "root:Packages:NIST:"+type 
    646646         
    647647        //must select the linear_data to export 
     
    669669                Wave/T proto=$("root:myGlobals:Protocols:"+gProtoStr) 
    670670        endif 
    671         SVAR samFiles = $("root:"+type+":fileList") 
     671        SVAR samFiles = $("root:Packages:NIST:"+type+":fileList") 
    672672        //check each wave - MUST exist, or will cause a crash 
    673673        If(!(WaveExists(data))) 
Note: See TracChangeset for help on using the changeset viewer.