(saveFormat "2.3")
(date "Thu 26/Feb/2004 20:20:40 ")
(veerev "6.2")
(platform "PC")
(execMode v6)
(prefExecMode v8)
(filterNAN 0)
(workspaceStackingOrder M)
(SaveCF no)
(device 0 ROOTCONTEXT
(properties
(trigMode deg)
(nextID 8)
(popupTitleText "Outputting a Default Value on Timeout")
(popupMoveable 1)
(popupTitleTextColor "Black")
(popupTitleBackgroundColor "Gray")
(deleteGlobals 0))
(deviceList
(device 0 INPUTDLG
(properties
(autoTimeout 1)
(timeout 4)
(position 284 215)
(prompt "Enter the Product Number:")
(initialValue "E2110-90002")
(valueConstraint "strLen(value)>0")
(vErrorMessage "You must enter text."))
(interface
(input 1
(name "Default Value")
(tag "Default Value")
(requires
(datatype Text)
(shape "Scalar"))
(lock constraints)
(optional yes)
(buffer YES))
(output 1
(name "Value")
(lock name constraints))
(output 2
(name "Cancel")
(lock name constraints))
(output 3
(name "Timeout")
(lock name constraints)))
(implementation
(inputType "text")))
(device 1 GATE
(interface
(input 1
(name "A")
(tag "InData"))
(output 1
(name "X")
(tag "OutData")
(lock name constraints))))
(device 2 LITERALCONSTANT
(properties
(name "Text"))
(interface
(output 1
(name "Text")
(lock name constraints)))
(implementation
(value Text
(data  "E2110-90002"))
(initValue Text
(data  ""))))
(device 3 JUNCTION
(properties
(name "JCT"))
(interface
(input 1
(name "A"))
(input 2
(name "B"))
(output 1
(name "Data")
(lock name constraints))))
(device 4 TEXTDISPLAY
(interface
(input 1
(name "Data"))))
(device 6 CONTEXT
(properties
(name "Press For")
(trigMode deg)
(nextID 3))
(deviceList
(device 0 IFTHENELSE
(properties
(name "!= 0")
(cases 1 "a!=0"))
(interface
(input 1
(name "A")
(optional yes))
(output 1
(name "Then")
(lock name constraints))
(output 2
(name "Else")
(lock name constraints))))
(device 1 TOGGLE25
(properties
(name "Info About")
(autoTrigger 1))
(interface
(input 1
(type control)
(name "Reset")
(lock name constraints)
(optional yes))
(output 1
(lock name constraints)))
(implementation
(value Int32
(data  0))
(initValue Int32
(data  0))))
(device 2 CONTEXT
(properties
(name "Info About This Example")
(trigMode deg)
(nextID 3)
(popupMoveable 1))
(deviceList
(device 0 CONFIRM25
(properties
(name "DONE")
(description2 7 "This tiny \"thread\" begins running when the"
"enclosing UserObject is executed.  When the user"
"acknowledges the OK/DONE button, there is nothing"
"left to execute, so the thread ends.  Since there"
"are not other threads running, the User Object"
"is completed and will exit, removing the Show on" "execute Panel."))
(interface
(output 1
(name "Go")
(lock name constraints)))
(implementation))
(device 2 NOTE
(properties
(text2 15 "" "PURPOSE: To demonstrate outputting"
"the default value from a Dialog Box" "object when it times out. " ""
"USER DATA REQUIRED:  Press Run." "" "EXPLANATION: When a Dialog Box"
"objects times out, a \"1\" is output on the"
"Timeout output pin. Often, you want" "to output a value instead. " ""
"For more details, see the \"VEE Help\" topic"
"\"To Output a Value on Timeout\"." "")))
(configuration)
(ShowOnExecPanel
(relativeOrigin 366 154)))
(contextCarrier
(active panel)
(panel
(extent 539 345)
(widget 0 detail
(relativeOrigin 240 300)
(title off)
(borderStyle flat)
(extent 66 34))
(widget 1 detail
(relativeOrigin 10 10)
(title on)
(borderStyle flat)
(extent 516 258)
(editing disabled)))
(detail
(extent 544 475)
(anchorPt 274 397)
(configuration
(devCarrierFor 0
(active open)
(icon
(extent 45 24))
(open
(extent 58 37))
(title off)
(pinCenter 0 0))
(devCarrierFor 2
(active icon)
(icon
(extent 71 51)
(iconImage "notepad.icn"))
(open
(extent 451 295)
(editing enabled))
(pinCenter -20 -210)))
(stackingOrder 0 1))))
(configuration
(connect D1:1 D0:1)
(connect D2:0 D1:1)
(connect D0:1 D2:0)))
(contextCarrier
(active panel)
(panel
(extent 319 77)
(widget 1 detail
(relativeOrigin 100 11)
(title off)
(borderStyle flat)
(extent 114 39)
(scaled on)
(format button)))
(detail
(extent 327 264)
(anchorPt 241 76)
(configuration
(devCarrierFor 0
(active icon)
(icon
(extent 46 25))
(open
(extent 73 64))
(terminals on)
(pinCenter 0 0))
(devCarrierFor 1
(active open)
(icon
(extent 81 24))
(open
(extent 114 39)
(scaled on)
(format button))
(title off)
(pinCenter -130 0))
(devCarrierFor 2
(active icon)
(icon
(extent 217 25))
(open
(extent 539 334)
(carbonCopy))
(pinCenter -80 83))
(connect D1:1 D0:1
(points 2 -71 0 -26 0))
(connect D2:0 D1:1
(points 5 -80 98 -80 123 -210 123 -210 0 -190 0))
(connect D0:1 D2:0
(points 5 25 -10 50 -10 50 43 -80 43 -80 68)))
(stackingOrder 0 1 2))))
(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 D2:1 D0:1)
(connect D0:3 D1:0)
(connect D2:1 D1:1)
(connect D0:1 D3:1)
(connect D1:1 D3:2)
(connect D3:1 D4:1)))
(contextCarrier
(wndOrigin 2 2)
(wndState res)
(active detail)
(detail
(extent 900 447)
(anchorPt 295 102)
(configuration
(devCarrierFor 0
(active open)
(icon)
(open
(extent 346 126))
(terminals on)
(pinCenter 15 0))
(devCarrierFor 1
(active icon)
(icon
(extent 49 31))
(open)
(terminals on)
(pinCenter 280 150))
(devCarrierFor 2
(active open)
(icon)
(open
(extent 214 29))
(pinCenter -160 150))
(devCarrierFor 3
(active icon)
(icon
(extent 40 25))
(open)
(terminals on)
(pinCenter 370 -30))
(devCarrierFor 4
(active open)
(icon)
(open
(extent 146 25))
(pinCenter 480 -30))
(devCarrierFor 6
(active open)
(icon
(extent 110 25))
(open
(extent 319 77)
(carbonCopy))
(bg "Light Blue Gray")
(pinCenter -100 250))
(devCarrierFor 7
(active icon)
(icon
(extent 338 48)
(iconImage "disclaim.icn")
(label off))
(open
(extent 410 78)
(editing enabled))
(pinCenter 280 230))
(connect D2:1 D0:1
(points 6 -51 150 -30 150 -30 100 -280 100 -280 0 -251 0))
(connect D0:3 D1:0
(points 3 250 40 280 40 280 132))
(connect D2:1 D1:1
(points 2 -51 150 253 150))
(connect D0:1 D3:1
(points 2 250 -40 347 -40))
(connect D1:1 D3:2
(points 4 307 150 330 150 330 -20 347 -20))
(connect D3:1 D4:1
(points 2 392 -30 404 -30)))
(stackingOrder 2 1 4 3 0 5 6))
(numberFormats
(realFormat standard)
(realSigDigits 4)
(realRadixSpec 4)
(integerBase decimal))))
