def openAllUE9():
 returnDict = dict()
 for i in range(deviceCount(9)):
  d = UE9(firstFound=False, devNumber=(i + 1))
  returnDict[str(d.serialNumber)] = d
 return returnDict

def openAllUE9 ( ) : returnDict = dict ( ) for i in range ( deviceCount ( 9 ) ) : d = UE9 ( firstFound = False , devNumber = ( i + 1 ) ) returnDict [ str ( d . serialNumber ) ] = d return returnDict
a helpful function which will open all the connected ue9s .