(saveFormat "2.0")
(date "Tue 19/Dec/1995 09:22:17 MST")
(veerev "3.2")
(platform "HP9000s700")
(SaveCF no)
(filterNAN 0)
(component 0 ROOTCONTEXT
 (name "Using Sample & Hold")
 (implementation
  (retainGlobals YES)
  (locked no)
  (trigMode deg)
  (nextID 24)
  (component 0 IFTHENELSE
   (interface
	(input 1
	 (name "A")
	 (optional yes)
	)
	(output 1
	 (name "Then")
	 (lock name constraints)
	)
	(output 2
	 (name "Else")
	 (lock name constraints)
	)
   )
   (implementation
	(expr "a MOD 5")
   )
  )
  (component 6 COUNTER
   (name "Counter1")
   (interface
	(input 1
	 (name "Data")
	)
	(output 1
	 (name "Count")
	 (tag "Count")
	 (lock name constraints)
	)
   )
   (implementation
   )
  )
  (component 7 COUNTER
   (name "Counter2")
   (interface
	(input 1
	 (name "Data")
	)
	(output 1
	 (name "Count")
	 (tag "Count")
	 (lock name constraints)
	)
   )
   (implementation
   )
  )
  (component 14 FORCOUNT
   (interface
	(output 1
	 (name "Count")
	 (lock name constraints)
	)
   )
   (implementation
	(count 10)
   )
  )
  (component 15 START25
  )
  (component 16 CONSTANT
   (name "Integer")
   (interface
	(output 1
	 (name "Int32")
	 (lock name constraints)
	)
   )
   (implementation
	(value Int32
	 (data  3)
	)
	(initValue Int32
	 (data  0)
	)
   )
  )
  (component 17 FORMULA
   (name "a + b")
   (interface
	(input 1
	 (name "A")
	 (optional yes)
	)
	(input 2
	 (name "B")
	 (optional yes)
	)
	(output 1
	 (name "Result")
	 (lock name constraints)
	)
   )
   (implementation
	(expr 1 "A+B")
   )
  )
  (component 18 TEXTDISPLAY
   (interface
	(input 1
	 (name "Data")
	)
   )
   (implementation
   )
  )
  (component 20 NOTE
   (implementation
   )
  )
  (component 22 SAMPLEHOLD
   (interface
	(input 1
	 (name "InData")
	 (tag "InData")
	 (lock constraints)
	)
	(input 2
	 (type trigger)
	 (name "XEQ")
	 (lock name constraints)
	)
	(output 1
	 (name "OutData")
	 (tag "OutData")
	 (lock constraints)
	)
   )
  )
  (component 23 NOTE
   (name "Information")
   (implementation
	(text2 5
	  "This example shows how to use the "
	  "Sample & Hold object when looping with flow "
	  "branching.  For further information, see"
	  "\"To Loop Part of an HP VEE Program\" in your"
	  "\"How to Use HP VEE\" manual."
	)
   )
  )
  (configuration
   (connect D3:1 D0:1)
   (connect D0:1 D1:1)
   (connect D0:2 D2:1)
   (connect D4:0 D3:0)
   (connect D3:0 D5:0)
   (connect D9:1 D6:1)
   (connect D5:1 D6:2)
   (connect D6:1 D7:1)
   (connect D2:1 D9:1)
   (connect D3:0 D9:2)
  )
 )
 (viewFor -1
  (active detail)
  (detail
   (geometry 0 53 900 447)
   (configuration
	(viewFor 0
	 (active detail)
	 (icon
	 )
	 (detail
	  (geometry 250 265 91 70)
	 )
	 (terminals on)
	)
	(viewFor 6
	 (active detail)
	 (icon
	  (geometry 0 0 110 0)
	 )
	 (detail
	  (geometry 430 243 120 35)
	 )
	)
	(viewFor 7
	 (active detail)
	 (icon
	  (geometry 0 0 110 0)
	 )
	 (detail
	  (geometry 430 324 121 33)
	 )
	)
	(viewFor 14
	 (active detail)
	 (icon
	  (iconImage "loop.icn")
	 )
	 (detail
	  (geometry 25 284 111 32)
	 )
	)
	(viewFor 15
	 (active detail)
	 (icon
	 )
	 (detail
	  (geometry 55 208 51 24)
	 )
	 (title off)
	)
	(viewFor 16
	 (active detail)
	 (icon
	 )
	 (detail
	  (geometry 28 505 104 30)
	  (showFormat int)
	 )
	)
	(viewFor 17
	 (active icon)
	 (icon
	  (geometry 362 498 36 25)
	 )
	 (detail
	 )
	 (terminals on)
	)
	(viewFor 18
	 (active detail)
	 (icon
	 )
	 (detail
	  (geometry 458 495 144 30)
	 )
	)
	(viewFor 20
	 (active icon)
	 (icon
	  (geometry 481 96 338 48)
	  (iconImage "disclaim.icn")
	  (label off)
	 )
	 (detail
	  (geometry 830 250 200 100)
	  (editing enabled)
	 )
	)
	(viewFor 22
	 (active detail)
	 (icon
	  (geometry 180 378 101 25)
	 )
	 (detail
	  (geometry 224 404 23 73)
	 )
	 (terminals on)
	)
	(viewFor 23
	 (active detail)
	 (icon
	  (geometry 0 0 77 0)
	  (iconImage "notepad.icn")
	 )
	 (detail
	  (geometry 28 70 425 101)
	  (editing disabled)
	 )
	 (title off)
	)
	(connect D3:1 D0:1
	 (points 2 138 300 217 300)
	)
	(connect D0:1 D1:1
	 (points 4 393 280 400 280 400 260 427 260)
	)
	(connect D0:2 D2:1
	 (points 4 393 320 400 320 400 340 427 340)
	)
	(connect D4:0 D3:0
	 (points 2 80 234 80 263)
	)
	(connect D3:0 D5:0
	 (points 2 80 318 80 484)
	)
	(connect D9:1 D6:1
	 (points 4 319 440 330 440 330 500 359 500)
	)
	(connect D5:1 D6:2
	 (points 2 134 520 359 520)
	)
	(connect D6:1 D7:1
	 (points 2 400 510 455 510)
	)
	(connect D2:1 D9:1
	 (points 8 553 340 570 340 570 380 410 380 410 360 150 360 150 420 161 420)
	)
	(connect D3:0 D9:2
	 (points 3 80 318 80 460 161 460)
	)
   )
   (stackingOrder 0 4 2 1 9 6 5 10 8 7
	 3)
  )
  (titleBg "Gray")
  (titleFg "Black")
  (numberFormats
   (realFormat standard)
   (realSigDigits 4)
   (realRadixSpec 4)
   (integerBase decimal)
  )
 )
)
