:SWITch:UDPath
Flex Apps:
FlexOTO
FlexOTO Instance:
Hardware Diagram
Command Syntax
:SWITch:UDPath "<path\filename>"
Where <path\filename> is a the path and file name of your switch driver.
Description
Enters (or updates) the path and file name so that FlexOTO can locate your driver. Your driver must have a .exe or .py (Python) file name extension.
Example
hwdiagram.write(':SWITch:DMEThod UDRiver')
hwdiagram.write(':SWITch:UDPath "C:\\Python\\FlexOTO\my_switch_driver.py"')
hwdiagram.write(':SWITch:CARGument "COM4"')
hwdiagram.write(':SWITch:RDRiver')
hwdiagram.write(':CONFigure:SWITch:ACTive "My Switch-2", ON' # place on hardware diagram
hwdiagram.write(':CONFigure:PORT:CONNect "My Switch-2", "6", "N1092B-US920000003", "A"' # connect switch port