(saveFormat "2.3")
(date "Thu 26/Feb/2004 20:16:00 ")
(veerev "6.2")
(platform "PC")
(execMode v6)
(prefExecMode v9)
(filterNAN 0)
(workspaceStackingOrder M)
(SaveCF no)
(device 0 ROOTCONTEXT
(properties
(trigMode deg)
(nextID 26)
(popupTitleText "Trapping an Error")
(popupMoveable 1)
(popupTitleTextColor "Black")
(popupTitleBackgroundColor "Gray")
(deleteGlobals 0))
(deviceList
(device 4 ESCAPE
(properties
(name "Raise Error #1")
(errorCode 2001)
(message "You Cannot Divide By Zero.  Enter another value for B.")))
(device 8 TEXTDISPLAY
(interface
(input 1
(name "Data"))))
(device 10 IFTHENELSE
(properties
(cases 1 "A==511"))
(interface
(input 1
(name "A")
(optional yes))
(output 1
(name "Then")
(lock name constraints))
(output 2
(name "Else")
(lock name constraints))))
(device 16 CONSTANT
(properties
(name "Real"))
(interface
(output 1
(name "Real")
(lock name constraints)))
(implementation
(value Real
(data  0))
(initValue Real
(data  0))))
(device 18 CONSTANT
(properties
(name "Real"))
(interface
(output 1
(name "Real")
(lock name constraints)))
(implementation
(value Real
(data  1))
(initValue Real
(data  0))))
(device 21 FORMULA
(properties
(name "A/B")
(expr 1 "A/B"))
(interface
(input 1
(name "A")
(optional yes))
(input 2
(name "B")
(optional yes))
(output 1
(name "Result")
(tag "Result")
(lock name constraints)
(optional yes))
(output 2
(type exception)
(name "Error")
(lock name constraints)
(optional yes))))
(device 22 ESCAPE
(properties
(name "Raise Error #2")
(errorCode 511)
(message "See online help for error number below:"))
(interface
(input 1
(name "Code")
(tag "Code")
(requires
(datatype Int16)
(shape "Scalar"))
(lock constraints)
(optional yes)
(buffer YES))))
(device 24 NOTE
(properties
(name "Information")
(text2 7 "This example shows how to use the "
"Raise Error object to trap an error" "in an VEE program.  For further "
"information, see the \"VEE Help\" topic" "\"To Trap an Error\"." "" "")))
(device 25 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 D2:1 D0:0)
(connect D5:1 D1:1)
(connect D5:2 D2:1)
(connect D4:1 D5:1)
(connect D3:1 D5:2)
(connect D2:2 D6:0)
(connect D5:2 D6:1)))
(contextCarrier
(wndOrigin 2 2)
(wndState res)
(active detail)
(detail
(extent 1000 573)
(anchorPt 738 348)
(configuration
(devCarrierFor 4
(active open)
(icon
(extent 101 0))
(open
(extent 473 74))
(pinCenter 0 0))
(devCarrierFor 8
(active open)
(icon)
(open
(extent 143 42))
(pinCenter -350 -100))
(devCarrierFor 10
(active open)
(icon)
(open
(extent 77 70))
(terminals on)
(pinCenter -365 0))
(devCarrierFor 16
(active open)
(icon)
(open
(extent 77 28)
(showFormat real))
(pinCenter -690 -10))
(devCarrierFor 18
(active open)
(icon)
(open
(extent 79 27)
(showFormat real))
(pinCenter -690 -70))
(devCarrierFor 21
(active open)
(icon
(extent 26 0))
(open
(extent 69 110))
(terminals on)
(pinCenter -560 -40))
(devCarrierFor 22
(active open)
(icon
(extent 101 0))
(open
(extent 368 78))
(terminals on)
(pinCenter -250 130))
(devCarrierFor 24
(active open)
(icon
(extent 77 0)
(iconImage "notepad.icn"))
(open
(extent 402 136)
(editing disabled))
(title off)
(pinCenter -130 -260))
(devCarrierFor 25
(active icon)
(icon
(extent 338 48)
(iconImage "disclaim.icn")
(label off))
(open
(extent 410 78)
(editing enabled))
(pinCenter -540 -260))
(connect D2:1 D0:0
(points 5 -284 -20 -260 -20 -260 -80 0 -80 0 -58))
(connect D5:1 D1:1
(points 4 -473 -70 -450 -70 -450 -100 -424 -100))
(connect D5:2 D2:1
(points 4 -473 -10 -460 -10 -460 0 -436 0))
(connect D4:1 D5:1
(points 2 -648 -70 -627 -70))
(connect D3:1 D5:2
(points 2 -649 -10 -627 -10))
(connect D2:2 D6:0
(points 3 -284 20 -260 20 -260 70))
(connect D5:2 D6:1
(points 6 -473 -10 -460 -10 -460 40 -510 40 -510 130 -487 130)))
(stackingOrder 5 2 6 1 3 4 0 7 8))
(numberFormats
(realFormat standard)
(realSigDigits 4)
(realRadixSpec 4)
(integerBase decimal))))
