(saveFormat "2.0")
(date "Tue 19/Dec/1995 09:24:39 MST")
(veerev "3.2")
(platform "HP9000s700")
(SaveCF no)
(filterNAN 0)
(component 0 ROOTCONTEXT
 (name "Downloading To Instruments")
 (implementation
  (retainGlobals YES)
  (locked no)
  (trigMode rad)
  (nextID 12)
  (component 0 NOTE
   (name "Warranty Disclaimer")
   (implementation
	(text2 4
	  "This example is provided as an"
	  "illustration \"as is\", and Hewlett-Packard"
	  "Company makes no warranty of any kind"
	  "with regard to this example."
	)
   )
  )
  (component 1 START25
  )
  (component 2 IODEVICE
   (name "HP 3852A ( @ (NOT LIVE))")
   (implementation
	(transactions 1
	  "WRITE TEXT \"SCRATCH\" STR EOL"
	)
	(comp iopath "HP 3852A")
   )
  )
  (component 3 REPEATUNTILBREAK
   (interface
	(output 1
	 (name "Continuous")
	 (lock name constraints)
	)
   )
  )
  (component 4 FROMFILE
   (interface
	(output 1
	 (name "X")
	 (lock constraints)
	 (optional yes)
	)
	(output 2
	 (name "EOF")
	 (tag "EOF")
	 (lock name constraints)
	 (optional yes)
	)
   )
   (implementation
	(transactions 1
	  "READ TEXT x STR MAXFW:80"
	)
	(attr iopath file read "~installDir/examples/manual/manual17.dat"
	 (readTerm "\n")
	 (fs " ")
	 (eol "\n")
	 (multiField fullSyntax)
	 (arrayFormat block)
	)
   )
  )
  (component 5 IODEVICE
   (name "HP 3852A ( @ (NOT LIVE))")
   (interface
	(input 1
	 (name "Mysub")
	 (tag "A")
	 (optional yes)
	)
   )
   (implementation
	(transactions 1
	  "WRITE TEXT MySub STR EOL"
	)
	(comp iopath "HP 3852A")
   )
  )
  (component 6 START25
  )
  (component 7 IODEVICE
   (name "HP 3852A ( @ (NOT LIVE))")
   (implementation
	(transactions 1
	  "WRITE TEXT \"CALL BEEP2\" STR EOL"
	)
	(comp iopath "HP 3852A")
   )
  )
  (component 8 NOTE
   (name "Thread #2")
   (implementation
	(text2 1
	  "This thread calls the subroutine. "
	)
   )
  )
  (component 9 BREAK
  )
  (component 10 NOTE
   (name "Thread #1")
   (implementation
	(text2 3
	  "This thread erases the HP 3852A\'s "
	  "subroutine memory and downloads the"
	  "specified subroutine."
	)
   )
  )
  (component 11 NOTE
   (name "Info About")
   (implementation
	(text2 16
	  "Overview:"
	  "This program illustrates one method for downloading"
	  "measurement subroutines or macros to programmable"
	  "instruments. "
	  ""
	  "Details:"
	  "This model uses the HP 3852A Data Acquisition system"
	  "as an example of an intelligent programmable instrument."
	  "The subroutine \"BEEP2\" downloaded to the HP 3852A "
	  "simply sounds the HP 3852A beeper twice.  "
	  ""
	  "The downloaded subroutine is created and"
	  "maintained in a separate text file.  Thread #1"
	  "reads the text file and downloads it to the instrument."
	  "Thread #2 calls the subroutine in the 3852."
	  ""
	)
   )
  )
  (configuration
   (connect D1:0 D2:0)
   (connect D2:0 D3:0)
   (connect D3:1 D4:0)
   (connect D4:1 D5:1)
   (connect D6:0 D7:0)
   (connect D4:2 D9:0)
  )
 )
 (viewFor -1
  (active detail)
  (detail
   (geometry 0 53 900 447)
   (configuration
	(viewFor 0
	 (active icon)
	 (icon
	  (geometry 31 66 338 48)
	  (iconImage "disclaim.icn")
	  (label off)
	 )
	 (detail
	  (geometry 22 109 397 82)
	  (editing disabled)
	 )
	)
	(viewFor 1
	 (active detail)
	 (icon
	  (geometry -21 -7 42 15)
	 )
	 (detail
	  (geometry 156 191 69 39)
	 )
	 (title off)
	)
	(viewFor 2
	 (active detail)
	 (icon
	  (iconImage "io.icn")
	 )
	 (detail
	  (geometry 39 278 303 45)
	 )
	 (terminals on)
	)
	(viewFor 3
	 (active icon)
	 (icon
	  (geometry 135 348 110 64)
	  (iconImage "loop.icn")
	 )
	 (detail
	 )
	 (terminals on)
	)
	(viewFor 4
	 (active detail)
	 (icon
	  (geometry 585 408 110 25)
	 )
	 (detail
	  (geometry 46 461 518 78)
	 )
	 (terminals on)
	)
	(viewFor 5
	 (active detail)
	 (icon
	  (iconImage "io.icn")
	 )
	 (detail
	  (geometry 730 454 251 53)
	 )
	 (terminals on)
	)
	(viewFor 6
	 (active detail)
	 (icon
	  (geometry -21 -7 42 15)
	 )
	 (detail
	  (geometry 186 571 69 39)
	 )
	 (title off)
	)
	(viewFor 7
	 (active detail)
	 (icon
	  (geometry 206 618 289 64)
	  (iconImage "io.icn")
	 )
	 (detail
	  (geometry 58 664 325 52)
	 )
	 (terminals on)
	)
	(viewFor 8
	 (active detail)
	 (icon
	  (geometry 0 0 110 0)
	 )
	 (detail
	  (geometry 452 667 337 46)
	  (editing disabled)
	 )
	)
	(viewFor 9
	 (active icon)
	 (icon
	  (geometry 641 548 78 25)
	 )
	 (detail
	  (geometry 645 565 70 30)
	 )
	 (terminals on)
	)
	(viewFor 10
	 (active detail)
	 (icon
	  (geometry 0 0 110 0)
	 )
	 (detail
	  (geometry 403 343 375 75)
	  (editing disabled)
	 )
	)
	(viewFor 11
	 (active detail)
	 (icon
	  (geometry 0 0 110 0)
	 )
	 (detail
	  (geometry 387 88 566 224)
	  (editing disabled)
	 )
	)
	(connect D1:0 D2:0
	 (points 2 190 232 190 257)
	)
	(connect D2:0 D3:0
	 (points 2 190 325 190 345)
	)
	(connect D3:1 D4:0
	 (points 3 247 380 310 380 310 440)
	)
	(connect D4:1 D5:1
	 (points 2 606 480 667 480)
	)
	(connect D6:0 D7:0
	 (points 2 220 612 220 643)
	)
	(connect D4:2 D9:0
	 (points 3 606 520 680 520 680 545)
	)
   )
   (stackingOrder 1 2 3 6 9 0 4 7 8 5
	 10 11)
  )
  (titleBg "Gray")
  (titleFg "Black")
  (numberFormats
   (realFormat standard)
   (realSigDigits 4)
   (realRadixSpec 4)
   (integerBase decimal)
  )
 )
)
