Esempio n. 1
0
	def serialList(self):
		from makerbot_driver.MachineDetector import MachineDetector

		detector = MachineDetector()
		machines = detector.get_available_machines()

		ports = {}

		for port in machines:
			m = machines[port]
			ports[port] = detector.get_machine_name_from_vid_pid(m['VID'], m['PID'])

		return ports
Esempio n. 2
0
	def serialList(self):
		from makerbot_driver.MachineDetector import MachineDetector

		detector = MachineDetector()
		machines = detector.get_available_machines()

		ports = {}

		for port in machines:
			m = machines[port]
			ports[port] = detector.get_machine_name_from_vid_pid(m['VID'], m['PID'])

		return ports