Module Import alias ImportFrom alias ClassDef bases NameLoad body Expr Str Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Str If CompareLt Call NameLoad NameLoad Num body Raise Call NameLoad Str Assign SubscriptStore NameLoad Index Num Str Assign AttributeStore NameLoad attr Call AttributeLoad Str attr SubscriptLoad NameLoad Slice Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Call NameLoad NameLoad Assign NameStore Call AttributeLoad Str attr ListLoad Str AttributeLoad NameLoad attr Str NameLoad Assign NameStore ListLoad Str Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr Assign NameStore NameLoad If CompareIn Str NameLoad body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num Assign NameStore Call AttributeLoad SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num attr Assign NameStore SubscriptLoad Call AttributeLoad SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num attr Str Index Num If CompareEq NameLoad Str body Assign NameStore ListLoad Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpDiv Num Num orelse Raise Call NameLoad Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad decorator_list decorator_list
N/A N/A subprocess openhtf.plugs.usb local_usb EtherSync N/A object N/A N/A EtherSync object for the access of usb device connected to
     Cambrionix unit. N/A port_map N/A 1 2 3 4 5 6 7 8 112 111 114 113 212 211 214 213 __init__ N/A N/A self mac_addr N/A N/A N/A Construct a EtherSync object.

      Args:
        mac_addr: mac address of the Cambrionix unit for EtherSync.
     N/A addr_info N/A N/A N/A N/A mac_addr lower split : N/A N/A N/A len addr_info 6 N/A N/A N/A ValueError Invalid mac address N/A N/A addr_info N/A 2 EtherSync N/A N/A self _addr N/A N/A join N/A addr_info N/A 2 N/A GetUSBSerial N/A N/A self port_num N/A N/A N/A Get the device serial number

    Args:
      port_num: port number on the Cambrionix unit

    Return:
      usb device serial number
     N/A port N/A N/A self port_map N/A N/A str port_num N/A arg N/A N/A join N/A DEVICE INFO, N/A self _addr . port N/A cmd N/A esuit64 -t arg N/A info N/A N/A subprocess check_output cmd stderr N/A subprocess STDOUT N/A serial None N/A N/A SERIAL info N/A N/A serial_info N/A N/A N/A info split SERIAL: N/A 1 N/A serial N/A N/A N/A N/A N/A serial_info split N/A 0 strip N/A use_info N/A N/A N/A N/A N/A N/A info split BY N/A 1 split N/A 1 N/A N/A use_info NO N/A N/A cmd N/A esuit64 -t AUTO USE ALL N/A N/A N/A subprocess check_output cmd stderr N/A subprocess STDOUT N/A N/A N/A time sleep N/A 50.0 1000.0 N/A N/A N/A ValueError No USB device detected N/A serial N/A OpenUSBHandle N/A N/A self port_num N/A N/A N/A open usb port

    Args:
      port_num: port number on the Cambrionix unit

    Return:
      usb handle
     N/A serial N/A N/A self GetUSBSerial port_num N/A N/A N/A N/A local_usb LibUsbHandle Open serial_number serial N/A N/A