Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Multiple AllPixel devices
#1
I have five AllPixels with unique deviceID's plugged into a 7 port usb hub and if I try to use them all at the same time I get conflicts.

INFO - serial_driver - Using COM Port: /dev/cu.usbmodem93, Device ID: 20, Device Ver: 0
ERROR - serial_driver - 20: Unknown error occured.
Traceback (most recent call last):
 File "Strip.py", line 44, in <module>
   anim.run()
 File "/Library/Python/2.7/site-packages/bibliopixel/animation.py", line 136, in run
   self._run(amt, fps, sleep, max_steps, untilComplete, max_cycles)
 File "/Library/Python/2.7/site-packages/bibliopixel/animation.py", line 92, in _run
   self._led.update()
 File "/Library/Python/2.7/site-packages/bibliopixel/led.py", line 103, in update
   d._update(self.buffer[pos:d.bufByteCount+pos])
 File "/Library/Python/2.7/site-packages/bibliopixel/drivers/driver_base.py", line 51, in _update
   self.update(data)
 File "/Library/Python/2.7/site-packages/bibliopixel/drivers/serial_driver.py", line 319, in update
   DriverSerial._printError(ord(resp))
 File "/Library/Python/2.7/site-packages/bibliopixel/drivers/serial_driver.py", line 148, in _printError
   raise BiblioSerialError(msg)
bibliopixel.drivers.serial_driver.BiblioSerialError: Unknown error occured.

All the python scripts run on their own, it is only when you try to run them together that the errors start.

Any clues ?
#2
BiblioPixel 1 was not designed to have multiple drivers on different scripts. But the new v2 should support this.


Forum Jump:


Users browsing this thread: 1 Guest(s)