(saveFormat "7.0")
(date "Tue 02/Mar/2010 15:55:22 ")
(veerev "9.0.11705.0")
(platform "PC")
(execMode v6)
(prefExecMode v6)
(filterNAN 0)
(workspaceStackingOrder M)
(sysconfig
(iodevice "DAQ"
(type NIDAQ)
(gateway "This host")
(channel 4000)
(readTerm "\n")
(fs ",")
(eol "\n")
(multiField dataOnly)
(arrayFormat linear)
(timeout 5)
(byteOrder 0)
(idn "NI-DAQ")
(ppFile "AGniDaq")
(ppAddr "4")
(ppquery "N")
(model "PCI-MIO-16E-4")
(subType 0)
(daqType 2))
(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")
(ivicomFile "Ag34401")
(ivicomAddr "GPIB0::22::INSTR")
(ScpiFileName "hp34401a.xml")
(model "hp34401a")
(eoiEnabled 1)
(VISAddr "GPIB0::22::INSTR")
(model "hp34401a"
(standard 488)))
(iodevice "TekFG"
(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)
(VISAddr "GPIB0::11::INSTR")
(model "teafg3022b"
(standard 488))))
(SaveCF no)
(device 0 ROOTCONTEXT
(properties
(variableName Main)
(variableScope glob)
(trigMode deg)
(nextID 24)
(popupTitleText "Untitled")
(popupMoveable 1)
(deleteGlobals 0))
(deviceList
(device 0 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 1 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 2 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 3 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 4 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 5 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 6 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 7 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 13 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)
(prefix "HP34401")
(ioDev "dmm")))
(device 20 IODEVICE
(properties
(name "TekFG (teafg3022b @GPIB0::11::INSTR)")
(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 13)
(iopath "TekFG")))
(device 23 IODEVICE
(properties
(name "TekFG (teafg3022b @GPIB0::11::INSTR)")
(variableScope cont)
(transactions 1 "WRITE TEXT \"sour1:freq \", f, \" hz\" EOL"))
(interface
(input 1
(name "f")
(optional yes)))
(implementation
(ioDevType 13)
(iopath "TekFG")))
(configuration
(connect D9:0 D1:0)
(connect D2:1 D1:1)
(connect D3:1 D1:2)
(connect D4:1 D1:3)
(connect D1:1 D5:1)
(connect D6:1 D5:2)
(connect D1:0 D5:3)
(connect D0:1 D6:1)
(connect D8:1 D6:2)
(connect D10:0 D8:0)
(connect D0:1 D9:1)
(connect D1:1 D10:1)))
(contextCarrier
(wndRestoredOrigin 2 2)
(wndRestoredExtent 1048 651)
(wndState max)
(active detail)
(detail
(extent 1024 820)
(anchorPt -338 -1)
(configuration
(devCarrierFor 0
(active open)
(icon
(extent 28 0))
(open
(extent 80 29)
(showFormat real))
(pinCenter 440 230))
(devCarrierFor 1
(active icon)
(icon
(extent 90 51)
(iconImage "loop.icn"))
(open
(extent 126 79))
(pinCenter 600 310))
(devCarrierFor 2
(active open)
(icon
(extent 29 0))
(open
(extent 80 29)
(showFormat real))
(pinCenter 440 300))
(devCarrierFor 3
(active open)
(icon
(extent 29 0))
(open
(extent 80 29)
(showFormat real))
(pinCenter 440 370))
(devCarrierFor 4
(active open)
(icon
(extent 22 0))
(open
(extent 67 29)
(showFormat int))
(pinCenter 430 450))
(devCarrierFor 5
(active open)
(icon
(extent 75 0)
(iconImage "display.icn"))
(open
(extent 494 429)
(displayMode 47)
(graphType cartesian)
(gridType grid)
(scale 0
(name "Gain (dB)")
(domainName "Freq")
(Yspacing 1)
(Xspacing 2)
(scaleColor "Dark Gray")
(show 1)
(range -18 2 4 linear))
(domain 100 99999.99999999754 4 log)
(trace 0 onScale 0
(name "")
(traceColor "Yellow")
(lineType 12)
(pointType 0))
(marker 0 onTrace 0)
(marker 1 onTrace 0)
(markerInterpolate 1))
(pinCenter 1050 420))
(devCarrierFor 6
(active icon)
(icon
(extent 50 25))
(open
(extent 154 66))
(terminals on)
(pinCenter 750 470))
(devCarrierFor 7
(active icon)
(icon
(extent 70 51)
(iconImage "notepad.icn"))
(open
(extent 322 306)
(editing enabled))
(pinCenter 460 630))
(devCarrierFor 13
(active icon)
(icon
(extent 85 15))
(open
(extent 221 74))
(terminals on)
(pinCenter 640 640))
(devCarrierFor 20
(active icon)
(icon
(extent 243 51)
(iconImage "io.icn"))
(open
(extent 444 196))
(terminals on)
(pinCenter 600 100))
(devCarrierFor 23
(active icon)
(icon
(extent 243 51)
(iconImage "io.icn"))
(open
(extent 221 74))
(terminals on)
(pinCenter 640 400))
(connect D9:0 D1:0
(points 2 600 128 600 282))
(connect D2:1 D1:1
(points 2 482 300 552 300))
(connect D3:1 D1:2
(points 4 482 370 500 370 500 310 552 310))
(connect D4:1 D1:3
(points 4 466 450 490 450 490 320 552 320))
(connect D1:1 D5:1
(points 4 647 310 680 310 680 280 800 280))
(connect D6:1 D5:2
(points 4 777 470 790 470 790 420 800 420))
(connect D1:0 D5:3
(points 5 600 338 600 350 560 350 560 560 800 560))
(connect D0:1 D6:1
(points 4 482 230 690 230 690 460 722 460))
(connect D8:1 D6:2
(points 4 685 640 700 640 700 480 722 480))
(connect D10:0 D8:0
(points 2 640 428 640 630))
(connect D0:1 D9:1
(points 6 482 230 500 230 500 180 460 180 460 100 476 100))
(connect D1:1 D10:1
(points 6 647 310 670 310 670 360 510 360 510 400 516 400)))
(stackingOrder 0 2 3 4 1 5 6 7 8 9 10))
(numberFormats
(realFormat standard)
(realSigDigits 4)
(realRadixSpec 4)
(integerBase decimal))))
