(saveFormat "2.3") (date "Thu 04/Dec/2003 16:22:24 ") (veerev "6.2") (platform "PC") (execMode v6) (filterNAN 0) (workspaceStackingOrder F0 M) (sysconfig) (SaveCF no) (device 0 ROOTCONTEXT (properties (trigMode deg) (nextID 41) (popupTitleText "Untitled") (popupMoveable 1)) (deviceList (UserFunctions (nextID 1) (context 0 (properties (name "TamsErrorCheck") (trigMode deg) (nextID 7) (popupTitleText "UserFunction1") (popupMoveable 1)) (interface (input 1 (name "ReturnCode") (optional yes))) (deviceList (device 0 IFTHENELSE (properties (cases 1 "returnCode==-1")) (interface (input 1 (name "returnCode") (optional yes)) (output 1 (name "Then") (lock name constraints)) (output 2 (name "Else") (lock name constraints)))) (device 1 MESSAGEBOX (properties (message "User Message") (symbol Stop)) (interface (input 1 (name "Message") (tag "Message") (requires (datatype Text)) (lock name constraints) (optional yes) (buffer YES)) (output 1 (name "OK") (lock name constraints))) (implementation (customButtons 0) (displayMode 3) (buttons "OK") (buttonLabel1 "OK") (buttonLabel2 "") (buttonLabel3 "") (bdefault "OK"))) (device 2 CALL (properties (name "Call TamsSwitchController.tamsSCerror") (callFunc "TamsSwitchController.tamsSCerror") (parmMode rev30)) (interface (output 1 (name "Ret Value") (lock name constraints) (optional yes)))) (device 6 EXITPROCESS (properties (code 0))) (configuration (connect I1:1 D0:1) (connect D0:1 D1:0) (connect D2:1 D1:1) (connect D1:0 D3:0))) (contextCarrier (wndOrigin 2 914) (wndRestoredOrigin 56 315) (wndRestoredExtent 686 689) (wndState min) (active detail) (detail (extent 686 689) (anchorPt 0 0) (configuration (devCarrierFor 0 (active open) (icon) (open (extent 113 51)) (terminals on) (pinCenter 170 170)) (devCarrierFor 1 (active open) (icon) (open (extent 219 126)) (terminals on) (pinCenter 510 300)) (devCarrierFor 2 (active icon) (icon (extent 243 15)) (open (extent 219 51)) (terminals on) (pinCenter 160 300)) (devCarrierFor 6 (active open) (icon (iconImage "stop.icn")) (open (extent 65 31)) (pinCenter 490 450)) (connect I1:1 D0:1 (points 4 0 344 10 344 10 170 31 170)) (connect D0:1 D1:0 (points 3 269 160 490 160 490 216)) (connect D2:1 D1:1 (points 2 284 300 328 300)) (connect D1:0 D3:0 (points 2 490 365 490 414))) (stackingOrder 1 2 0 3))))) (device 2 IMPORT (properties (name "Import Library") (libType DLL) (libName "TamsSwitchController") (fileName "C:\\Program Files\\TAMS\\USB Switch Controller\\C\\tamsSC.dll") (defnFileName "c:\\program files\\tams\\usb switch controller\\Agilent VEE\\tamssc-vee.h")) (implementation)) (device 11 CALL (properties (name "Call TamsSwitchController.tamsSCstart") (callFunc "TamsSwitchController.tamsSCstart") (parmMode rev30)) (interface (input 1 (name "Identifier") (requires (datatype Text)) (optional yes)) (output 1 (name "Ret Value") (lock name constraints) (optional yes)) (output 2 (name "Identifier") (lock name constraints) (optional yes)))) (device 16 LITERALCONSTANT (properties (name "tamsSCusb1")) (interface (output 1 (name "Text") (lock name constraints))) (implementation (value Text (data "tamsSCusb1")) (initValue Text (data "")))) (device 19 CALL (properties (name "Call TamsSwitchController.tamsSCswitch") (callFunc "TamsSwitchController.tamsSCswitch") (parmMode rev30)) (interface (input 1 (name "handle") (requires (datatype Int32)) (optional yes)) (input 2 (name "switch1to12") (requires (datatype Int32)) (optional yes)) (input 3 (name "position1or2") (requires (datatype Int32)) (optional yes)) (output 1 (name "Ret Value") (lock name constraints) (optional yes)))) (device 20 CONSTANT (properties (name "Switch 4")) (interface (output 1 (name "Int32") (lock name constraints))) (implementation (value Int32 (data 4)) (initValue Int32 (data 0)))) (device 21 CONSTANT (properties (name "Position 2")) (interface (output 1 (name "Int32") (lock name constraints))) (implementation (value Int32 (data 2)) (initValue Int32 (data 0)))) (device 22 CALL (properties (name "Call TamsErrorCheck") (callFunc "TamsErrorCheck") (parmMode rev30)) (interface (input 1 (name "ReturnCode") (optional yes)))) (device 23 FROMGLOBAL (properties (name "Get handle1") (globalName "handle1")) (interface (output 1 (name "Data") (tag "Data") (lock name constraints)))) (device 27 CALL (properties (name "Call TamsErrorCheck") (callFunc "TamsErrorCheck") (parmMode rev30)) (interface (input 1 (name "ReturnCode") (optional yes)))) (device 28 TOGLOBAL (properties (name "Set handle1") (globalName "handle1")) (interface (input 1 (name "handle") (tag "Data")))) (device 29 NOTE (properties (text2 6 "Example program showing two TAMS 1887 controllers." "" "The program imports the TAMS 1887 runtime library," "opens both TAMS 1887 devices, sets handle1 and handle2, and then" "calls tamsSCswitch to put switch number 4 to position 2 or \"B\"." ""))) (device 30 LITERALCONSTANT (properties (name "tamsSCusb2")) (interface (output 1 (name "Text") (lock name constraints))) (implementation (value Text (data "tamsSCusb2")) (initValue Text (data "")))) (device 31 CALL (properties (name "Call TamsSwitchController.tamsSCstart") (callFunc "TamsSwitchController.tamsSCstart") (parmMode rev30)) (interface (input 1 (name "Identifier") (requires (datatype Text)) (optional yes)) (output 1 (name "Ret Value") (lock name constraints) (optional yes)) (output 2 (name "Identifier") (lock name constraints) (optional yes)))) (device 32 TOGLOBAL (properties (name "Set handle2") (globalName "handle2")) (interface (input 1 (name "handle") (tag "Data")))) (device 33 CALL (properties (name "Call TamsErrorCheck") (callFunc "TamsErrorCheck") (parmMode rev30)) (interface (input 1 (name "ReturnCode") (optional yes)))) (device 34 CALL (properties (name "Call TamsSwitchController.tamsSCswitch") (callFunc "TamsSwitchController.tamsSCswitch") (parmMode rev30)) (interface (input 1 (name "handle") (requires (datatype Int32)) (optional yes)) (input 2 (name "switch1to12") (requires (datatype Int32)) (optional yes)) (input 3 (name "position1or2") (requires (datatype Int32)) (optional yes)) (output 1 (name "Ret Value") (lock name constraints) (optional yes)))) (device 35 FROMGLOBAL (properties (name "Get handle2") (globalName "handle2")) (interface (output 1 (name "Data") (tag "Data") (lock name constraints)))) (device 36 CONSTANT (properties (name "Switch 4")) (interface (output 1 (name "Int32") (lock name constraints))) (implementation (value Int32 (data 4)) (initValue Int32 (data 0)))) (device 37 CONSTANT (properties (name "Position 2")) (interface (output 1 (name "Int32") (lock name constraints))) (implementation (value Int32 (data 2)) (initValue Int32 (data 0)))) (device 38 CALL (properties (name "Call TamsErrorCheck") (callFunc "TamsErrorCheck") (parmMode rev30)) (interface (input 1 (name "ReturnCode") (optional yes)))) (device 39 CALL (properties (name "Call TamsSwitchController.tamsSCend") (callFunc "TamsSwitchController.tamsSCend") (parmMode rev30)) (interface (input 1 (name "handle") (requires (datatype Int32)) (optional yes)) (output 1 (name "Ret Value") (lock name constraints) (optional yes)))) (device 40 CALL (properties (name "Call TamsSwitchController.tamsSCend") (callFunc "TamsSwitchController.tamsSCend") (parmMode rev30)) (interface (input 1 (name "handle") (requires (datatype Int32)) (optional yes)) (output 1 (name "Ret Value") (lock name constraints) (optional yes)))) (configuration (connect D0:0 D1:0) (connect D2:1 D1:1) (connect D7:1 D3:1) (connect D4:1 D3:2) (connect D5:1 D3:3) (connect D1:1 D6:1) (connect D12:0 D7:0) (connect D3:1 D8:1) (connect D1:1 D9:1) (connect D1:0 D12:0) (connect D11:1 D12:1) (connect D12:1 D13:1) (connect D12:2 D14:1) (connect D3:0 D15:0) (connect D16:1 D15:1) (connect D17:1 D15:2) (connect D18:1 D15:3) (connect D12:0 D16:0) (connect D15:1 D19:1) (connect D15:0 D20:0) (connect D7:1 D20:1) (connect D20:0 D21:0) (connect D16:1 D21:1))) (contextCarrier (wndOrigin 2 2) (wndState res) (active detail) (detail (extent 807 899) (anchorPt 17 208) (configuration (devCarrierFor 2 (active open) (icon) (open (extent 565 97)) (pinCenter 360 70)) (devCarrierFor 11 (active open) (icon (extent 240 0)) (open (extent 216 51)) (terminals on) (pinCenter 355 190)) (devCarrierFor 16 (active icon) (icon (extent 80 15)) (open (extent 174 29)) (pinCenter 110 190)) (devCarrierFor 19 (active icon) (icon (extent 253 34)) (open (extent 229 62)) (terminals on) (pinCenter 380 430)) (devCarrierFor 20 (active icon) (icon (extent 50 15)) (open (extent 86 29) (showFormat int)) (pinCenter 70 430)) (devCarrierFor 21 (active icon) (icon (extent 60 15)) (open (extent 96 29) (showFormat int)) (pinCenter 70 470)) (devCarrierFor 22 (active icon) (icon (extent 130 15)) (open (extent 176 51)) (terminals on) (pinCenter 650 230)) (devCarrierFor 23 (active icon) (icon (extent 73 15)) (open (extent 73 51)) (terminals on) (pinCenter 70 390)) (devCarrierFor 27 (active icon) (icon (extent 130 15)) (open (extent 176 51)) (terminals on) (pinCenter 670 430)) (devCarrierFor 28 (active icon) (icon (extent 72 15)) (open (extent 73 51)) (terminals on) (pinCenter 650 180)) (devCarrierFor 29 (active open) (icon (iconImage "notepad.icn")) (open (extent 485 157) (editing enabled)) (pinCenter 270 -100)) (devCarrierFor 30 (active icon) (icon (extent 80 15)) (open (extent 174 29)) (pinCenter 110 310)) (devCarrierFor 31 (active open) (icon (extent 240 0)) (open (extent 216 51)) (terminals on) (pinCenter 355 310)) (devCarrierFor 32 (active icon) (icon (extent 72 15)) (open (extent 73 51)) (terminals on) (pinCenter 640 300)) (devCarrierFor 33 (active icon) (icon (extent 130 15)) (open (extent 176 51)) (terminals on) (pinCenter 640 350)) (devCarrierFor 34 (active icon) (icon (extent 253 34)) (open (extent 229 62)) (terminals on) (pinCenter 370 520)) (devCarrierFor 35 (active icon) (icon (extent 73 15)) (open (extent 73 51)) (terminals on) (pinCenter 70 530)) (devCarrierFor 36 (active icon) (icon (extent 50 15)) (open (extent 86 29) (showFormat int)) (pinCenter 70 580)) (devCarrierFor 37 (active icon) (icon (extent 60 15)) (open (extent 96 29) (showFormat int)) (pinCenter 70 620)) (devCarrierFor 38 (active icon) (icon (extent 130 15)) (open (extent 176 51)) (terminals on) (pinCenter 660 520)) (devCarrierFor 39 (active icon) (icon (extent 237 15)) (open (extent 213 51)) (terminals on) (pinCenter 370 590)) (devCarrierFor 40 (active icon) (icon (extent 237 15)) (open (extent 213 51)) (terminals on) (pinCenter 370 640)) (connect D0:0 D1:0 (points 2 360 121 360 144)) (connect D2:1 D1:1 (points 2 152 190 184 190)) (connect D7:1 D3:1 (points 4 109 390 130 390 130 420 251 420)) (connect D4:1 D3:2 (points 2 97 430 251 430)) (connect D5:1 D3:3 (points 4 102 470 120 470 120 440 251 440)) (connect D1:1 D6:1 (points 4 535 180 560 180 560 230 582 230)) (connect D12:0 D7:0 (points 4 360 338 360 360 70 360 70 380)) (connect D3:1 D8:1 (points 2 509 430 602 430)) (connect D1:1 D9:1 (points 2 535 180 611 180)) (connect D1:0 D12:0 (points 2 360 218 360 264)) (connect D11:1 D12:1 (points 2 152 310 184 310)) (connect D12:1 D13:1 (points 2 535 300 601 300)) (connect D12:2 D14:1 (points 4 535 320 560 320 560 350 572 350)) (connect D3:0 D15:0 (points 4 380 449 380 470 370 470 370 500)) (connect D16:1 D15:1 (points 4 109 530 130 530 130 510 241 510)) (connect D17:1 D15:2 (points 4 97 580 140 580 140 520 241 520)) (connect D18:1 D15:3 (points 4 102 620 150 620 150 530 241 530)) (connect D12:0 D16:0 (points 6 360 338 360 360 10 360 10 500 70 500 70 520)) (connect D15:1 D19:1 (points 2 499 520 592 520)) (connect D15:0 D20:0 (points 2 370 539 370 580)) (connect D7:1 D20:1 (points 6 109 390 130 390 130 420 220 420 220 590 249 590)) (connect D20:0 D21:0 (points 2 370 600 370 630)) (connect D16:1 D21:1 (points 4 109 530 130 530 130 640 249 640))) (stackingOrder 0 10 2 1 9 14 13 12 11 6 3 15 8 19 7 4 5 16 17 18 20 21)) (numberFormats (realFormat standard) (realSigDigits 4) (realRadixSpec 4) (integerBase decimal))))