(saveFormat "2.3")
(date "Thu 26/Feb/2004 21:16:21 ")
(veerev "6.03")
(platform "PC")
(execMode v6)
(prefExecMode v9)
(filterNAN 0)
(workspaceStackingOrder F0 M)
(SaveCF no)
(device 0 ROOTCONTEXT
(automationRefs
(automationRef 1
(libid "{00020813-0000-0000-C000-000000000046}")
(desc "Microsoft Excel 9.0 Object Library")
(filename "C:\\Program Files\\Microsoft Office\\Office\\EXCEL9.OLB")
(verMajor 1)
(verMinor 3)
(lcid 0)))
(properties
(trigMode deg)
(nextID 8)
(popupTitleText "Untitled")
(popupMoveable 1)
(deleteGlobals 0))
(deviceList
(UserFunctions
(nextID 1)
(context 0
(properties
(name "globals")
(trigMode deg)
(nextID 4)
(popupTitleText "UserFunction1")
(popupMoveable 1))
(deviceList
(device 0 DECLVAR
(properties
(name "Declare sheet")
(scope glob)
(globalName "sheet"))
(implementation
(value Object
(data  "ANY "))))
(device 1 DECLVAR
(properties
(name "Declare app")
(scope glob)
(globalName "app"))
(implementation
(value Object
(data  "ANY "))))
(device 2 DECLVAR
(properties
(name "Declare range")
(scope glob)
(globalName "range"))
(implementation
(value Object
(data  "ANY "))))
(device 3 DECLVAR
(properties
(name "Declare window")
(scope glob)
(globalName "window"))
(implementation
(value Object
(data  "ANY "))))
(configuration))
(contextCarrier
(wndOrigin 2 861)
(wndRestoredOrigin 14 82)
(wndRestoredExtent 755 368)
(wndState min)
(active detail)
(detail
(extent 755 368)
(anchorPt -4 -93)
(configuration
(devCarrierFor 0
(active open)
(icon
(extent 84 15))
(open
(extent 344 121))
(pinCenter 190 360))
(devCarrierFor 1
(active open)
(icon
(extent 73 15))
(open
(extent 344 121))
(pinCenter 560 360))
(devCarrierFor 2
(active open)
(icon
(extent 85 15))
(open
(extent 344 121))
(pinCenter 560 200))
(devCarrierFor 3
(active open)
(icon
(extent 96 15))
(open
(extent 344 121))
(pinCenter 190 200)))
(stackingOrder 0 3 2 1)))))
(device 0 CALL
(properties
(name "Call globals")
(callFunc "globals")
(parmMode rev30)))
(device 1 FORMULA
(properties
(name "Set up Excel Worksheet")
(expr 6 "set sheet = CreateObject(\"Excel.Sheet\").worksheets(1);"
"set app = sheet.application;" "app.visible = 1;" "set window = app.windows(1);"
"window.caption = \"Test System Results\";" ""))
(interface
(output 1
(name "Result")
(tag "Result")
(lock name constraints)
(optional yes))))
(device 2 FORMULA
(properties
(name "Fill In Title")
(expr 1 " sheet.cells(1,1) = \"DC Volts\""))
(interface
(output 1
(name "Result")
(tag "Result")
(lock name constraints)
(optional yes))))
(device 3 FORMULA
(properties
(name "Fill in Cells")
(expr 1 " sheet.cells(A+1, 1) = random(1,100)"))
(interface
(input 1
(name "A")
(optional yes))
(output 1
(name "Result")
(tag "Result")
(lock name constraints)
(optional yes))))
(device 4 FORRANGE
(properties
(from 1)
(thru 20)
(step 1))
(interface
(output 1
(name "Data")
(lock name constraints))))
(device 5 FORMULA
(properties
(expr 4 " set range = sheet.range(\"A2:A21\");"
" range.NumberFormat = \"##,#00.00\";" " app.worksheetFunction.average(range);"
""))
(interface
(output 1
(name "Result")
(tag "Result")
(lock name constraints)
(optional yes))))
(device 6 TEXTDISPLAY
(properties
(name "Results Average"))
(interface
(input 1
(name "Data"))))
(device 7 NOTE
(properties
(name "Warranty Disclaimer")
(text2 4 "This example is provided as an illustration"
"\"as is\", and Agilent Technologies makes"
"no warranty of any kind with regard to this" "example.")))
(configuration
(connect D0:0 D1:0)
(connect D1:0 D2:0)
(connect D4:1 D3:1)
(connect D2:0 D4:0)
(connect D4:0 D5:0)
(connect D5:1 D6:1)))
(contextCarrier
(wndRestoredOrigin 2 2)
(wndRestoredExtent 951 594)
(wndState max)
(active detail)
(detail
(extent 1061 864)
(anchorPt -46 -54)
(configuration
(devCarrierFor 0
(active icon)
(icon
(extent 72 15))
(open
(extent 176 51))
(terminals on)
(pinCenter 270 80))
(devCarrierFor 1
(active open)
(icon
(extent 141 0))
(open
(extent 350 129))
(terminals on)
(pinCenter 260 200))
(devCarrierFor 2
(active open)
(icon
(extent 60 0))
(open
(extent 220 57))
(terminals on)
(pinCenter 260 340))
(devCarrierFor 3
(active open)
(icon
(extent 67 0))
(open
(extent 270 76))
(terminals on)
(pinCenter 410 460))
(devCarrierFor 4
(active open)
(icon
(extent 200 98)
(iconImage "loop.icn"))
(open
(extent 121 80))
(pinCenter 140 460))
(devCarrierFor 5
(active open)
(icon)
(open
(extent 260 80))
(terminals on)
(pinCenter 250 610))
(devCarrierFor 6
(active open)
(icon
(extent 99 0))
(open
(extent 224 50))
(pinCenter 640 610))
(devCarrierFor 7
(active icon)
(icon
(extent 338 48)
(iconImage "disclaim.icn")
(label off))
(open
(extent 410 78)
(editing enabled))
(pinCenter 690 310))
(connect D0:0 D1:0
(points 2 270 90 270 115))
(connect D1:0 D2:0
(points 2 270 267 270 291))
(connect D4:1 D3:1
(points 2 203 460 242 460))
(connect D2:0 D4:0
(points 4 270 371 270 390 140 390 140 399))
(connect D4:0 D5:0
(points 4 140 502 140 520 260 520 260 549))
(connect D5:1 D6:1
(points 2 432 610 525 610)))
(stackingOrder 2 4 3 5 6 1 0 7))
(numberFormats
(realFormat standard)
(realSigDigits 4)
(realRadixSpec 4)
(integerBase decimal))))
