(saveFormat "7.0")
(date "Mon 14/Jun/2010 14:42:37 ")
(veerev "9.0.11705.0")
(platform "PC")
(execMode v6)
(prefExecMode v9)
(filterNAN 0)
(workspaceStackingOrder M)
(sysconfig
(iodevice "Scope"
(type GPIB-VISA)
(channel 130)
(readTerm "\n")
(fs ",")
(eol "\n")
(multiField dataOnly)
(arrayFormat linear)
(timeout 5)
(byteOrder 0)
(idn "\n")
(isPresent 1)
(ppAddr "GPIB0::1::INSTR")
(ScpiFileName "\n.xml")
(model "\n")
(eoiEnabled 1)
(VISAlias "Scope")
(VISAddr "GPIB0::1::INSTR")
(model "\n"
(standard 488)))
(iodevice "DMM"
(type GPIB-VISA)
(channel 130)
(readTerm "\n")
(fs ",")
(eol "\n")
(multiField dataOnly)
(arrayFormat linear)
(timeout 5)
(byteOrder 0)
(idn "hp34401a")
(isPresent 1)
(ppFile "HP34401")
(ppAddr "GPIB0::22::INSTR")
(ScpiFileName "hp34401a.xml")
(model "hp34401a")
(eoiEnabled 1)
(VISAlias "DMM")
(VISAddr "GPIB0::22::INSTR")
(model "hp34401a"
(standard 488)))
(iodevice "FuncGen"
(type GPIB-VISA)
(channel 130)
(readTerm "\n")
(fs ",")
(eol "\n")
(multiField dataOnly)
(arrayFormat linear)
(timeout 5)
(byteOrder 0)
(idn "teafg3022b")
(isPresent 1)
(ppAddr "GPIB0::11::INSTR")
(ScpiFileName "teafg3022b.xml")
(model "teafg3022b")
(eoiEnabled 1)
(VISAlias "FuncGen")
(VISAddr "GPIB0::11::INSTR")
(model "teafg3022b"
(standard 488)))
(iodevice "FuncGenUSB"
(type USB)
(channel 170)
(readTerm "\n")
(fs ",")
(eol "\n")
(multiField dataOnly)
(arrayFormat linear)
(timeout 5)
(byteOrder 0)
(idn "teafg3022b")
(isPresent 1)
(ppAddr "USB0::0x0699::0x0347::C034140::INSTR")
(ScpiFileName "teafg3022b.xml")
(model "teafg3022b")
(eoiEnabled 1)
(VISAlias "FuncGenUSB")
(VISAddr "USB0::0x0699::0x0347::C034140::INSTR")
(model "teafg3022b"
(standard 488))))
(SaveCF no)
(device 0 ROOTCONTEXT
(properties
(variableName Main)
(variableScope glob)
(trigMode deg)
(nextID 22)
(popupTitleText "Untitled")
(popupMoveable 1)
(deleteGlobals 0))
(deviceList
(device 3 IODEVICE
(properties
(name "FuncGenUSB (teafg3022b @FuncGenUSB)")
(variableScope cont)
(transactions 8 "WRITE TEXT \"outp1:stat on\" EOL"
"WRITE TEXT \"outp2:stat off\" EOL" "WRITE TEXT \"outp1:imp inf\" EOL"
"WRITE TEXT \"sour1:func:shap sin\" EOL" "WRITE TEXT \"sour1:freq 1e3\" EOL"
"WRITE TEXT \"SOURce1:VOLTage:LEVel:IMMediate:OFFSet 0V\" EOL"
"WRITE TEXT \"sour1:volt:unit rms\" EOL"
"WRITE TEXT \"SOURce1:VOLTage:LEVel:IMMediate:AMPLitude \", V_in, \" vrms\" EOL"
))
(interface
(input 1
(name "V_in")
(optional yes)))
(implementation
(ioDevType 17)
(visaAlias "FuncGenUSB")
(iopath "FuncGenUSB")))
(device 4 TOFILE
(properties
(variableScope cont)
(transactions 1 "WRITE TEXT f, \" , \", mag EOL"))
(interface
(input 1
(name "f")
(optional yes))
(input 2
(name "mag")
(optional yes)))
(implementation
(attr iopath file write "data"
(readTerm "\n")
(fs "\r\n")
(eol "\r\n")
(multiField fullSyntax)
(arrayFormat block))))
(device 7 PNPTRANS
(properties
(name "To/From dmm")
(variableScope cont)
(transactions 1
"hp34401_measure_Q(instrHandle, hp34401_CONF_VOLT_AC, 3, 0.001, reading)")
(parmInfo 6 "5" "T 5000" "T 0" "T 0" "T 0" "T 0"))
(interface
(output 1
(name "reading")
(optional yes)))
(implementation
(ioDevType 13)
(visaAlias "DMM")
(prefix "HP34401")
(ioDev "dmm")))
(device 8 NOTE
(properties
(name "Instructions")
(variableScope cont)
(text2 1
"{\\rtf1\\ansi\\ansicpg1252\\deff0{\\fonttbl{\\f0\\fnil\\fcharset0 Courier New;}}\r\n\\viewkind4\\uc1\\pard\\lang1033\\f0\\fs18 This was written for an Tektronix AFG 3022B \\par\r\nfuncgen and an Agilent 34401A DMM. Connect the funcgen to the input of the circuit and the dmm to the output. The scopoe is not used. \\par\r\n\\par\r\n}\r\n"
)))
(device 9 FORMULA
(properties
(variableScope cont)
(expr 1 "20*log10(B/A)"))
(interface
(input 1
(name "A")
(optional yes))
(input 2
(name "B")
(optional yes))
(output 1
(name "Result")
(tag "Result")
(lock name constraints)
(optional yes))))
(device 10 XYPLOT
(properties
(name "Gain vs Freq")
(variableScope cont))
(interface
(input 1
(name "XData")
(lock constraints))
(input 2
(name "")
(lock constraints))
(input 3
(type control)
(name "Auto Scale")
(lock name constraints)
(optional yes)))
(implementation
(tracePin 2)
(graphMode rectangular)
(autoAutoX)
(autoAutoY)))
(device 11 CONSTANT
(properties
(name "Pts")
(variableScope cont)
(enableEditing 1))
(interface
(output 1
(name "Int32")
(lock name constraints)))
(implementation
(value Int32
(data  20))
(initValue Int32
(data  0))))
(device 12 CONSTANT
(properties
(name "Stop")
(variableScope cont)
(enableEditing 1))
(interface
(output 1
(name "Real64")
(lock name constraints)))
(implementation
(value Real
(data  100000))
(initValue Real
(data  0))))
(device 13 CONSTANT
(properties
(name "Start")
(variableScope cont)
(enableEditing 1))
(interface
(output 1
(name "Real64")
(lock name constraints)))
(implementation
(value Real
(data  100))
(initValue Real
(data  0))))
(device 14 FORLOGRANGE
(properties
(variableScope cont)
(from 100)
(thru 100000)
(perDecade 20))
(interface
(input 1
(name "From")
(tag "From")
(requires
(datatype Real64)
(shape "Scalar"))
(lock constraints)
(optional yes)
(buffer YES))
(input 2
(name "Thru")
(tag "Thru")
(requires
(datatype Real64)
(shape "Scalar"))
(lock constraints)
(optional yes)
(buffer YES))
(input 3
(name "/Dec")
(tag "/Dec")
(requires
(datatype Real64)
(shape "Scalar"))
(lock constraints)
(optional yes)
(buffer YES))
(output 1
(name "Data")
(lock name constraints))))
(device 15 CONSTANT
(properties
(name "V_in")
(variableScope cont)
(enableEditing 1))
(interface
(output 1
(name "Real64")
(lock name constraints)))
(implementation
(value Real
(data  1))
(initValue Real
(data  0))))
(device 17 IODEVICE
(properties
(name "FuncGenUSB (teafg3022b @FuncGenUSB)")
(variableScope cont)
(transactions 1 "WRITE TEXT \"sour1:freq \", f, \" hz\" EOL"))
(interface
(input 1
(name "f")
(optional yes)))
(implementation
(ioDevType 17)
(visaAlias "FuncGenUSB")
(iopath "FuncGenUSB")))
(configuration
(connect D10:1 D0:1)
(connect D9:1 D1:1)
(connect D4:1 D1:2)
(connect D11:0 D2:0)
(connect D10:1 D4:1)
(connect D2:1 D4:2)
(connect D9:1 D5:1)
(connect D4:1 D5:2)
(connect D9:0 D5:3)
(connect D0:0 D9:0)
(connect D8:1 D9:1)
(connect D7:1 D9:2)
(connect D6:1 D9:3)
(connect D9:1 D11:1)))
(contextCarrier
(wndRestoredOrigin 2 2)
(wndRestoredExtent 1005 559)
(wndState max)
(active detail)
(detail
(extent 1040 824)
(anchorPt -1 19)
(configuration
(devCarrierFor 3
(active icon)
(icon
(extent 261 51)
(iconImage "io.icn"))
(open
(extent 304 166))
(terminals on)
(pinCenter 370 110))
(devCarrierFor 4
(active open)
(icon)
(open
(extent 233 127))
(terminals on)
(pinCenter 705 170))
(devCarrierFor 7
(active icon)
(icon
(extent 85 15))
(open
(extent 221 74))
(terminals on)
(pinCenter 290 650))
(devCarrierFor 8
(active icon)
(icon
(extent 70 51)
(iconImage "notepad.icn"))
(open
(extent 322 306)
(editing enabled))
(pinCenter 130 700))
(devCarrierFor 9
(active icon)
(icon
(extent 50 25))
(open
(extent 154 66))
(terminals on)
(pinCenter 420 540))
(devCarrierFor 10
(active open)
(icon
(extent 75 0)
(iconImage "display.icn"))
(open
(extent 504 446)
(displayMode 47)
(graphType cartesian)
(gridType grid)
(scale 0
(name "Gain (dB)")
(domainName "Freq")
(Yspacing 1)
(Xspacing 2)
(scaleColor "Dark Gray")
(show 1)
(range -84.90000000000001 -84.40000000000001 4 linear))
(domain 100 12589.25411794146 4 log)
(trace 0 onScale 0
(name "")
(traceColor "Yellow")
(lineType 12)
(pointType 0))
(marker 0 onTrace 0)
(marker 1 onTrace 0)
(markerInterpolate 1))
(pinCenter 780 510))
(devCarrierFor 11
(active open)
(icon
(extent 22 0))
(open
(extent 67 29)
(showFormat int))
(pinCenter 100 520))
(devCarrierFor 12
(active open)
(icon
(extent 29 0))
(open
(extent 80 29)
(showFormat real))
(pinCenter 110 440))
(devCarrierFor 13
(active open)
(icon
(extent 29 0))
(open
(extent 80 29)
(showFormat real))
(pinCenter 110 370))
(devCarrierFor 14
(active icon)
(icon
(extent 90 51)
(iconImage "loop.icn"))
(open
(extent 126 79))
(pinCenter 270 350))
(devCarrierFor 15
(active open)
(icon
(extent 28 0))
(open
(extent 80 29)
(showFormat real))
(pinCenter 110 300))
(devCarrierFor 17
(active icon)
(icon
(extent 124 54)
(iconImage "io.icn"))
(open
(extent 204 86))
(terminals on)
(pinCenter 280 450))
(connect D10:1 D0:1
(points 4 152 300 210 300 210 110 237 110))
(connect D9:1 D1:1
(points 8 317 350 340 350 340 400 510 400 510 250 520 250 520 140 546 140))
(connect D4:1 D1:2
(points 4 447 540 500 540 500 200 546 200))
(connect D11:0 D2:0
(points 4 280 479 280 500 290 500 290 640))
(connect D10:1 D4:1
(points 4 152 300 360 300 360 530 392 530))
(connect D2:1 D4:2
(points 4 335 650 360 650 360 550 392 550))
(connect D9:1 D5:1
(points 6 317 350 340 350 340 400 510 400 510 360 525 360))
(connect D4:1 D5:2
(points 4 447 540 500 540 500 510 525 510))
(connect D9:0 D5:3
(points 7 270 378 270 390 200 390 200 680 360 680 360 660 525 660))
(connect D0:0 D9:0
(points 4 370 138 370 160 270 160 270 322))
(connect D8:1 D9:1
(points 4 152 370 170 370 170 340 222 340))
(connect D7:1 D9:2
(points 4 152 440 180 440 180 350 222 350))
(connect D6:1 D9:3
(points 6 136 520 170 520 170 390 190 390 190 360 222 360))
(connect D9:1 D11:1
(points 6 317 350 340 350 340 400 210 400 210 450 215 450)))
(stackingOrder 3 4 6 7 8 10 9 2 11 5 1 0))
(numberFormats
(realFormat standard)
(realSigDigits 4)
(realRadixSpec 4)
(integerBase decimal))))
