(saveFormat "7.0") (date "Tue 02/Oct/2007 16:09:16 ") (veerev "8.0.9625.0") (platform "PC") (execMode v6) (prefExecMode v6) (filterNAN 0) (workspaceStackingOrder F1.1 M.55 M.11 F1 M) (sysconfig (iodevice "Oscilloscope" (type USB) (channel 170) (readTerm "\n") (fs ",") (eol "\n") (multiField dataOnly) (arrayFormat linear) (timeout 5) (byteOrder 0) (idn "agmso6032a") (ppAddr "USB0::2391::5938::MY44000604::0::INSTR") (model "agmso6032a") (eoiEnabled 1) (VISAlias "MSO Oscilloscope") (VISAddr "USB0::2391::5938::MY44000604::0::INSTR") (model "agmso6032a" (standard 488.2))) (iodevice "FunctionGen" (type USB) (channel 170) (readTerm "\n") (fs ",") (eol "\n") (multiField dataOnly) (arrayFormat linear) (timeout 5) (byteOrder 0) (idn "ag33220a") (ppAddr "USB0::2391::1031::MY44020749::0::INSTR") (model "ag33220a") (eoiEnabled 1) (VISAlias "Function Generator") (VISAddr "USB0::2391::1031::MY44020749::0::INSTR") (model "ag33220a" (standard 488.2)))) (SaveCF no) (device 0 ROOTCONTEXT (automationRefs (automationRef 1 (libid "{00020813-0000-0000-C000-000000000046}") (desc "Microsoft Excel 8.0 Object Library") (filename "C:\\Program Files\\Microsoft Office\\Office\\EXCEL8.OLB") (verMajor 1) (verMinor 2) (lcid 0))) (properties (variableName Main) (variableScope glob) (trigMode deg) (nextID 139) (popupTitleText "Untitled") (popupMoveable 1) (deleteGlobals 0)) (deviceList (UserFunctions (nextID 3) (context 1 (properties (name "WriteData") (variableName WriteData) (variableScope glob) (trigMode deg) (nextID 49) (popupTitleText "UserFunction1") (popupMoveable 1)) (interface (input 1 (name "Index Value") (optional yes)) (input 2 (name "Frequency Array") (optional yes)) (input 3 (name "Measurement type") (optional yes)) (input 4 (name "Hemisphere") (optional yes))) (deviceList (device 1 CONTEXT (properties (name "cellAbsolute") (customHelpMenuName "Excel Help") (customHelpMenuDescription "Help on the Excel Library function \'cellAddressAbsolute\'") (customHelpMenuHelpLink "To_Move_to_an_Absolute_Cell_Address") (variableScope cont) (trigMode deg) (nextID 8) (popupTitleText "UserObject") (popupMoveable 1)) (interface (input 1 (name "X") (optional yes)) (input 2 (name "Y") (optional yes)) (output 1 (type data) (name "cellAbsolute") (lock constraints) (optional yes))) (deviceList (device 4 NOTE (properties (customHelpMenuName "Excel Help") (customHelpMenuDescription "Help on the Excel Library function \'cellAddressAbsolute\'") (customHelpMenuHelpLink "To_Move_to_an_Absolute_Cell_Address") (variableScope cont) (text2 1 "{\\rtf1\\ansi\\ansicpg1252\\deff0{\\fonttbl{\\f0\\fnil\\fcharset0 Courier New;}}\r\n\\viewkind4\\uc1\\pard\\lang1033\\f0\\fs18 cellAbsolute returns the address of a cell\\par\r\ngiven absolute coordinates where X is the \\par\r\ncolumn and Y is the row. \\par\r\n\\par\r\nX can be from 1 to 256.\\par\r\nY can be from 1 to 65536.\\par\r\n}\r\n" ))) (device 5 TEXTDISPLAY (properties (customHelpMenuName "Excel Help") (customHelpMenuDescription "Help on the Excel Library function \'cellAddressAbsolute\'") (customHelpMenuHelpLink "To_Move_to_an_Absolute_Cell_Address") (variableScope cont)) (interface (input 1 (name "Data")))) (device 7 CALL (properties (name "Call xlLib.cellAddressAbsolute") (customHelpMenuName "Excel Help") (customHelpMenuDescription "Help on the Excel Library function \'cellAddressAbsolute\'") (customHelpMenuHelpLink "To_Move_to_an_Absolute_Cell_Address") (variableScope cont) (callFunc "xlLib.cellAddressAbsolute") (parmMode rev30)) (interface (input 1 (name "X") (optional yes)) (input 2 (name "Y") (optional yes)) (output 1 (name "Result") (optional yes)))) (configuration (connect D2:1 D1:1) (connect I1:1 D2:1) (connect I2:1 D2:2) (connect D2:1 O1:1))) (contextCarrier (wndOrigin 2 2) (wndState res) (active detail) (detail (extent 801 358) (anchorPt -84 66) (configuration (devCarrierFor 4 (active open) (icon (iconImage "notepad.icn")) (open (extent 334 116) (editing enabled)) (pinCenter 640 40)) (devCarrierFor 5 (active open) (icon) (open (extent 145 37)) (pinCenter 570 230)) (devCarrierFor 7 (active open) (icon (extent 185 0)) (open (extent 176 51)) (terminals on) (pinCenter 290 110)) (connect D2:1 D1:1 (points 6 430 110 450 110 450 130 470 130 470 230 495 230)) (connect I1:1 D2:1 (points 4 84 22 100 22 100 100 169 100)) (connect I2:1 D2:2 (points 4 84 202 100 202 100 120 169 120)) (connect D2:1 O1:1 (points 6 430 110 450 110 450 130 830 130 830 112 884 112))) (stackingOrder 0 1 2)))) (device 2 CALL (properties (name "Call xlLib.DataToCells") (customHelpMenuName "Excel Help") (customHelpMenuDescription "Help on the Excel Library function \'DataToCells\'") (customHelpMenuHelpLink "Managing_Data") (variableScope cont) (callFunc "xlLib.DataToCells") (parmMode rev30)) (interface (input 1 (name "Data") (optional yes)) (input 2 (name "Cells") (optional yes)) (output 1 (name "Range") (optional yes)))) (device 5 FORMULA (properties (variableScope cont) (expr 1 "[B,C]")) (interface (input 1 (name "B") (optional yes)) (input 2 (name "C") (optional yes)) (output 1 (name "Result") (tag "Result") (lock name constraints) (optional yes)))) (device 11 START25 (properties (variableScope cont))) (device 26 FORMULA (properties (name "A * B") (variableScope cont) (expr 2 "A * 2 + 2" "//Row Determination")) (interface (input 1 (name "A") (optional yes)) (output 1 (name "Result") (tag "Result") (lock name constraints) (optional yes)))) (device 18 FROMARRAY (properties (variableScope cont) (expr 1 "Ary[A]")) (interface (input 1 (name "Ary") (tag "Ary")) (input 2 (name "A") (optional yes)) (output 1 (name "SubAry") (tag "Result")) (output 2 (name "Type") (tag "Type")) (output 3 (name "NumDims") (tag "NumDims")) (output 4 (name "DimSizes") (tag "DimSizes")) (output 5 (name "TotSize") (tag "TotSize")))) (device 29 DELAY (properties (variableScope cont) (delay 2)) (interface (input 1 (name "Delay") (tag "Delay") (requires (datatype Real64) (shape "Scalar")) (lock constraints) (optional yes) (buffer YES)) (output 1 (name "Done")))) (device 33 FORMULA (properties (name "A + B") (variableScope cont) (expr 2 "A + (B*17) + 3" "//column determination")) (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 44 IODEVICE (properties (name "FunctionGen (ag33220a @Function Generator)") (variableScope cont) (transactions 1 "WRITE TEXT \"FREQ \", A, \"Hz\" EOL")) (interface (input 1 (name "A") (optional yes))) (implementation (ioDevType 17) (visaAlias "Function Generator") (iopath "FunctionGen"))) (device 46 IODEVICE (properties (name "Oscilloscope (agmso6032a @MSO Oscilloscope)") (variableScope cont) (transactions 7 "WRITE TEXT \"AUTOscale\" EOL" "WRITE TEXT \"MEASure:SOURce CHANnel1\" EOL" "WRITE TEXT \":MEASure:PHASe?\" EOL" "READ TEXT y REAL64" "WRITE TEXT \"MEASure:SOURce CHAnnel1\" EOL" "WRITE TEXT \"MEASure:VRMS?\" EOL" "READ TEXT x REAL64")) (interface (output 1 (name "X") (optional yes)) (output 2 (name "Y") (optional yes))) (implementation (ioDevType 17) (visaAlias "MSO Oscilloscope") (iopath "Oscilloscope"))) (device 47 FROMGLOBAL (properties (name "Get dELAY") (variableScope cont) (globalName "dELAY")) (interface (output 1 (name "Data") (tag "Data") (lock name constraints)))) (configuration (connect D4:1 D0:1) (connect D7:1 D0:2) (connect D2:1 D1:1) (connect D0:1 D1:2) (connect D9:1 D2:1) (connect D9:2 D2:2) (connect I3:1 D4:1) (connect I2:1 D5:1) (connect I1:1 D5:2) (connect D8:0 D6:0) (connect D10:1 D6:1) (connect I1:1 D7:1) (connect I4:1 D7:2) (connect D3:0 D8:0) (connect D5:1 D8:1) (connect D6:0 D9:0))) (contextCarrier (wndOrigin 2 2) (wndState res) (active detail) (detail (extent 917 687) (anchorPt 304 -69) (configuration (devCarrierFor 1 (active icon) (icon (extent 95 25)) (terminals on) (pinCenter 360 440)) (devCarrierFor 2 (active icon) (icon (extent 134 25)) (open (extent 176 51)) (terminals on) (pinCenter 480 320)) (devCarrierFor 5 (active icon) (icon (extent 50 34)) (open (extent 71 62)) (terminals on) (pinCenter 350 310)) (devCarrierFor 11 (active open) (icon) (open (extent 47 22)) (title off) (pinCenter 300 10)) (devCarrierFor 26 (active open) (icon (extent 30 15)) (open (extent 190 66)) (terminals on) (pinCenter 70 440)) (devCarrierFor 18 (active icon) (icon (extent 68 54) (iconImage "unbuild.icn")) (open (extent 93 110)) (terminals on) (pinCenter 70 80)) (devCarrierFor 29 (active open) (icon (extent 35 15)) (open (extent 71 31)) (pinCenter -170 170)) (devCarrierFor 33 (active open) (icon (extent 144 65)) (open (extent 265 66)) (terminals on) (pinCenter -240 -80)) (devCarrierFor 44 (active icon) (icon (extent 282 51) (iconImage "io.icn")) (open (extent 258 74)) (terminals on) (pinCenter 500 120)) (devCarrierFor 46 (active open) (icon (extent 300 51) (iconImage "io.icn")) (open (extent 334 206)) (terminals on) (pinCenter -170 310)) (devCarrierFor 47 (active icon) (icon (extent 63 15)) (open (extent 73 51)) (terminals on) (pinCenter -310 170)) (connect D4:1 D0:1 (points 4 217 440 240 440 240 430 310 430)) (connect D7:1 D0:2 (points 6 -55 -80 -30 -80 -30 150 300 150 300 450 310 450)) (connect D2:1 D1:1 (points 2 377 310 410 310)) (connect D0:1 D1:2 (points 6 410 440 430 440 430 410 370 410 370 330 410 330)) (connect D9:1 D2:1 (points 4 29 260 152 260 152 300 322 300)) (connect D9:2 D2:2 (points 4 29 360 152 360 152 320 322 320)) (connect I3:1 D4:1 (points 4 -304 492 -290 492 -290 440 -58 440)) (connect I2:1 D5:1 (points 4 -304 322 -500 322 -500 60 33 60)) (connect I1:1 D5:2 (points 8 -304 152 -500 152 -500 -240 -360 -240 -360 -160 0 -160 0 100 33 100)) (connect D8:0 D6:0 (points 8 500 148 500 170 340 170 340 140 10 140 10 120 -170 120 -170 134)) (connect D10:1 D6:1 (points 2 -276 170 -208 170)) (connect I1:1 D7:1 (points 4 -304 152 -420 152 -420 -100 -405 -100)) (connect I4:1 D7:2 (points 8 -304 662 -420 662 -420 320 -440 320 -440 150 -420 150 -420 -60 -405 -60)) (connect D3:0 D8:0 (points 4 300 23 300 40 500 40 500 92)) (connect D5:1 D8:1 (points 4 106 60 130 60 130 120 356 120)) (connect D6:0 D9:0 (points 4 -170 188 -170 235 -170 235 -170 186))) (stackingOrder 3 5 6 0 8 2 1 7 4 10 9))))) (device 11 CONTEXT (properties (name "Initialize Excel Library") (customHelpMenuName "Excel Help") (customHelpMenuDescription "Help on loading the Excel Library, and calling its function \'Initialize\'") (customHelpMenuHelpLink "Initialize") (variableScope cont) (trigMode deg) (nextID 43) (popupTitleText "UserObject") (popupMoveable 1)) (deviceList (device 29 IMPORT (properties (name "Import Library") (customHelpMenuName "Excel Help") (customHelpMenuDescription "Help on loading the Excel Library, and calling its function \'Initialize\'") (customHelpMenuHelpLink "Initialize") (variableScope cont) (libType userFunction) (libName "xlLib") (fileName "C:\\Program Files\\Agilent\\VEE Pro 8.0\\Lib\\ExcelLibrary\\ExcelLibrary.vxe")) (interface (input 1 (type control) (name "File Name") (tag "File Name") (requires (datatype Text) (shape "Scalar")) (lock name constraints) (optional yes))) (implementation)) (device 30 FORMULA (properties (name "Excel Runtime Library File Specifier") (customHelpMenuName "Excel Help") (customHelpMenuDescription "Help on loading the Excel Library, and calling its function \'Initialize\'") (customHelpMenuHelpLink "Initialize") (variableScope cont) (expr 1 "installDir() + \"\\\\Lib\\\\ExcelLibrary\\\\ExcelLibrary.vxe\"")) (interface (output 1 (name "Result") (tag "Result") (lock name constraints) (optional yes)))) (device 33 CALL (properties (name "Call xlLib.Initialize") (customHelpMenuName "Excel Help") (customHelpMenuDescription "Help on loading the Excel Library, and calling its function \'Initialize\'") (customHelpMenuHelpLink "Initialize") (variableScope cont) (callFunc "xlLib.Initialize") (parmMode rev30))) (configuration (connect D1:0 D0:0) (connect D1:1 D0:1) (connect D0:0 D2:0))) (contextCarrier (wndOrigin 2 2) (wndState res) (active detail) (detail (extent 749 382) (anchorPt -327 -349) (configuration (devCarrierFor 29 (active icon) (icon (extent 82 15)) (open (extent 224 82)) (pinCenter 890 420)) (devCarrierFor 30 (active open) (icon (extent 196 15)) (open (extent 295 50)) (terminals on) (pinCenter 550 440)) (devCarrierFor 33 (active icon) (icon (extent 115 15)) (open (extent 176 51)) (terminals on) (pinCenter 890 460)) (connect D1:0 D0:0 (points 6 560 467 560 490 780 490 780 390 890 390 890 410)) (connect D1:1 D0:1 (points 4 750 440 770 440 770 420 846 420)) (connect D0:0 D2:0 (points 2 890 430 890 450))) (stackingOrder 0 1 2)))) (device 12 CONTEXT (properties (name "Excel Settings") (customHelpMenuName "Excel Help") (customHelpMenuDescription "Help on the Excel Library function \'Settings\'") (customHelpMenuHelpLink "Vxl_Settings") (variableScope cont) (trigMode deg) (nextID 16) (popupTitleText "UserObject") (popupMoveable 1)) (deviceList (device 1 CALL (properties (name "Call xlLib.Settings") (customHelpMenuName "Excel Help") (customHelpMenuDescription "Help on the Excel Library function \'Settings\'") (customHelpMenuHelpLink "Vxl_Settings") (variableScope cont) (callFunc "xlLib.Settings") (parmMode rev30)) (interface (input 1 (name "Rec") (optional yes)))) (device 10 RECCONST (properties (name "Record") (customHelpMenuName "Excel Help") (customHelpMenuDescription "Help on the Excel Library function \'Settings\'") (customHelpMenuHelpLink "Vxl_Settings") (variableScope cont) (enableEditing 1)) (interface (output 1 (name "Record") (lock name constraints))) (implementation (value Record (schema (numFields 6) (fieldName "Visible" (type Enum) (values ("False" 0) ("True" 1))) (fieldName "WindowMode" (type Enum) (values ("Normal" 0) ("Maximized" 1) ("Minimized" 2))) (fieldName "BookWindowMode" (type Enum) (values ("Normal" 0) ("Maximized" 1) ("Minimized" 2))) (fieldName "ArrangeWindows" (type Enum) (values ("Cascade" 0) ("Horizontal" 1) ("Tiled" 2) ("Vertical" 3))) (fieldName "ErrorAction" (type Enum) (values ("Quit" 0) ("OKCancel" 1) ("Ignore" 2) ("RaiseError" 3))) (fieldName "DisplayAlerts" (type Enum) (values ("True" 0) ("False" 1)))) (data (record ("Visible" "True") ("WindowMode" "Normal") ("BookWindowMode" "Maximized") ("ArrangeWindows" "Cascade") ("ErrorAction" "RaiseError") ("DisplayAlerts" "True")))))) (device 14 NOTE (properties (customHelpMenuName "Excel Help") (customHelpMenuDescription "Help on the Excel Library function \'Settings\'") (customHelpMenuHelpLink "Vxl_Settings") (variableScope cont) (text2 1 "{\\rtf1\\ansi\\ansicpg1252\\deff0{\\fonttbl{\\f0\\fnil\\fcharset0 Courier New;}}\r\n\\viewkind4\\uc1\\pard\\lang1033\\f0\\fs18 VISIBLE: \\par\r\n Causes Excel to appear or disappear. Set it to False to focus\\par\r\n the user\'s attention on the VEE program.\\par\r\n\\par\r\nWINDOW MODE: \\par\r\n Applies to Excel. These are the same as the icons\\par\r\n at the upper right corner of every application window. \\par\r\n\\par\r\nBOOK WINDOW MODE:\\par\r\n Same as WindowMode except this applies to the Workbook\\par\r\n client windows instead of Excel.\\par\r\n}\r\n" ))) (device 15 NOTE (properties (variableScope cont) (text2 1 "{\\rtf1\\ansi\\ansicpg1252\\deff0\\deflang1033{\\fonttbl{\\f0\\fnil\\fcharset0 Courier New;}{\\f1\\fnil\\fcharset0 Times New Roman;}}\r\n{\\colortbl ;\\red0\\green0\\blue0;}\r\n\\viewkind4\\uc1\\pard\\f0\\fs18 ARRANGE WINDOWS: \\par\r\n Applies to multiple Workbooks and is ignored unless \\par\r\n BookWindowMode is Normal.\\par\r\n\\par\r\nERROR ACTION: \\par\r\n RaiseError: Excel Library will raise error inside its error handler.\\par\r\n Quit: Excel Library error handler function will call \\par\r\n xlLib.QuitExcelLibrary and Excel will be unloaded.\\par\r\n OKCancel: A message box with a 30 second timeout will appear. \\par\r\n If the user presses OK, the error is ignored, Cancel will \\par\r\n raise the error, and the timeout will raise the error also.\\par\r\n Ignore: Excel will continue, and the error may be recirculated so only\\par\r\n use this when a user can intervene.\\par\r\n\\par\r\nDISPLAY ALERTS:\\par\r\n Set to False to reduce the number of Excel message box \\par\r\n dialogs. Default startup setting for DisplayAlerts is True. \\par\r\n You can change this setting in a formula box without calling\\par\r\n ExcelSettings using: xlApp.DisplayAlerts=False|True; CAUTION:\\par\r\n Setting this to False may cause Excel to hang! For overwriting\\par\r\n prompts only, see the Excel / \'Save Workbook As\' object.\\cf1\\f1\\fs24\\par\r\n}\r\n" ))) (configuration (connect D1:1 D0:1))) (contextCarrier (active detail) (detail (extent 970 662) (anchorPt 25 26) (configuration (devCarrierFor 1 (active icon) (icon (extent 115 15)) (open (extent 176 51)) (terminals on) (pinCenter 390 110)) (devCarrierFor 10 (active open) (icon (extent 44 15)) (open (extent 304 216) (formatters)) (pinCenter 150 120)) (devCarrierFor 14 (active open) (icon (iconImage "notepad.icn")) (open (extent 494 196) (editing enabled)) (pinCenter 750 120)) (devCarrierFor 15 (active open) (icon (iconImage "notepad.icn")) (open (extent 584 336) (editing enabled)) (pinCenter 750 440)) (connect D1:1 D0:1 (points 4 304 120 310 120 310 110 330 110))) (stackingOrder 1 0 2 3)))) (device 16 CONTEXT (properties (name "OpenWorkbook") (customHelpMenuName "Excel Help") (customHelpMenuDescription "Help on the Excel Library function \'OpenWorkbookRW\'") (customHelpMenuHelpLink "To_Open_an_Existing_Workbook") (variableScope cont) (trigMode deg) (nextID 3) (popupTitleText "UserObject") (popupMoveable 1)) (interface (input 1 (name "fileName") (optional yes))) (deviceList (device 0 CALL (properties (name "Call xlLib.OpenWorkbookRW") (customHelpMenuName "Excel Help") (customHelpMenuDescription "Help on the Excel Library function \'OpenWorkbookRW\'") (customHelpMenuHelpLink "To_Open_an_Existing_Workbook") (variableScope cont) (callFunc "xlLib.OpenWorkbookRW") (parmMode rev30)) (interface (input 1 (name "fileName") (optional yes)) (input 2 (name "OpenMode") (optional yes)))) (device 1 RECCONST (properties (name "Open Workbook") (customHelpMenuName "Excel Help") (customHelpMenuDescription "Help on the Excel Library function \'OpenWorkbookRW\'") (customHelpMenuHelpLink "To_Open_an_Existing_Workbook") (variableScope cont) (enableEditing 1)) (interface (output 1 (name "Record") (lock name constraints))) (implementation (value Record (schema (numFields 1) (fieldName "ReadOnly" (type Enum) (values ("True" 0) ("False" 1)))) (data (record ("ReadOnly" "False")))))) (device 2 NOTE (properties (customHelpMenuName "Excel Help") (customHelpMenuDescription "Help on the Excel Library function \'OpenWorkbookRW\'") (customHelpMenuHelpLink "To_Open_an_Existing_Workbook") (variableScope cont) (text2 1 "{\\rtf1\\ansi\\deff0{\\fonttbl{\\f0\\fnil\\fcharset0 Courier New;}}\r\n\\viewkind4\\uc1\\pard\\lang1033\\f0\\fs18 OpenWorkbookRW can open a workbook\\par\r\nfor Read-Only or Read-Write\\par\r\naccess by changing the ReadOnly\\par\r\nmode in the Open Workbook settings.\\par\r\n\\par\r\n}\r\n" ))) (configuration (connect I1:1 D0:1) (connect D1:1 D0:2))) (contextCarrier (active detail) (detail (extent 692 402) (anchorPt 0 0) (configuration (devCarrierFor 0 (active open) (icon (extent 100 0)) (open (extent 176 51)) (terminals on) (pinCenter 505 110)) (devCarrierFor 1 (active open) (icon (extent 96 0)) (open (extent 245 87) (formatters)) (pinCenter 160 190)) (devCarrierFor 2 (active open) (icon (iconImage "notepad.icn")) (open (extent 272 127) (editing enabled)) (pinCenter 460 280)) (connect I1:1 D0:1 (points 4 0 200 10 200 10 100 334 100)) (connect D1:1 D0:2 (points 4 285 190 310 190 310 120 334 120))) (stackingOrder 0 1 2)))) (device 17 FILESELECT (properties (name "File Name Selection") (customHelpMenuName "Excel Help") (customHelpMenuDescription "Help on the Excel Library function \'OpenWorkbookRW\'") (customHelpMenuHelpLink "To_Open_an_Existing_Workbook") (variableScope cont) (prompt "Enter File Name:") (initialDirectory "C:\\Documents and Settings\\Rat Lab\\Desktop\\Data") (initialFile "Data.xls") (dialogMode Writing)) (interface (output 1 (name "File Name") (lock name constraints)) (output 2 (name "Cancel") (lock name constraints))) (implementation)) (device 24 START25 (properties (variableScope cont))) (device 25 CALL (properties (name "Call xlLib.CloseWorkbook") (customHelpMenuName "Excel Help") (customHelpMenuDescription "Help on the Excel Library function \'CloseWorkbook\'") (customHelpMenuHelpLink "To_Close_Workbooks") (variableScope cont) (callFunc "xlLib.CloseWorkbook") (parmMode rev30))) (device 26 CALL (properties (name "Call xlLib.SaveWorkbook") (customHelpMenuName "Excel Help") (customHelpMenuDescription "Help on the Excel Library function \'SaveWorkbook\'" ) (customHelpMenuHelpLink "To_Save_a_WorkBook") (variableScope cont) (callFunc "xlLib.SaveWorkbook") (parmMode rev30))) (device 55 CONTEXT (properties (name "SendDataSettings") (customHelpMenuName "Excel Help") (customHelpMenuDescription "Help on the Excel Library function \'SendDataSettings\'") (customHelpMenuHelpLink "To_Send_Data_Settings") (variableScope cont) (trigMode deg) (nextID 17) (popupTitleText "UserObject") (popupMoveable 1)) (deviceList (device 3 NOTE (properties (customHelpMenuName "Excel Help") (customHelpMenuDescription "Help on the Excel Library function \'SendDataSettings\'") (customHelpMenuHelpLink "To_Send_Data_Settings") (variableScope cont) (text2 1 "{\\rtf1\\ansi\\deff0{\\fonttbl{\\f0\\fnil\\fcharset0 Courier New;}}\r\n\\viewkind4\\uc1\\pard\\lang1033\\f0\\fs18 Orientation for arrays:\\par\r\n\\par\r\nSelect Vertical for a 1D array to appear in a single Worksheet column, or horizontal for a single row.\\par\r\n\\par\r\nFor 2D arrays, the first dimension is oriented the same as for a 1D array.\\par\r\n\\par\r\nFor 3D arrays, the orientation on each sheet for the first 2 dimensions is the same as for 2D arrays.\\par\r\n\\par\r\nZlabel is used to label the 2D data table that appears on the worksheets for each of the 3rd dimension elements. The labeled cell is immediately above the data.\\par\r\n\\par\r\n}\r\n" ))) (device 6 NOTE (properties (customHelpMenuName "Excel Help") (customHelpMenuDescription "Help on the Excel Library function \'SendDataSettings\'") (customHelpMenuHelpLink "To_Send_Data_Settings") (variableScope cont) (text2 1 "{\\rtf1\\ansi\\deff0{\\fonttbl{\\f0\\fnil\\fcharset0 Courier New;}}\r\n\\viewkind4\\uc1\\pard\\lang1033\\f0\\fs18 Three-D arrays:\\par\r\n \\par\r\nSelect CreateNewSheets to add a blank sheet if needed for each element in the third dimension. Each sheet contains a two-D array.\\par\r\n\\par\r\nCopyStartingSheet is similar, but more powerful. This setting will automatically copy the starting sheet when creating a new sheet, so any formatting (including charts) on that sheet will appear on all sheets added.\\par\r\n\\par\r\nUseSingleSheet places all data on a single sheet with two-D arrays separated by blank rows. \\par\r\n\\par\r\nFor all settings, each time a two-D array is printed, it is preceeded by a row containing the value of the current element in the third dimension. \\par\r\n}\r\n" ))) (device 14 CALL (properties (name "Call xlLib.SendDataSettings") (customHelpMenuName "Excel Help") (customHelpMenuDescription "Help on the Excel Library function \'SendDataSettings\'") (customHelpMenuHelpLink "To_Send_Data_Settings") (variableScope cont) (callFunc "xlLib.SendDataSettings") (parmMode rev30)) (interface (input 1 (name "A") (optional yes)))) (device 16 RECCONST (properties (name "SendData Settings") (customHelpMenuName "Excel Help") (customHelpMenuDescription "Help on the Excel Library function \'SendDataSettings\'") (customHelpMenuHelpLink "To_Send_Data_Settings") (variableScope cont) (enableEditing 1)) (interface (output 1 (name "Record") (lock name constraints))) (implementation (value Record (schema (numFields 3) (fieldName "Orientation" (type Enum) (values ("Vertical" 0) ("Horizontal" 1))) (fieldName "ThreeDArrays" (type Enum) (values ("CreateNewSheets" 0) ("CopyStartingSheet" 1) ("UseSingleSheet" 2))) (fieldName "Zlabel" (type Text))) (data (record ("Orientation" "Horizontal") ("ThreeDArrays" "CreateNewSheets") ("Zlabel" "Z=")))))) (configuration (connect D3:1 D2:1))) (contextCarrier (wndOrigin 2 2) (wndState res) (active detail) (detail (extent 966 890) (anchorPt -116 -369) (configuration (devCarrierFor 3 (active open) (icon (iconImage "notepad.icn")) (open (extent 345 297) (editing enabled)) (pinCenter 670 580)) (devCarrierFor 6 (active open) (icon (iconImage "notepad.icn")) (open (extent 394 306) (editing enabled)) (pinCenter 700 940)) (devCarrierFor 14 (active icon) (icon (extent 185 15)) (open (extent 176 51)) (terminals on) (pinCenter 320 720)) (devCarrierFor 16 (active open) (icon (extent 113 15)) (open (extent 263 147) (formatters)) (pinCenter 280 560)) (connect D3:1 D2:1 (points 6 414 560 430 560 430 660 210 660 210 720 225 720))) (stackingOrder 1 3 0 2)))) (device 58 FORCOUNT (properties (variableScope cont) (count 16)) (interface (input 1 (name "Count") (tag "Count") (requires (datatype Int32) (shape "Scalar")) (lock constraints) (optional yes) (buffer YES)) (output 1 (name "Count") (lock name constraints)))) (device 73 CALL (properties (name "Call WriteData") (variableScope cont) (callFunc "WriteData") (parmMode rev30)) (interface (input 1 (name "A") (optional yes)) (input 2 (name "B") (optional yes)) (input 3 (name "C") (optional yes)) (input 4 (name "D") (optional yes)))) (device 93 CONSTANT (properties (name "LowFreqs") (variableScope cont) (enableEditing 1)) (interface (output 1 (name "Int32") (lock name constraints))) (implementation (value Int32 (numDims 1) (size 16) (data [ 150 200 500 750 1000 1500 2000 3000 5000 7500 10000 20000 30000 50000 75000 100000 ])) (initValue Int32 (data 0)))) (device 104 FROMARRAY (properties (variableScope cont) (expr 1 "Ary")) (interface (input 1 (name "Ary") (tag "Ary")) (output 1 (name "SubAry") (tag "Result")) (output 2 (name "Type") (tag "Type")) (output 3 (name "NumDims") (tag "NumDims")) (output 4 (name "DimSizes") (tag "DimSizes")) (output 5 (name "TotSize") (tag "TotSize")))) (device 118 ENUMCONSTANT (properties (name "Measurement") (description2 1 "{\\rtf1\\ansi\\ansicpg1252\\deff0\\deflang1033{\\fonttbl{\\f0\\froman\\fprq2\\fcharset0 Times New Roman;}{\\f1\\fnil\\fcharset0 Microsoft Sans Serif;}{\\f2\\fswiss\\fcharset0 Arial;}}\r\n{\\colortbl ;\\red255\\green0\\blue0;}\r\n\\viewkind4\\uc1\\pard\\f0\\fs24 Create your \\cf1\\b own\\cf0\\b0 template for object Descriptions by editing the file: \\ul\\b \\\\templates\\\\description.rtf\\ulnone\\b0\\f1\\fs17\\par\r\n\\f2\\fs20\\par\r\n}\r\n" ) (variableScope cont) (enableEditing 1)) (interface (output 1 (name "Enum") (lock name constraints)) (output 2 (name "Ordinal") (lock name constraints))) (implementation (value Enum (values ("Rat 1 Injury" 0) ("Rat 1 Penumbra" 1) ("Rat 2 Injury" 2) ("Rat 2 Penumbra" 3) ("Rat 3 Injury" 4) ("Rat 3 Penumbra" 5) ("Rat 4 Injury " 6) ("Rat 4 Penumbra" 7) ("Rat 5 Injury" 8) ("Rat 5 Penumbra" 9) ("Rat 6 Injury" 10) ("Rat 6 Penumbra" 11) ("Rat 7 Injury " 12) ("Rat 7 Penumbra" 13) ("Rat 8 Injury" 14) ("Rat 8 Penumbra" 15)) (data "Rat 8 Injury")) (initValue Text (data "Rat 1 Injury")))) (device 122 ENUMCONSTANT (properties (name "Hemisphere") (description2 1 "{\\rtf1\\ansi\\ansicpg1252\\deff0\\deflang1033{\\fonttbl{\\f0\\froman\\fprq2\\fcharset0 Times New Roman;}{\\f1\\fnil\\fcharset0 Microsoft Sans Serif;}{\\f2\\fswiss\\fcharset0 Arial;}}\r\n{\\colortbl ;\\red255\\green0\\blue0;}\r\n\\viewkind4\\uc1\\pard\\f0\\fs24 Create your \\cf1\\b own\\cf0\\b0 template for object Descriptions by editing the file: \\ul\\b \\\\templates\\\\description.rtf\\ulnone\\b0\\f1\\fs17\\par\r\n\\f2\\fs20\\par\r\n}\r\n" ) (variableScope cont) (enableEditing 1)) (interface (output 1 (name "Enum") (lock name constraints)) (output 2 (name "Ordinal") (lock name constraints))) (implementation (value Enum (values ("Control" 0) ("Slow Aquisition" 1) ("Fast Aquisition" 2) ("Low Amperage" 3) ("High Amperage" 4) ("Surface" 5) ("1mm Depth" 6) ("2mm Depth" 7) ("3mm Depth" 8) ("C-C 1mm" 9) ("C-C 2mm" 10) ("C-C 3mm" 11) ("0.075mm Dia" 12) ("0.125mm Dia" 13) ("0.20mm Dia" 14) ("0.25mm Dia" 15) ("AP Orientation" 16) ("" 17)) (data "Control")) (initValue Text (data "Control")))) (device 123 IFTHENELSE (properties (variableScope cont) (cases 1 "A==\"Low Amperage\"")) (interface (input 1 (name "A") (optional yes)) (output 1 (name "Then") (lock name constraints)) (output 2 (name "Else") (lock name constraints)))) (device 124 IODEVICE (properties (name "FunctionGen (ag33220a @Function Generator)") (variableScope cont) (transactions 1 "WRITE TEXT \"VOLT 0.5\" EOL")) (implementation (ioDevType 17) (visaAlias "Function Generator") (iopath "FunctionGen"))) (device 125 IODEVICE (properties (name "FunctionGen (ag33220a @Function Generator)") (variableScope cont) (transactions 1 "WRITE TEXT \"VOLT 3.0\" EOL")) (implementation (ioDevType 17) (visaAlias "Function Generator") (iopath "FunctionGen"))) (device 126 IFTHENELSE (properties (variableScope cont) (cases 1 "A==\"High Amperage\"")) (interface (input 1 (name "A") (optional yes)) (output 1 (name "Then") (lock name constraints)) (output 2 (name "Else") (lock name constraints)))) (device 128 IODEVICE (properties (name "FunctionGen (ag33220a @Function Generator)") (variableScope cont) (transactions 1 "WRITE TEXT \"VOLT 2.0\" EOL")) (implementation (ioDevType 17) (visaAlias "Function Generator") (iopath "FunctionGen"))) (device 130 DECLVAR (properties (name "Declare dELAY") (scope glob) (globalName "dELAY")) (implementation (value Int16 (data 0)))) (device 131 TOGLOBAL (properties (name "Set dELAY") (variableScope cont) (globalName "dELAY")) (interface (input 1 (name "Data") (tag "Data") (lock name)))) (device 132 IFTHENELSE (properties (variableScope cont) (cases 1 "A==\"Slow Aquisition\"")) (interface (input 1 (name "A") (optional yes)) (output 1 (name "Then") (lock name constraints)) (output 2 (name "Else") (lock name constraints)))) (device 133 CONSTANT (properties (name "Int16") (variableScope cont) (enableEditing 1)) (interface (output 1 (name "Int16") (lock name constraints))) (implementation (value Int16 (data 4)) (initValue Int16 (data 0)))) (device 134 CONSTANT (properties (name "Int16") (variableScope cont) (enableEditing 1)) (interface (output 1 (name "Int16") (lock name constraints))) (implementation (value Int16 (data 2)) (initValue Int16 (data 0)))) (device 135 TOGLOBAL (properties (name "Set dELAY") (variableScope cont) (globalName "dELAY")) (interface (input 1 (name "Data") (tag "Data") (lock name)))) (device 136 TOGLOBAL (properties (name "Set dELAY") (variableScope cont) (globalName "dELAY")) (interface (input 1 (name "Data") (tag "Data") (lock name)))) (device 137 CONSTANT (properties (name "Int16") (variableScope cont) (enableEditing 1)) (interface (output 1 (name "Int16") (lock name constraints))) (implementation (value Int16 (data 0)) (initValue Int16 (data 0)))) (device 138 IFTHENELSE (properties (variableScope cont) (cases 1 "A==\"Fast Aquisition\"")) (interface (input 1 (name "A") (optional yes)) (output 1 (name "Then") (lock name constraints)) (output 2 (name "Else") (lock name constraints)))) (configuration (connect D4:0 D0:0) (connect D0:0 D1:0) (connect D7:0 D2:0) (connect D3:1 D2:1) (connect D6:0 D5:0) (connect D8:0 D6:0) (connect D1:0 D7:0) (connect D2:0 D8:0) (connect D11:5 D8:1) (connect D8:1 D9:0) (connect D8:1 D9:1) (connect D10:1 D9:2) (connect D13:2 D9:3) (connect D12:2 D9:4) (connect D10:1 D11:1) (connect D13:1 D14:1) (connect D14:1 D15:0) (connect D17:1 D16:0) (connect D14:2 D17:0) (connect D13:1 D17:1) (connect D17:2 D18:0) (connect D21:1 D20:0) (connect D22:1 D20:1) (connect D13:1 D21:1) (connect D27:2 D24:0) (connect D23:1 D24:1) (connect D27:1 D25:0) (connect D26:1 D25:1) (connect D21:2 D27:0) (connect D13:1 D27:1)) (ShowOnExecPanel)) (contextCarrier (wndOrigin 5 7) (wndState res) (active panel) (panel (extent 784 915) (drawGrid "on") (widget 4 detail (relativeOrigin 179 389) (PID 0) (title off) (tabIndex 0) (borderStyle none) (extent 100 30)) (widget 13 detail (relativeOrigin 10 80) (PID 5) (title off) (tabIndex 5) (borderStyle flat) (extent 122 367) (format buttons)) (widget 12 detail (relativeOrigin 150 80) (PID 4) (title off) (tabIndex 4) (borderStyle flat) (extent 124 246) (format buttons))) (detail (extent 1205 915) (anchorPt 108 -25) (configuration (devCarrierFor 11 (active icon) (icon (extent 127 15)) (terminals on) (pinCenter 30 -220)) (devCarrierFor 12 (active icon) (icon (extent 94 14)) (terminals on) (pinCenter 30 -180)) (devCarrierFor 16 (active icon) (icon (extent 93 15)) (terminals on) (pinCenter 30 -120)) (devCarrierFor 17 (active icon) (icon (extent 122 25)) (open (extent 415 106)) (terminals on) (pinCenter -150 -140)) (devCarrierFor 24 (active open) (icon) (open (extent 47 22)) (title off) (pinCenter 30 -270)) (devCarrierFor 25 (active icon) (icon (extent 165 15)) (open (extent 176 51)) (terminals on) (pinCenter 400 180)) (devCarrierFor 26 (active icon) (icon (extent 175 15)) (open (extent 176 51)) (terminals on) (pinCenter 400 140)) (devCarrierFor 55 (active icon) (icon (extent 125 15)) (terminals on) (pinCenter 30 -150)) (devCarrierFor 58 (active open) (icon (extent 68 51) (iconImage "loop.icn")) (open (extent 95 31)) (pinCenter 30 10)) (devCarrierFor 73 (active icon) (icon (extent 86 45)) (open (extent 154 106)) (terminals on) (pinCenter 210 80)) (devCarrierFor 93 (active open) (icon (extent 60 0)) (open (extent 134 266) (showFormat int)) (pinCenter 20 210)) (devCarrierFor 104 (active icon) (icon (extent 68 54) (iconImage "unbuild.icn")) (open (extent 93 110)) (terminals on) (pinCenter -130 180)) (devCarrierFor 118 (active open) (icon (extent 83 25)) (open (extent 126 391) (format buttons)) (pinCenter 220 600)) (devCarrierFor 122 (active open) (icon (extent 75 25)) (open (extent 122 439) (format buttons)) (pinCenter 390 440)) (devCarrierFor 123 (active open) (icon) (open (extent 143 51)) (terminals on) (pinCenter 595 260)) (devCarrierFor 124 (active open) (icon (extent 282 51) (iconImage "io.icn")) (open (extent 258 74)) (terminals on) (pinCenter 860 360)) (devCarrierFor 125 (active open) (icon (extent 282 51) (iconImage "io.icn")) (open (extent 258 74)) (terminals on) (pinCenter 970 460)) (devCarrierFor 126 (active open) (icon) (open (extent 145 51)) (terminals on) (pinCenter 685 470)) (devCarrierFor 128 (active open) (icon (extent 282 51) (iconImage "io.icn")) (open (extent 258 74)) (terminals on) (pinCenter 800 590)) (devCarrierFor 130 (active open) (icon (extent 90 0)) (open (extent 195 103)) (pinCenter 310 -160)) (devCarrierFor 131 (active open) (icon (extent 62 0)) (open (extent 73 51)) (terminals on) (pinCenter 1135 690)) (devCarrierFor 132 (active open) (icon) (open (extent 143 51)) (terminals on) (pinCenter 785 690)) (devCarrierFor 133 (active open) (icon) (open (extent 67 29) (showFormat int)) (pinCenter 1000 720)) (devCarrierFor 134 (active open) (icon) (open (extent 67 29) (showFormat int)) (pinCenter 1000 820)) (devCarrierFor 135 (active open) (icon (extent 62 0)) (open (extent 73 51)) (terminals on) (pinCenter 1135 810)) (devCarrierFor 136 (active open) (icon (extent 62 0)) (open (extent 73 51)) (terminals on) (pinCenter 1145 990)) (devCarrierFor 137 (active open) (icon) (open (extent 67 29) (showFormat int)) (pinCenter 990 1000)) (devCarrierFor 138 (active open) (icon) (open (extent 143 51)) (terminals on) (pinCenter 785 900)) (connect D4:0 D0:0 (points 2 30 -257 30 -230)) (connect D0:0 D1:0 (points 2 30 -210 30 -190)) (connect D7:0 D2:0 (points 2 30 -140 30 -130)) (connect D3:1 D2:1 (points 4 -87 -150 -70 -150 -70 -120 -19 -120)) (connect D6:0 D5:0 (points 2 400 150 400 170)) (connect D8:0 D6:0 (points 6 30 28 30 40 100 40 100 0 400 0 400 130)) (connect D1:0 D7:0 (points 2 30 -171 30 -160)) (connect D2:0 D8:0 (points 2 30 -110 30 -26)) (connect D11:5 D8:1 (points 4 -94 200 -70 200 -70 10 -20 10)) (connect D8:1 D9:0 (points 3 80 10 210 10 210 55)) (connect D8:1 D9:1 (points 4 80 10 130 10 130 60 164 60)) (connect D10:1 D9:2 (points 4 89 210 110 210 110 70 164 70)) (connect D13:2 D9:3 (points 6 453 550 470 550 470 680 120 680 120 80 164 80)) (connect D12:2 D9:4 (points 6 285 700 310 700 310 360 140 360 140 90 164 90)) (connect D10:1 D11:1 (points 6 89 210 110 210 110 370 -190 370 -190 180 -167 180)) (connect D13:1 D14:1 (points 4 453 330 470 330 470 260 491 260)) (connect D14:1 D15:0 (points 5 709 250 730 250 730 260 860 260 860 302)) (connect D17:1 D16:0 (points 5 800 460 810 460 810 420 970 420 970 402)) (connect D14:2 D17:0 (points 5 709 270 720 270 720 290 690 290 690 424)) (connect D13:1 D17:1 (points 4 453 330 480 330 480 470 580 470)) (connect D17:2 D18:0 (points 5 800 480 810 480 810 520 800 520 800 532)) (connect D21:1 D20:0 (points 5 899 680 960 680 960 620 1130 620 1130 644)) (connect D22:1 D20:1 (points 4 1036 720 1050 720 1050 690 1056 690)) (connect D13:1 D21:1 (points 4 453 330 480 330 480 690 681 690)) (connect D27:2 D24:0 (points 7 899 910 930 910 930 760 1050 760 1050 740 1130 740 1130 764)) (connect D23:1 D24:1 (points 4 1036 820 1050 820 1050 810 1056 810)) (connect D27:1 D25:0 (points 5 899 890 920 890 920 880 1140 880 1140 944)) (connect D26:1 D25:1 (points 4 1026 1000 1050 1000 1050 990 1066 990)) (connect D21:2 D27:0 (points 5 899 700 920 700 920 740 790 740 790 854)) (connect D13:1 D27:1 (points 6 453 330 480 330 480 690 650 690 650 900 681 900))) (stackingOrder 4 5 8 6 7 10 2 0 1 17 14 22 20 24 23 19 13 21 27 25 26 3 11 9 15 16 18 12)) (numberFormats (realFormat standard) (realSigDigits 4) (realRadixSpec 4) (integerBase decimal))))