(saveFormat "2.3") (date "Fri 19/Sep/2003 14:44:49 ") (veerev "6.1") (platform "PC") (execMode v6) (filterNAN 0) (workspaceStackingOrder M) (SaveCF no) (device 0 ROOTCONTEXT (properties (trigMode deg) (nextID 48) (popupTitleText "Untitled") (popupMoveable 1)) (deviceList (UserFunctions (nextID 1) (context 0 (properties (name "ChartPanel") (trigMode deg) (nextID 5) (popupTitleText "UserFunction") (showPopupTitle 0) (popupMoveable 1)) (interface (input 1 (name "File Name") (requires (datatype Text) (shape "Scalar")) (optional yes))) (deviceList (device 0 PICTURE (properties (pictureImage "I:\\Program Files\\Agilent\\VEE Pro 6.1/www/plot.jpg")) (interface (input 1 (name "File Name") (tag "File Name") (requires (datatype Text) (shape "Scalar")) (lock constraints) (optional yes) (buffer YES)) (input 2 (type control) (name "Clear") (lock name constraints) (optional yes)) (output 1 (type exception) (name "Error") (lock name constraints) (optional yes)))) (device 1 CONFIRM25 (properties (enterButton 0) (escapeButton 0)) (interface (output 1 (name "Go") (lock name constraints))) (implementation)) (device 2 GATE (interface (input 1 (name "A") (tag "InData")) (output 1 (name "X")))) (device 4 NOTE (properties (name "Comment") (text2 3 "This function shows the specified " "jpeg image file." ""))) (configuration (connect D2:0 D0:0) (connect I1:1 D0:1) (connect D2:1 D0:2) (connect D0:0 D1:0) (connect I1:1 D2:1)) (ShowOnExecPanel (relativeOrigin 211 146))) (contextCarrier (active detail) (panel (extent 546 450) (gridSize 1) (widget 0 detail (relativeOrigin 0 0) (bg "White") (title off) (borderStyle none) (extent 531 391) (pictureMode actual)) (widget 1 detail (relativeOrigin 224 405) (bg "Gray") (title off) (borderStyle none) (extent 101 41)) (panelBg "Med Light Gray")) (detail (extent 671 569) (anchorPt 192 142) (configuration (devCarrierFor 0 (active open) (icon (extent 42 15)) (open (extent 400 267) (pictureMode actual)) (terminals on) (pinCenter 215 220)) (devCarrierFor 1 (active open) (icon) (open (extent 47 22)) (title off) (pinCenter 260 380)) (devCarrierFor 2 (active icon) (icon (extent 30 15)) (open) (terminals on) (pinCenter -140 190)) (devCarrierFor 4 (active open) (icon (extent 68 0) (iconImage "notepad.icn")) (open (extent 375 77) (editing disabled)) (font "Courier New" 16) (titleBg "Dark Yellow") (pinCenter 40 -60)) (connect D2:0 D0:0 (points 6 -140 200 -140 220 -90 220 -90 50 200 50 200 66)) (connect I1:1 D0:1 (points 4 -192 142 -180 142 -180 150 -58 150)) (connect D2:1 D0:2 (points 4 -123 190 -100 190 -100 290 -58 290)) (connect D0:0 D1:0 (points 6 200 356 200 370 220 370 220 360 260 360 260 366)) (connect I1:1 D2:1 (points 4 -192 142 -180 142 -180 190 -158 190))) (stackingOrder 3 1 2 0))))) (device 4 MATLABSCRIPT (properties (matlabexpr 6 "set(gcf,\'MenuBar\',\'None\');" "contour(YData);" "title(\'Contour Graph\');" "" "" "")) (interface (input 1 (name "LegendNames") (optional yes)) (input 2 (name "YData") (optional yes)) (input 3 (name "TimeData") (optional yes)))) (device 19 CONTEXT (properties (name "Generate 5 waveforms") (trigMode deg) (nextID 11) (popupTitleText "UserObject") (popupMoveable 1)) (interface (output 1 (type data) (name "Legend") (lock constraints) (optional yes)) (output 2 (type data) (name "WaveformYData") (lock constraints) (optional yes)) (output 3 (type data) (name "WaveformTimeData") (lock constraints) (optional yes))) (deviceList (device 0 LITERALCONSTANT (properties (name "Function List") (isIndexingEnabled 0)) (interface (output 1 (name "Text") (lock name constraints))) (implementation (value Text (numDims 1) (size 5) (data [ "Cosine" "Sine" "Tri" "Square" "+Ramp" ])) (initValue Text (data "")))) (device 1 FORCOUNT (properties (count 5)) (interface (output 1 (name "Count") (lock name constraints)))) (device 2 FORMULA (properties (name "Random Signal") (expr 4 "Func=a[b];" "amp=random(0,1);" "freq=random(10,100)" "")) (interface (input 1 (name "A") (optional yes)) (input 2 (name "B") (optional yes)) (output 1 (name "Func") (optional yes)) (output 2 (name "Amp") (optional yes)) (output 3 (name "Freq") (optional yes)))) (device 3 VFUNCTIONGENERATOR (properties (function +Ramp) (frequency 77.1923828125) (amplitude 0.82281494140625) (dcOffset 0) (degRad Deg) (phaseShift 0) (interval 0.02) (numPoints 256)) (interface (input 1 (name "Function") (tag "Function") (requires (datatype Text) (shape "Scalar")) (lock constraints) (optional yes) (buffer YES)) (input 2 (name "Amplitude") (tag "Amplitude") (requires (datatype Real64) (shape "Scalar")) (lock constraints) (optional yes) (buffer YES)) (input 3 (name "Frequency") (tag "Frequency") (requires (datatype Real64) (shape "Scalar")) (lock constraints) (optional yes) (buffer YES)) (output 1 (name "Func") (lock name constraints)))) (device 4 FROMWAVEFORM (interface (input 1 (name "Wf Data") (requires (datatype Waveform)) (lock name constraints)) (output 1 (name "Real64 Ary") (lock name constraints)) (output 2 (name "Time Span") (lock name constraints)))) (device 5 COLLECTOR (properties (output1D 0)) (interface (input 1 (name "Data") (tag "Data")) (input 2 (type trigger) (name "XEQ") (lock name constraints)) (output 1 (name "Array") (tag "Array")))) (device 6 FORMULA (properties (name "transpose(x)") (expr 1 "transpose(x)")) (interface (input 1 (name "x") (optional yes)) (output 1 (name "Result") (tag "Result") (lock name constraints) (optional yes)))) (device 8 FORMULA (properties (name "Create Time Data") (expr 1 "ramp(256,0,timespan)")) (interface (input 1 (name "timespan") (optional yes)) (output 1 (name "Result") (tag "Result") (lock name constraints) (optional yes)))) (device 10 NOTE (properties (name "Comment") (text2 4 "This Matlab example plots a 2D array " "from data generated in VEE. " "" "A legend, grid, and axis labels are added as well."))) (configuration (connect D0:1 D2:1) (connect D1:1 D2:2) (connect D2:1 D3:1) (connect D2:2 D3:2) (connect D2:3 D3:3) (connect D3:1 D4:1) (connect D4:1 D5:1) (connect D1:0 D5:2) (connect D5:1 D6:1) (connect D4:2 D7:1) (connect D0:1 O1:1) (connect D6:1 O2:1) (connect D7:1 O3:1))) (contextCarrier (active detail) (detail (extent 863 527) (anchorPt -136 186) (configuration (devCarrierFor 0 (active open) (icon (extent 95 35)) (open (extent 155 137)) (font "Arial" 18) (pinCenter 240 -50)) (devCarrierFor 1 (active icon) (icon (extent 68 51) (iconImage "loop.icn")) (open (extent 95 31)) (pinCenter 250 130)) (devCarrierFor 2 (active icon) (icon (extent 94 34)) (open (extent 178 82)) (terminals on) (pinCenter 370 120)) (devCarrierFor 3 (active icon) (icon (extent 118 53) (iconImage "virtual.icn")) (open (extent 186 175)) (terminals on) (pinCenter 500 120)) (devCarrierFor 4 (active icon) (icon (extent 112 51) (iconImage "unbuild.icn")) (open (extent 12 50)) (terminals on) (pinCenter 640 120)) (devCarrierFor 5 (active icon) (icon (extent 53 25)) (open (extent 96 54)) (terminals on) (pinCenter 770 120)) (devCarrierFor 6 (active icon) (icon (extent 75 15)) (open (extent 100 31)) (terminals on) (pinCenter 870 120)) (devCarrierFor 8 (active icon) (icon (extent 106 15)) (open (extent 176 70)) (terminals on) (pinCenter 800 210)) (devCarrierFor 10 (active open) (icon (extent 68 0) (iconImage "notepad.icn")) (open (extent 525 117) (editing disabled)) (font "Arial" 18 bold) (titleBg "Teal") (pinCenter 650 -80)) (connect D0:1 D2:1 (points 6 320 -50 340 -50 340 40 310 40 310 110 320 110)) (connect D1:1 D2:2 (points 2 286 130 320 130)) (connect D2:1 D3:1 (points 2 419 110 438 110)) (connect D2:2 D3:2 (points 2 419 120 438 120)) (connect D2:3 D3:3 (points 2 419 130 438 130)) (connect D3:1 D4:1 (points 2 561 120 581 120)) (connect D4:1 D5:1 (points 2 698 110 741 110)) (connect D1:0 D5:2 (points 5 250 158 250 180 720 180 720 130 741 130)) (connect D5:1 D6:1 (points 2 799 120 830 120)) (connect D4:2 D7:1 (points 4 698 130 710 130 710 210 744 210)) (connect D0:1 O1:1 (points 4 320 -50 340 -50 340 -93 998 -93)) (connect D6:1 O2:1 (points 4 910 120 930 120 930 77 998 77)) (connect D7:1 O3:1 (points 4 855 210 880 210 880 247 998 247))) (stackingOrder 6 0 2 1 3 4 5 8 7)))) (device 21 NOTE (properties (name "Comment") (text2 3 "This Matlab example generates a contour" "graph and then creates a jpeg image of it." ""))) (device 22 NOTE (properties (name "Warranty Disclaimer") (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 35 FORMULA (properties (name "Filename") (expr 1 "installDir() + \"/www/plot.jpg\"")) (interface (output 1 (name "Result") (tag "Result") (lock name constraints) (optional yes)))) (device 36 MATLABSCRIPT (properties (name "MATLAB Script (Render Image)") (matlabexpr 5 "I = getframe(gcf);" "imwrite(I.cdata, filename);" "close(gcf);" "" "")) (interface (input 1 (name "filename") (optional yes)))) (device 42 CALL (properties (name "Call ChartPanel") (callFunc "ChartPanel") (parmMode rev30)) (interface (input 1 (name "File Name") (requires (datatype Text) (shape "Scalar")) (optional yes)))) (configuration (connect D1:1 D0:1) (connect D1:2 D0:2) (connect D1:3 D0:3) (connect D0:0 D5:0) (connect D4:1 D5:1) (connect D5:0 D6:0) (connect D4:1 D6:1))) (contextCarrier (wndOrigin 2 2) (wndState res) (active detail) (detail (extent 963 726) (anchorPt 217 -144) (configuration (devCarrierFor 4 (active open) (icon (extent 86 45)) (open (extent 305 107)) (terminals on) (font "Arial" 20) (pinCenter 495 440)) (devCarrierFor 19 (active icon) (icon (extent 215 85)) (terminals on) (titleFont "Arial" 18 bold) (pinCenter 40 440)) (devCarrierFor 21 (active open) (icon (extent 68 0) (iconImage "notepad.icn")) (open (extent 445 67) (editing enabled)) (font "Arial" 18 bold) (titleBg "Teal") (pinCenter 450 280)) (devCarrierFor 22 (active icon) (icon (extent 338 48) (iconImage "disclaim.icn") (label off)) (open (extent 419 127) (editing disabled)) (pinCenter 0 280)) (devCarrierFor 35 (active open) (icon (extent 57 0)) (open (extent 245 44)) (font "Arial" 16 bold) (titleFont "Arial" 16 bold) (pinCenter 30 610)) (devCarrierFor 36 (active open) (icon (extent 185 45)) (open (extent 325 97)) (terminals on) (font "Arial" 20) (pinCenter 475 610)) (devCarrierFor 42 (active icon) (icon (extent 245 45)) (open (extent 176 51)) (terminals on) (titleFont "Arial" 16) (pinCenter 460 720)) (connect D1:1 D0:1 (points 2 150 410 240 410)) (connect D1:2 D0:2 (points 2 150 440 240 440)) (connect D1:3 D0:3 (points 2 150 470 240 470)) (connect D0:0 D5:0 (points 2 460 496 460 541)) (connect D4:1 D5:1 (points 2 155 610 250 610)) (connect D5:0 D6:0 (points 2 460 661 460 695)) (connect D4:1 D6:1 (points 4 155 610 230 610 230 720 335 720))) (stackingOrder 0 2 4 5 6 3 1)) (numberFormats (realFormat standard) (realSigDigits 4) (realRadixSpec 4) (integerBase decimal))))