(saveFormat "7.0")
(date "Tue 12/Aug/2008 10:43:17 ")
(veerev "9.0.11611.0 Beta2 - Titian")
(platform "PC")
(execMode v6)
(prefExecMode v9)
(filterNAN 0)
(workspaceStackingOrder M)
(SaveCF no)
(device 0 ROOTCONTEXT
(assemblyRefs
(assemblyRef 1
(displayName
"mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
)
(filename "C:\\WINDOWS\\Microsoft.NET\\Framework\\v1.1.4322\\mscorlib.dll"))
(selectedNamespaces ""))
(properties
(variableName Main)
(variableScope glob)
(trigMode deg)
(nextID 21)
(popupTitleText "Sequencer Logging 2")
(popupMoveable 1)
(deleteGlobals 0))
(deviceList
(UserFunctions
(nextID 2)
(context 0
(properties
(name "myRand1")
(variableName myRand1)
(variableScope glob)
(trigMode deg)
(nextID 2))
(interface
(input 1
(name "A")
(optional yes))
(output 1
(type data)
(name "X")
(lock constraints)
(optional yes)))
(deviceList
(device 0 RANDOMNUMBER
(properties
(variableScope cont)
(lowerLimit 0)
(upperLimit 1))
(interface
(output 1
(name "Rand Val")
(lock name constraints))))
(device 1 FORMULA
(properties
(name " + ")
(variableScope cont)
(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))))
(configuration
(connect D0:1 D1:1)
(connect I1:1 D1:2)
(connect D1:1 O1:1)))
(contextCarrier
(active detail)
(detail
(extent 495 195)
(anchorPt 192 79)
(configuration
(devCarrierFor 0
(active open)
(icon
(extent 127 25))
(open
(extent 157 58))
(terminals on)
(pinCenter -20 0))
(devCarrierFor 1
(active icon)
(icon
(extent 46 25))
(open)
(terminals on)
(pinCenter 240 40))
(connect D0:1 D1:1
(points 4 131 0 170 0 170 30 214 30))
(connect I1:1 D1:2
(points 4 -192 6 -176 6 -176 50 214 50))
(connect D1:1 O1:1
(points 4 265 40 284 40 284 6 302 6)))
(stackingOrder 1 0))))
(context 1
(properties
(name "myRand2")
(variableName myRand2)
(variableScope glob)
(trigMode deg)
(nextID 2))
(interface
(input 1
(name "A")
(optional yes))
(output 1
(type data)
(name "X")
(lock constraints)
(optional yes)))
(deviceList
(device 0 RANDOMNUMBER
(properties
(variableScope cont)
(lowerLimit 0)
(upperLimit 100))
(interface
(output 1
(name "Rand Val")
(lock name constraints))))
(device 1 FORMULA
(properties
(name " + ")
(variableScope cont)
(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))))
(configuration
(connect D0:1 D1:1)
(connect I1:1 D1:2)
(connect D1:1 O1:1)))
(contextCarrier
(active detail)
(detail
(extent 493 195)
(anchorPt 190 79)
(configuration
(devCarrierFor 0
(active open)
(icon
(extent 127 25))
(open
(extent 157 58))
(terminals on)
(pinCenter -20 0))
(devCarrierFor 1
(active icon)
(icon
(extent 46 25))
(open)
(terminals on)
(pinCenter 240 40))
(connect D0:1 D1:1
(points 4 131 0 170 0 170 30 214 30))
(connect I1:1 D1:2
(points 4 -190 6 -176 6 -176 50 214 50))
(connect D1:1 O1:1
(points 4 265 40 284 40 284 6 302 6)))
(stackingOrder 1 0)))))
(device 0 SEQUENCER
(properties
(variableScope cont)
(transactions 2 "test1 LOGEN TESTEX:myRand1(1) \tRANGEEX: 1 LE 1.25 LE 1.5 \t"
"test2 LOGEN TESTEX:myRand2(1) \tRANGEEX: 1 LE 26 LE 51 \t"))
(interface
(output 1
(name "Return")
(tag "Return")
(lock name constraints)
(optional yes))
(output 2
(name "Log")
(tag "Log")
(lock name constraints)
(optional yes)))
(implementation
(logfields "name" "pass" "result")))
(device 1 FORCOUNT
(properties
(variableScope cont)
(count 10))
(interface
(output 1
(name "Count")
(lock name constraints))))
(device 2 FORMULA
(properties
(name "mean(x)")
(variableScope cont)
(expr 1 "mean(x)"))
(interface
(input 1
(name "X")
(optional yes))
(output 1
(name "Result")
(tag "Result")
(lock name constraints)
(optional yes))))
(device 3 TEXTDISPLAY
(properties
(name "Mean Value")
(variableScope cont))
(interface
(input 1
(name "Data"))))
(device 4 FORMULA
(properties
(name "sdev(x)")
(variableScope cont)
(expr 1 "sdev(x)"))
(interface
(input 1
(name "X")
(optional yes))
(output 1
(name "Result")
(tag "Result")
(lock name constraints)
(optional yes))))
(device 5 TEXTDISPLAY
(properties
(name "Std Dev")
(variableScope cont))
(interface
(input 1
(name "Data"))))
(device 6 TEXTDISPLAY
(properties
(name "Min Value")
(variableScope cont))
(interface
(input 1
(name "Data"))))
(device 7 FORMULA
(properties
(name "min(x)")
(variableScope cont)
(expr 1 "min(x)"))
(interface
(input 1
(name "X")
(optional yes))
(output 1
(name "Result")
(tag "Result")
(lock name constraints)
(optional yes))))
(device 8 TEXTDISPLAY
(properties
(name "Max Value")
(variableScope cont))
(interface
(input 1
(name "Data"))))
(device 9 FORMULA
(properties
(name "max(x)")
(variableScope cont)
(expr 1 "max(x)"))
(interface
(input 1
(name "X")
(optional yes))
(output 1
(name "Result")
(tag "Result")
(lock name constraints)
(optional yes))))
(device 10 TODATASET
(properties
(variableScope cont))
(interface
(input 1
(name "input")
(tag "inRecord")
(requires
(datatype Record))
(lock constraints))
(input 2
(type control)
(name "File Name")
(requires
(datatype Text)
(shape "Scalar"))
(lock name constraints)
(optional yes)))
(implementation
(attr iopath file write "c:\\temp\\myData"
(readTerm "\n")
(fs " ")
(eol "\n")
(multiField fullSyntax)
(arrayFormat block))))
(device 11 FROMDATASET
(properties
(variableScope cont)
(readRecs all)
(expr 1 "Rec.test1.pass AND Rec.test2.pass"))
(interface
(input 1
(type control)
(name "File Name")
(requires
(datatype Text)
(shape "Scalar"))
(lock name constraints)
(optional yes))
(output 1
(name "Rec")
(tag "records")))
(implementation
(attr iopath file read "c:\\temp\\myData"
(readTerm "\n")
(fs " ")
(eol "\n")
(multiField fullSyntax)
(arrayFormat block))))
(device 12 FORMULA
(properties
(variableScope cont)
(expr 1 "Rec[*].test1.result"))
(interface
(input 1
(name "Rec")
(optional yes))
(output 1
(name "Result")
(tag "Result")
(lock name constraints)
(optional yes))))
(device 15 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.")
(variableScope cont)
(trigMode deg)
(nextID 4))
(deviceList
(device 0 TOGGLE25
(properties
(name "Info About")
(description2 18 "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." "" "")
(variableScope cont)
(autoTrigger 1)
(enableEditing 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.")
(variableScope cont)
(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.")
(variableScope cont)
(text2 1
"{\\rtf1\\ansi\\ansicpg1252\\deff0\\deflang1033{\\fonttbl{\\f0\\fnil\\fcharset0 Courier New;}}\r\n\\viewkind4\\uc1\\pard\\f0\\fs18 PURPOSE:  Shows how to output logged test results from the Sequencer to a \\par\r\n    DataSet, and then retrieve the data from the DataSet and analyze the\\par\r\n    results.\\par\r\n\\par\r\nUSER INPUT REQUIRED:  Press \"Run\".\\par\r\n\\par\r\nEXPLANATION:\\par\r\n\\tab You can use a DataSet to store your logged test results from a Sequencer.\\par\r\n    The Sequencer object Log output terminal is connected to the To DataSet\\par\r\n    object. Once the For Count object is finished, it causes the From DataSet\\par\r\n    object to retrieve the stored DataSet from /tmp/myData.  From DataSet is\\par\r\n    configured to retrieve ALL records from /tmp/myData, but to test each\\par\r\n    record against the condition Rec.test1.pass AND Rec.test2.pass.  In other\\par\r\n    words, a particular record is retrieved only if both test1 and test2 were\\par\r\n    passed for the record.  Of the retrieved records, if any, the expression\\par\r\n    Rec.test1.result returns all of the test1.result record fields, which are\\par\r\n    then statistically analyzed.\\par\r\n\\par\r\n\\tab Note that this model will error if none of the records satisfy the\\par\r\n    expression Rec.test1.pass AND Rec.test2.pass. \\par\r\n}\r\n"
)))
(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.")
(variableScope cont)
(enterButton 1)
(escapeButton 1)
(isAssigned2FKey None)
(okDisabled 1))
(interface
(output 1
(name "Go")
(lock name constraints)))
(implementation))
(configuration)
(ShowOnExecPanel
(relativeOrigin 2 2)))
(contextCarrier
(active detail)
(panel
(extent 821 499)
(drawGrid "off")
(widget 0 detail
(relativeOrigin 3 3)
(bg "Light Blue Gray")
(PID 0)
(title off)
(tabIndex 0)
(borderStyle flat)
(extent 810 451)
(editing disabled))
(widget 1 detail
(relativeOrigin 375 459)
(bg "Light Blue Gray")
(fg "Black")
(PID 1)
(title off)
(tabIndex 1)
(borderStyle flat)
(extent 69 33))
(panelBg "Light Blue Gray"))
(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)
(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.")
(variableScope cont)
(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 319 77)
(drawGrid "off")
(widget 0 detail
(relativeOrigin 101 16)
(bg "Light Blue Gray")
(fg "Black")
(PID 0)
(title off)
(tabIndex 0)
(borderStyle flat)
(extent 114 39)
(scaled on)
(format button))
(panelBg "Light Blue Gray"))
(detail
(extent 912 591)
(anchorPt 256 245)
(configuration
(devCarrierFor 0
(active open)
(icon)
(open
(extent 114 39)
(scaled on)
(format button))
(title off)
(pinCenter 0 0))
(devCarrierFor 2
(active icon)
(icon
(extent 217 25))
(open
(extent 821 499)
(carbonCopy))
(pinCenter 190 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 190 65 190 80 -80 80 -80 0 -60 0))
(connect D2:1 D1:0
(points 3 165 -10 190 -10 190 35))
(connect D0:1 D2:1
(points 2 59 0 114 0)))
(stackingOrder 2 0 1))))
(device 18 NOTE
(properties
(name "Warranty Disclaimer")
(variableScope cont)
(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.")))
(device 19 FORMULA
(properties
(name "FileName")
(variableScope cont)
(expr 1 "A+\"myData\""))
(interface
(input 1
(name "A")
(optional yes))
(output 1
(name "Result")
(tag "Result")
(lock name constraints)
(optional yes))))
(device 20 FORMULA
(properties
(name "System.IO.Path.GetTempPath( );")
(description2 1
"{\\rtf1\\ansi\\ansicpg1252\\deff0\\deflang1033{\\fonttbl{\\f0\\froman\\fprq2\\fcharset0 Times New Roman;}{\\f1\\fmodern\\fprq1\\fcharset128 MS Mincho;}{\\f2\\fswiss\\fprq2\\fcharset0 Microsoft Sans Serif;}}\r\n{\\colortbl ;\\red0\\green0\\blue0;}\r\n\\viewkind4\\uc1\\pard\\cf1\\ul\\b\\f0\\fs24 System.IO.Path.GetTempPath\\f1\\par\r\n\\pard\\sb100\\sa100\\cf0\\ulnone\\b0\\f0 Returns the path of the current system\'s temporary folder.  It is a .NET Framework call and can be found in the Function and Object Browser here: \\f2\\fs17\\par\r\n\\pard\\b\\f0\\fs24 Assembly\\b0 : Mscorlib\\par\r\n\\b Namespace\\b0 : System.IO\\f1\\par\r\n\\b\\f0 Type\\b0 : Path\\i\\par\r\n}\r\n"
)
(variableScope cont)
(expr 1 "System.IO.Path.GetTempPath( );"))
(interface
(output 1
(name "Result")
(tag "Result")
(lock name constraints)
(optional yes))))
(configuration
(connect D1:1 D0:0)
(connect D12:1 D2:1)
(connect D2:1 D3:1)
(connect D12:1 D4:1)
(connect D4:1 D5:1)
(connect D7:1 D6:1)
(connect D12:1 D7:1)
(connect D9:1 D8:1)
(connect D12:1 D9:1)
(connect D0:2 D10:1)
(connect D15:1 D10:2)
(connect D1:0 D11:0)
(connect D15:1 D11:1)
(connect D11:1 D12:1)
(connect D16:1 D15:1)))
(contextCarrier
(wndRestoredOrigin 2 2)
(wndRestoredExtent 942 555)
(wndState max)
(active detail)
(detail
(extent 1040 824)
(anchorPt 379 190)
(configuration
(devCarrierFor 0
(active open)
(icon)
(open
(extent 290 76))
(terminals on)
(pinCenter -10 0))
(devCarrierFor 1
(active open)
(icon
(extent 110 64)
(iconImage "loop.icn"))
(open
(extent 160 34))
(pinCenter -120 -110))
(devCarrierFor 2
(active icon)
(icon
(extent 78 25))
(open)
(terminals on)
(pinCenter 320 310))
(devCarrierFor 3
(active open)
(icon
(extent 110 0))
(open
(extent 162 37))
(pinCenter 610 310))
(devCarrierFor 4
(active icon)
(icon
(extent 78 25))
(open)
(terminals on)
(pinCenter 310 380))
(devCarrierFor 5
(active open)
(icon
(extent 78 0))
(open
(extent 158 37))
(pinCenter 610 380))
(devCarrierFor 6
(active open)
(icon
(extent 110 0))
(open
(extent 159 35))
(pinCenter 610 170))
(devCarrierFor 7
(active icon)
(icon
(extent 78 25))
(open)
(terminals on)
(pinCenter 310 170))
(devCarrierFor 8
(active open)
(icon
(extent 110 0))
(open
(extent 163 35))
(pinCenter 610 240))
(devCarrierFor 9
(active icon)
(icon
(extent 78 25))
(open)
(terminals on)
(pinCenter 310 240))
(devCarrierFor 10
(active open)
(icon
(extent 110 25))
(open
(extent 251 67))
(terminals on)
(pinCenter 530 20))
(devCarrierFor 11
(active open)
(icon)
(open
(extent 316 135))
(terminals on)
(pinCenter -55 220))
(devCarrierFor 12
(active open)
(icon
(extent 78 64)
(iconImage "formula.icn"))
(open
(extent 178 60))
(pinCenter 120 380))
(devCarrierFor 15
(active open)
(icon
(extent 110 25))
(open
(extent 319 77)
(carbonCopy))
(pinCenter 530 -90))
(devCarrierFor 18
(active icon)
(icon
(extent 338 48)
(iconImage "disclaim.icn")
(label off))
(open
(extent 410 78)
(editing enabled))
(pinCenter 520 90))
(devCarrierFor 19
(active icon)
(icon
(extent 59 15))
(open
(extent 145 50))
(terminals on)
(pinCenter 180 80))
(devCarrierFor 20
(active icon)
(icon
(extent 194 15))
(open
(extent 227 50))
(terminals on)
(pinCenter 40 80))
(connect D1:1 D0:0
(points 3 -38 -110 0 -110 0 -59))
(connect D12:1 D2:1
(points 6 211 380 220 380 220 360 230 360 230 310 278 310))
(connect D2:1 D3:1
(points 2 361 310 526 310))
(connect D12:1 D4:1
(points 8 211 380 220 380 220 360 230 360 230 350 260 350 260 380 268 380))
(connect D4:1 D5:1
(points 2 351 380 528 380))
(connect D7:1 D6:1
(points 2 351 170 528 170))
(connect D12:1 D7:1
(points 8 211 380 220 380 220 360 230 360 230 310 240 310 240 170 268 170))
(connect D9:1 D8:1
(points 2 351 240 526 240))
(connect D12:1 D9:1
(points 8 211 380 220 380 220 360 230 360 230 310 240 310 240 240 268 240))
(connect D0:2 D10:1
(points 4 187 20 210 20 210 0 332 0))
(connect D15:1 D10:2
(points 4 212 80 230 80 230 40 332 40))
(connect D1:0 D11:0
(points 6 -120 -91 -120 -80 -210 -80 -210 110 -70 110 -70 132))
(connect D15:1 D11:1
(points 8 212 80 230 80 230 110 -60 110 -60 100 -310 100 -310 220 -286 220))
(connect D11:1 D12:1
(points 6 145 220 170 220 170 310 10 310 10 380 28 380))
(connect D16:1 D15:1
(points 2 139 80 148 80)))
(stackingOrder 7 1 6 12 0 8 9 2 3 5 4 13 11 10 14 16 15))
(numberFormats
(realFormat standard)
(realSigDigits 4)
(realRadixSpec 4)
(integerBase decimal))))
