(saveFormat "2.3")
(date "Mon 03/Mar/1997 16:47:38 MST")
(veerev "4.0")
(platform "HP9000s700")
(execMode fast)
(filterNAN 0)
(workspaceStackingOrder M)
(SaveCF no)
(device 0 ROOTCONTEXT
(properties
(trigMode rad)
(nextID 11)
(popupTitleText "From DataSet Example")
(popupMoveable 1)
(popupTitleTextColor "Black")
(popupTitleBackgroundColor "Gray")
(deleteGlobals 0))
(deviceList
(device 0 FROMDATASET
(properties
(readRecs one)
(expr 1 "1"))
(interface
(output 1
(name "Rec")
(tag "records")))
(implementation
(attr iopath file read "/tmp/myData"
(readTerm "\n")
(fs " ")
(eol "\n")
(multiField fullSyntax)
(arrayFormat block))))
(device 1 FROMRECORD
(interface
(input 1
(name "Record Data")
(requires
(datatype Record))
(lock name constraints))
(output 1
(name "Name List")
(tag "Name List")
(lock name constraints)
(optional yes))
(output 2
(name "Type List")
(tag "Type List")
(lock name constraints)
(optional yes))
(output 3
(name "SIneWave")
(optional yes))
(output 4
(name "Noise")
(optional yes))))
(device 2 YPLOT
(properties
(name "Sine Wave"))
(interface
(input 1
(name "Trace1")
(lock constraints)))
(implementation
(tracePin 1)
(graphMode rectangular)))
(device 3 YPLOT
(properties
(name "Noise"))
(interface
(input 1
(name "Trace1")
(lock constraints)))
(implementation
(tracePin 1)
(graphMode rectangular)))
(device 4 YPLOT
(properties
(name "Sine + Noise"))
(interface
(input 1
(name "Trace1")
(lock constraints)))
(implementation
(tracePin 1)
(graphMode rectangular)))
(device 5 FORMULA
(properties
(name " + ")
(expr 1 "X+Y"))
(interface
(input 1
(name "X")
(optional yes))
(input 2
(name "Y")
(optional yes))
(output 1
(name "Result")
(tag "Result")
(lock name constraints)
(optional yes))))
(device 8 CONTEXT
(properties
(name "Press For")
(description2 10 "This User Object is the outermost \"context\""
"for the InfoAbout help device.  Within this"
"device is the pop-up panel containing the info"
"Notepad.  If all you can see is a device with"
"\"Press For\", you should double-click the left"
"mouse button on the Press For to restore the"
"Panel View of the device.  To see how this device"
"operates, click on the Info About button first,"
"then press the Detail button in the \"Press For\"" "title bar.")
(trigMode deg)
(nextID 4))
(deviceList
(device 0 TOGGLE25
(properties
(name "Info About")
(description2 17 "This is a toggle device with the name changed to"
"reflect it\'s function.  The output of the device"
"is \"0\" when the button is up, and \"1\" when the" "button is down.  " ""
"A Reset Control Input terminal has been added to"
"to always pop the button back out after showing"
"the pop-up help (Info About This Example) User" "Object." ""
"The Toggle has set the \"AutoExecute\" option to let"
"it operate even when the RUN button in the title"
"bar has not been pressed.  Note, however, that"
"AutoExecute only works when no other threads are"
"operating, either from their Start buttons or from" "the RUN button." "")
(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")
(description2 10 "This is a User Object that has both a detail view"
"and a Panel view.  If this device is visible as"
"an icon, you must double-click the left mouse"
"button to \"open up\" the non-iconic view." ""
"Since the User Object has both a Panel and Detail"
"view, when you double-click on the icon, you will"
"first see the Panel view.  To see the components"
"of the User Object, press the Detail button in"
"the \"Info About This Example\" title bar.")
(trigMode deg)
(nextID 2)
(popupMoveable 1))
(deviceList
(device 0 NOTE
(properties
(name "NotePad")
(description2 11 "This notepad is displayed as a Show on Execute"
"panel to present the information to the reader." ""
"It has been \"Added to Panel\" of the \"Info About"
"This Example\" user object, thus it is not "
"necessary to keep it as an open device inside the"
"Detail view; you can edit the notepad from the"
"Panel view of this User Object.  You can also"
"set/clear the \"Enable Edit\" flag in this Notepad\'s"
"Object Menu to keep the pop-up notepad from being" "altered by the user.")
(text2 15
"PURPOSE:  This example, along with manual40.vee, shows how to use DataSets." ""
"USER INPUT REQUIRED:  Press \"Run\"." "" "EXPLANATION:"
"\tA DataSet is a collection of Record containers saved into a file for "
"    later retrieval. The From DataSet object retrieves the Record data from"
"    a file which was written by a To DataSet object and outputs the data." ""
"\tExample manual40.vee used the To DataSet object to write a DataSet which"
"    contained a record containing a sine wave and a noise waveform.  The From"
"    DataSet object retrieves the record data from /tmp/myData, and outputs"
"    the data to Unbuild Record, which separates out the sine wave and noise"
"    data fields.  The sine wave, the noise waveform, and the sum of the two"
"    waveforms are each displayed in a separate XY Trace object.")))
(device 1 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 pop-up display."))
(interface
(output 1
(name "Go")
(lock name constraints)))
(implementation))
(configuration)
(ShowOnExecPanel
(relativeOrigin 2 32)))
(contextCarrier
(active detail)
(panel
(extent 801 403)
(widget 0 detail
(relativeOrigin 4 4)
(title off)
(borderStyle flat)
(extent 787 339)
(editing disabled))
(widget 1 detail
(relativeOrigin 361 354)
(title off)
(borderStyle flat)
(extent 68 35)))
(detail
(extent 866 520)
(anchorPt 433 270)
(configuration
(devCarrierFor 0
(active open)
(icon
(extent 78 25))
(open
(extent 848 437)
(editing enabled))
(pinCenter 0 0))
(devCarrierFor 1
(active open)
(icon
(extent 45 15))
(open
(extent 58 37))
(title off)
(pinCenter 0 70)))
(stackingOrder 1 0))))
(device 3 IFTHENELSE
(properties
(name "!= 0")
(description2 5 "If no threads are running, the Toggle can generate"
"it\'s output data whenever the button is changed"
"(using the Toggle\'s AutoExecute mode).  In this"
"case, either the User Object is executed or the"
"Autoexecute sequence terminates.")
(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))))
(configuration
(connect D1:0 D0:1)
(connect D2:1 D1:0)
(connect D0:1 D2:1)))
(contextCarrier
(active panel)
(panel
(extent 292 73)
(widget 0 detail
(relativeOrigin 87 15)
(title off)
(borderStyle flat)
(extent 114 39)
(scaled on)
(format button)))
(detail
(extent 912 591)
(anchorPt 256 245)
(configuration
(devCarrierFor 0
(active open)
(icon
(extent 81 15))
(open
(extent 114 39)
(scaled on)
(format button))
(title off)
(pinCenter 0 0))
(devCarrierFor 2
(active icon)
(icon
(extent 217 25))
(open
(extent 801 403)
(carbonCopy))
(bg "Light Blue Gray")
(pinCenter 210 50))
(devCarrierFor 3
(active icon)
(icon
(extent 46 25))
(open
(extent 73 64))
(terminals on)
(pinCenter 140 0))
(connect D1:0 D0:1
(points 5 210 65 210 80 -80 80 -80 0 -60 0))
(connect D2:1 D1:0
(points 3 165 -10 210 -10 210 35))
(connect D0:1 D2:1
(points 2 59 0 114 0)))
(stackingOrder 0 2 1))))
(device 9 NOTE)
(configuration
(connect D0:1 D1:1)
(connect D1:3 D2:1)
(connect D1:4 D3:1)
(connect D5:1 D4:1)
(connect D1:3 D5:1)
(connect D1:4 D5:2)))
(contextCarrier
(wndOrigin 7 2)
(wndState res)
(active detail)
(detail
(extent 932 514)
(anchorPt 163 102)
(configuration
(devCarrierFor 0
(active open)
(icon)
(open
(extent 243 129))
(terminals on)
(pinCenter -5 0))
(devCarrierFor 1
(active open)
(icon
(extent 136 64)
(iconImage "unbuild.icn"))
(open
(extent 3 184))
(terminals on)
(pinCenter 281 0))
(devCarrierFor 2
(active open)
(icon
(extent 112 0)
(iconImage "display.icn"))
(open
(extent 248 225)
(displayMode scrollGraph)
(graphType cartesian)
(gridType off)
(scale 0
(name "Y name")
(domainName "X name")
(pen 9)
(show 1)
(range -1.5 1.5 4 linear))
(domain 0 0.02 4 linear)
(trace 0 onScale 0
(name "Trace1")
(pen 4)
(lineType 1)
(pointType 0)))
(pinCenter 550 20))
(devCarrierFor 3
(active open)
(icon
(extent 80 0)
(iconImage "display.icn"))
(open
(extent 248 225)
(displayMode scrollGraph)
(graphType cartesian)
(gridType off)
(scale 0
(name "Y name")
(domainName "X name")
(pen 9)
(show 1)
(range -1.5 1.5 4 linear))
(domain 0 0.02 4 linear)
(trace 0 onScale 0
(name "Trace1")
(pen 4)
(lineType 1)
(pointType 0)))
(pinCenter 610 310))
(devCarrierFor 4
(active open)
(icon
(extent 118 0)
(iconImage "display.icn"))
(open
(extent 248 225)
(displayMode scrollGraph)
(graphType cartesian)
(gridType off)
(scale 0
(name "Y name")
(domainName "X name")
(pen 9)
(show 1)
(range -1.5 1.5 4 linear))
(domain 0 0.02 4 linear)
(trace 0 onScale 0
(name "Trace1")
(pen 4)
(lineType 1)
(pointType 0)))
(pinCenter 340 380))
(devCarrierFor 5
(active icon)
(icon
(extent 48 28))
(open)
(terminals on)
(pinCenter 260 180))
(devCarrierFor 8
(active open)
(icon
(extent 110 25))
(open
(extent 292 73)
(carbonCopy))
(bg "Light Blue Gray")
(pinCenter 10 340))
(devCarrierFor 9
(active icon)
(icon
(extent 338 48)
(iconImage "disclaim.icn")
(label off))
(open
(extent 200 100)
(editing enabled))
(pinCenter 20 150))
(connect D0:1 D1:1
(points 2 159 0 194 0))
(connect D1:3 D2:1
(points 2 365 20 423 20))
(connect D1:4 D3:1
(points 6 365 60 380 60 380 160 460 160 460 310 483 310))
(connect D5:1 D4:1
(points 6 286 180 310 180 310 220 190 220 190 380 213 380))
(connect D1:3 D5:1
(points 6 365 20 390 20 390 110 210 110 210 170 233 170))
(connect D1:4 D5:2
(points 6 365 60 380 60 380 140 220 140 220 190 233 190)))
(stackingOrder 7 4 0 1 2 6 5 3))
(numberFormats
(realFormat standard)
(realSigDigits 4)
(realRadixSpec 4)
(integerBase decimal))))
