spacemanspiff2007 / PyArtNet

"Python wrappers for the Art-Net protocol to send DMX over Ethernet"
GNU General Public License v3.0
70 stars 14 forks source link

multiple universes using add_universe #7

Closed zenonymous closed 3 years ago

zenonymous commented 3 years ago

Hi, I am trying to set up multiple universes using PyArtNet like:

universe = node.add_universe(0)
multiverse = node.add_universe(1)

however only the first universe I add seems to respond: what am I doing wrong? Thanks in advance!

zenonymous commented 3 years ago

nevermind, turns out creating a node foreach universe does the trick 👍

spacemanspiff2007 commented 3 years ago

It is possible to use multiple universes with on node. Can you please investigate further why this wouldn't work for you?

zenonymous commented 3 years ago

It is possible to use multiple universes with on node. Can you please investigate further why this wouldn't work for you?

sure thing, could you maybe provide a piece of example code how this should work according to you?

I have been trying different approaches regarding adding multiple universes to a node and each time it resulted in only the first defined universe working. This project looks awesome and I really want to use it to control leds for a lightart thingie this year but sometimes it takes some figuring out how to do things 👍

spacemanspiff2007 commented 3 years ago

Ah yes - that's actually a bug. I already found it.