(saveFormat "2.3") (date "Wed 12/Dec/2001 11:31:48 ") (veerev "6.01") (platform "PC") (execMode v6) (filterNAN 0) (workspaceStackingOrder M) (sysconfig (iodevice "newInstrument3" (type GPIB) (gateway "This host") (channel 14) (subchannel 7) (readTerm "\n") (fs ",") (eol "\n") (multiField dataOnly) (arrayFormat linear) (timeout 5) (byteOrder 0) (idFileName "hp54504a.cid") (idn "hp54504a") (ppAddr "GPIB0::7::INSTR") (eoiEnabled 1) (model "hp54504a" (standard 488))) (iodevice "funGen" (type GPIB) (gateway "This host") (channel 14) (subchannel 16) (readTerm "\n") (fs ",") (eol "\n") (multiField dataOnly) (arrayFormat linear) (timeout 5) (byteOrder 0) (idFileName "hp8116a.cid") (idn "unknown") (ppAddr "GPIB0::16::INSTR") (eoiEnabled 1) (model "unknown" (standard 488))) (iodevice "DMM" (type GPIB) (gateway "This host") (channel 14) (subchannel 22) (readTerm "\n") (fs ",") (eol "\n") (multiField dataOnly) (arrayFormat linear) (timeout 5) (byteOrder 0) (idFileName "hp34401a.cid") (idn "hp34401a") (ppFile "HP34401") (ppAddr "GPIB0::22::INSTR") (eoiEnabled 1) (model "hp34401a" (standard 488)))) (SaveCF no) (device 0 ROOTCONTEXT (properties (trigMode deg) (nextID 76) (popupTitleText "Untitled") (popupMoveable 1) (deleteGlobals 0)) (deviceList (device 0 SLIDER (properties (name "Amplitude (V)") (range 0 1) (detents 0.001)) (interface (output 1 (name "Real64") (lock name constraints))) (implementation (value Real64 (data 0.7000000000000001)) (initValue Real (data 0.1)))) (device 1 IODEVICE (properties (name "Function Generator Setup") (transactions 4 "WRITE TEXT \"AMP\" STR" "WRITE TEXT Vin STR" "WRITE TEXT \"V,\" STR EOL" "WRITE TEXT \"D0,\" STR EOL")) (interface (input 1 (name "Vin") (optional yes))) (implementation (iopath "funGen"))) (device 2 IODEVICE (properties (name "DMM (hp34401a @ 1422)") (transactions 2 "WRITE TEXT \"*RST;\" STR EOL" "WRITE TEXT \":CONF:VOLT:AC;\" STR EOL")) (implementation (iopath "DMM"))) (device 3 FORRANGE (properties (name "Frequency Range (Hz)") (from 100) (thru 10000) (step 500)) (interface (output 1 (name "Data") (lock name constraints)))) (device 4 IODEVICE (properties (name "Set Frequency") (transactions 3 "WRITE TEXT \"FRQ\" STR" "WRITE TEXT f STR" "WRITE TEXT \"HZ,\" STR EOL")) (interface (input 1 (name "f") (optional yes))) (implementation (iopath "funGen"))) (device 6 IODEVICE (properties (name "Read Voltage") (transactions 2 "WRITE TEXT \":READ?\" STR EOL" "READ TEXT Vout REAL64")) (interface (output 1 (name "Vout") (optional yes))) (implementation (iopath "DMM"))) (device 10 XYPLOT (properties (name "Frequency Response")) (interface (input 1 (name "XData") (lock constraints)) (input 2 (name "response") (lock constraints))) (implementation (tracePin 2) (graphMode rectangular) (autoAutoX) (autoAutoY))) (device 11 START25) (device 13 COLLECTOR (properties (name "Collect Frequency")) (interface (input 1 (name "Data") (tag "Data")) (input 2 (type trigger) (name "XEQ") (lock name constraints)) (output 1 (name "Array") (tag "Array")))) (device 14 COLLECTOR (properties (name "Collect Gain")) (interface (input 1 (name "Data") (tag "Data")) (input 2 (type trigger) (name "XEQ") (lock name constraints)) (output 1 (name "Array") (tag "Array")))) (device 55 DECLVAR (properties (name "Declare range1") (scope glob) (globalName "range1")) (implementation (value Object (data "ANY ")))) (device 56 DECLVAR (properties (name "Declare range2") (scope glob) (globalName "range2")) (implementation (value Object (data "ANY ")))) (device 57 DECLVAR (properties (name "Declare sheet") (scope glob) (globalName "sheet")) (implementation (value Object (data "ANY ")))) (device 60 BEEP (properties (frequency 1000) (duration 0.1) (volume 80)) (implementation)) (device 64 FORMULA (properties (name "Fill in Cells") (expr 3 "range1 =transpose([A]);" "range2=transpose([B]);" "")) (interface (input 1 (name "A") (optional yes)) (input 2 (name "B") (optional yes)))) (device 65 FORMULA (properties (name "Fill in Titles") (expr 5 "sheet.Range(\"A1:A1\") = \"ECE300 Frequency Response Data\";" "sheet.Range(\"A3:A3\") = \"Frequency\";" "sheet.Range(\"A4:A4\") = \"Hz\";" "sheet.Range(\"B3:B3\") = \"Vout/Vin\";" "sheet.Range(\"B4:B4\") = \"V\";")) (interface (output 1 (name "Result") (tag "Result") (lock name constraints) (optional yes)))) (device 66 FORMULA (properties (name "Set up Excel Worksheet") (expr 12 "set sheet = CreateObject(\"Excel.Sheet\").worksheets(1);" "sheet.Application.Visible = TRUE;" "sheet.Application.Visible = TRUE;" "sheet.Application.Windows(1).Caption = \"Test Results\";" "" "set range1 = sheet.Range(\"A5:A105\");" "set range2 = sheet.Range(\"B5:B105\");" "" "" "" "" ""))) (device 67 NOTE (properties (text2 6 "" " Frequency Response Data Acquisition System" " ECE 300 Signals and Systems" "" " Fred Berry/Bruce Ferguson Dec 2001" ""))) (device 68 NOTE (properties (text2 33 "" "Instructions" "" "1. Turn on the HP 8116A Function Generator and HP 34401A DMM. Be sure the function generator mode (left side) is set to \"norm\"," "the mode is set to \"sin\", and the sin wave duty cycle is set to 50% before starting this program. Once this program starts, control " "of these two lab units is taken away from their front panels - the unit must be turned off and on to change front panel settings " "(such as changing the waveform shape)." "" "2. Connect FG output to circuit input, and circuit output to DMM input. Be sure appropriate power has been supplied to the circuit." "Also be sure you have connected the circuit output correctly to the DMM." "" "3. Set the FG amplitude using the sliding scale or number box in the \"Amplitude\" box in this program. This is a 0-Peak amplitude " "setting. Remember that the DMM is reading RMS." "" "4. Set the apprpriate frequency sweep range in the \"Frequency Range\" box. The number of points is found by calculating " "(Thru-From)/Step. This program is set to write up to one hundred data points to an Excel file. If you need more points, change " "the settings for range1 (freq) and range2 (voltage) in the \"Set Up Excel Worksheet\" box." "" "5. Press the start button to the left of this box. " "" "6. Before you do anything with Excel, get back to the VEE window and answer the Excel questions. You will be asked for a" "filename to save the spreadsheet under (file placed on desktop), and then asked to shut down Excel. You may shut down " "Excel if you like, or leave it open. If you get a question about overwriting an existing file in VEE, you will also get it in Excel, so" "you need to check both program windows." "" "The program will execute by looping through the frequency values. For each value, the FG frequency is set," "the DMM reads the output voltage level, and the process repeats. The data is dispayed on the graph.Once this" "is complete, the data is put into arrays and written to the Excel file." "" "" "" "" ""))) (device 69 JUNCTION (properties (name "JCT")) (interface (input 1 (name "A")) (input 2 (name "B")) (output 1 (name "Data")))) (device 70 FORMULA (properties (name "Save Worksheet") (expr 1 "sheet.SaveAs(filename)")) (interface (input 1 (name "filename") (optional yes)) (output 1 (name "Result") (tag "Result") (lock name constraints) (optional yes)))) (device 71 FILESELECT (properties (name "File Name Selection") (prompt "Enter File Name:") (initialDirectory "C:\\WINDOWS\\Desktop") (initialFile "labdata.xls") (dialogMode Writing)) (interface (input 1 (name "Initial File") (tag "Initial File") (requires (datatype Text) (shape "Scalar")) (lock constraints) (optional yes) (buffer YES)) (output 1 (name "File Name") (lock name constraints)) (output 2 (name "Cancel") (lock name constraints))) (implementation)) (device 72 LITERALCONSTANT (properties (name "Initial Filename")) (interface (output 1 (name "Text") (lock name constraints))) (implementation (value Text (data "labdata.xls")) (initValue Text (data "")))) (device 73 FORMULA (properties (name "Normalize") (expr 1 "A/B")) (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 74 FORMULA (properties (name "peak2rms") (expr 1 "A/sqrt(2)")) (interface (input 1 (name "A") (optional yes)) (output 1 (name "Result") (tag "Result") (lock name constraints) (optional yes)))) (configuration (connect D7:0 D0:0) (connect D0:1 D1:1) (connect D1:0 D2:0) (connect D2:0 D3:0) (connect D3:1 D4:1) (connect D4:0 D5:0) (connect D3:1 D6:1) (connect D23:1 D6:2) (connect D3:1 D8:1) (connect D3:0 D8:2) (connect D23:1 D9:1) (connect D3:0 D9:2) (connect D19:1 D13:0) (connect D15:0 D14:0) (connect D8:1 D14:1) (connect D9:1 D14:2) (connect D16:0 D15:0) (connect D20:0 D19:1) (connect D21:2 D19:2) (connect D21:1 D20:1) (connect D22:1 D21:1) (connect D14:0 D22:0) (connect D5:1 D23:1) (connect D24:1 D23:2) (connect D0:1 D24:1)) (ShowOnExecPanel)) (contextCarrier (wndRestoredOrigin 2 2) (wndRestoredExtent 668 405) (wndState max) (active detail) (panel (extent 910 625) (widget 6 detail (relativeOrigin 280 30) (title on) (borderStyle convex) (extent 617 389) (displayMode 47) (graphType cartesian) (gridType grid) (scale 0 (name "Frequency Response") (domainName "Frequency (Hz)") (Yspacing 1) (Xspacing 2) (pen 9) (show 1) (range 0.2 0.5 4 linear)) (domain 0 7000 4 linear) (trace 0 onScale 0 (name "response") (pen 4) (lineType 1) (pointType 0)) (markerPenColor 1)) (widget 3 detail (relativeOrigin 10 350) (title on) (borderStyle convex) (extent 170 79)) (widget 0 detail (relativeOrigin 10 60) (title on) (borderStyle convex) (extent 118 222) (layout vertical) (fastmode off) (extratics)) (widget 7 detail (relativeOrigin 50 10) (title off) (borderStyle convex) (extent 47 27))) (detail (extent 1020 660) (anchorPt -25 387) (configuration (devCarrierFor 0 (active open) (icon (extent 80 15)) (open (extent 118 222) (layout vertical) (fastmode off) (extratics)) (pinCenter 130 220)) (devCarrierFor 1 (active icon) (icon (extent 154 51) (iconImage "io.icn")) (open (extent 229 74)) (terminals on) (pinCenter 280 220)) (devCarrierFor 2 (active icon) (icon (extent 154 51) (iconImage "io.icn")) (open (extent 229 74)) (terminals on) (pinCenter 280 290)) (devCarrierFor 3 (active open) (icon (extent 134 0) (iconImage "loop.icn")) (open (extent 170 79)) (pinCenter 140 410)) (devCarrierFor 4 (active icon) (icon (extent 85 51) (iconImage "io.icn")) (open (extent 229 74)) (terminals on) (pinCenter 320 430)) (devCarrierFor 6 (active icon) (icon (extent 81 51) (iconImage "io.icn")) (open (extent 229 74)) (terminals on) (pinCenter 320 510)) (devCarrierFor 10 (active open) (icon (extent 129 0) (iconImage "display.icn")) (open (extent 355 347) (displayMode 47) (graphType cartesian) (gridType grid) (scale 0 (name "Vout (V)") (domainName "Frequency (Hz)") (Yspacing 1) (Xspacing 2) (pen 9) (show 1) (range 0.2 0.5 4 linear)) (domain 0 7000 4 linear) (trace 0 onScale 0 (name "response") (pen 4) (lineType 1) (pointType 0)) (markerPenColor 1)) (terminals on) (pinCenter 790 340)) (devCarrierFor 11 (active open) (icon) (open (extent 39 19)) (title off) (bg "Med Yellow Green") (font "Arial" 12 bold) (titleFont "Arial" 12 bold) (pinCenter 130 40)) (devCarrierFor 13 (active icon) (icon (extent 107 25)) (open (extent 96 54)) (terminals on) (pinCenter 590 550)) (devCarrierFor 14 (active icon) (icon (extent 73 25)) (open (extent 96 54)) (terminals on) (pinCenter 600 600)) (devCarrierFor 55 (active icon) (icon (extent 93 15)) (open (extent 344 121)) (pinCenter 180 700)) (devCarrierFor 56 (active icon) (icon (extent 93 15)) (open (extent 344 121)) (pinCenter 180 730)) (devCarrierFor 57 (active icon) (icon (extent 84 15)) (open (extent 388 126)) (pinCenter 180 670)) (devCarrierFor 60 (active icon) (icon (extent 33 15)) (open (extent 162 79)) (pinCenter 750 1190)) (devCarrierFor 64 (active open) (icon (extent 74 0)) (open (extent 325 57)) (terminals on) (pinCenter 520 1010)) (devCarrierFor 65 (active open) (icon (extent 68 15)) (open (extent 415 97)) (pinCenter 520 860)) (devCarrierFor 66 (active open) (icon (extent 165 0)) (open (extent 385 87)) (pinCenter 520 720)) (devCarrierFor 67 (active open) (icon (iconImage "notepad.icn")) (open (extent 355 115) (editing disabled)) (title off) (bg "Teal") (font "Arial" 12) (titleBg "Teal") (pinCenter 580 -270)) (devCarrierFor 68 (active open) (icon (iconImage "notepad.icn")) (open (extent 745 315) (editing disabled)) (title off) (font "Arial" 12) (pinCenter 620 -40)) (devCarrierFor 69 (active icon) (icon (extent 26 25)) (open) (terminals on) (pinCenter 650 1170)) (devCarrierFor 70 (active open) (icon (extent 114 0)) (open (extent 199 36)) (pinCenter 620 1110)) (devCarrierFor 71 (active icon) (icon (extent 137 25)) (open (extent 308 110)) (terminals on) (pinCenter 400 1100)) (devCarrierFor 72 (active icon) (icon (extent 103 16)) (open (extent 139 30)) (pinCenter 260 1100)) (devCarrierFor 73 (active icon) (icon (extent 61 25)) (open (extent 71 42)) (terminals on) (pinCenter 440 480)) (devCarrierFor 74 (active icon) (icon (extent 61 15)) (open (extent 71 31)) (terminals on) (pinCenter 460 340)) (connect D7:0 D0:0 (points 2 130 52 130 88)) (connect D0:1 D1:1 (points 2 191 220 200 220)) (connect D1:0 D2:0 (points 2 280 248 280 262)) (connect D2:0 D3:0 (points 4 280 318 280 340 140 340 140 350)) (connect D3:1 D4:1 (points 4 227 410 250 410 250 430 275 430)) (connect D4:0 D5:0 (points 2 320 458 320 482)) (connect D3:1 D6:1 (points 6 227 410 260 410 260 380 380 380 380 250 540 250)) (connect D23:1 D6:2 (points 4 473 480 500 480 500 430 540 430)) (connect D3:1 D8:1 (points 6 227 410 250 410 250 570 420 570 420 540 534 540)) (connect D3:0 D8:2 (points 5 140 452 140 610 500 610 500 560 534 560)) (connect D23:1 D9:1 (points 4 473 480 490 480 490 590 561 590)) (connect D3:0 D9:2 (points 3 140 452 140 610 561 610)) (connect D19:1 D13:0 (points 5 665 1170 690 1170 690 1160 750 1160 750 1180)) (connect D15:0 D14:0 (points 2 520 911 520 961)) (connect D8:1 D14:1 (points 6 646 550 670 550 670 630 290 630 290 990 325 990)) (connect D9:1 D14:2 (points 6 639 600 680 600 680 640 280 640 280 1030 325 1030)) (connect D16:0 D15:0 (points 2 520 766 520 791)) (connect D20:0 D19:1 (points 3 620 1130 620 1160 634 1160)) (connect D21:2 D19:2 (points 4 471 1110 490 1110 490 1180 634 1180)) (connect D21:1 D20:1 (points 4 471 1090 500 1090 500 1110 518 1110)) (connect D22:1 D21:1 (points 2 314 1100 329 1100)) (connect D14:0 D22:0 (points 4 520 1041 520 1060 260 1060 260 1089)) (connect D5:1 D23:1 (points 4 363 510 380 510 380 470 407 470)) (connect D24:1 D23:2 (points 6 493 340 510 340 510 370 390 370 390 490 407 490)) (connect D0:1 D24:1 (points 6 191 220 210 220 210 170 390 170 390 340 427 340))) (stackingOrder 0 9 7 11 15 16 8 10 12 17 19 13 20 3 1 2 4 5 21 14 22 18 6 23 24) ) (numberFormats (realFormat standard) (realSigDigits 4) (realRadixSpec 4) (integerBase decimal))))