Log in
Register
Home
Forums
New posts
Search forums
What's new
Featured content
New posts
New profile posts
Latest activity
News
Members
Current visitors
New profile posts
Search profile posts
Features
Log in
Register
What's new
Search
Search titles only
By:
Search titles only
By:
New posts
Search forums
Menu
Install the app
Install
Reply to thread
Home
Forums
Low Earth Orbit
Lighting & Electrical
Programming DMX512 in Python or other languges
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="[waldo] Casey Williams" data-source="post: 67728" data-attributes="member: 376"><p>Re: Programming DMX512 in Python or other languges</p><p></p><p>Hey, that's pretty awesome. I'm not the person to write the python class either, but I'm wondering if you have tried multiple universes?</p><p></p><p>With 2 of those usb breakout dongles, it seems you would just have:</p><p>[CODE]</p><p>#set serial bus addresses</p><p>universe1=serial.Serial(3)</p><p>universe2=serial.Serial(4)</p><p></p><p>#this writes the initialization codes to the DMX</p><p>universe1.write( DMXOPEN+DMXINIT1+DMXCLOSE)</p><p>universe1.write( DMXOPEN+DMXINIT2+DMXCLOSE)</p><p>universe2.write( DMXOPEN+DMXINIT1+DMXCLOSE)</p><p>universe2.write( DMXOPEN+DMXINIT2+DMXCLOSE)</p><p></p><p>#etc. . .</p><p>[/CODE]</p><p>Right? Going by the sample code on your blog. (Tried to reply there, but it wouldn't take my comment.)</p></blockquote><p></p>
[QUOTE="[waldo] Casey Williams, post: 67728, member: 376"] Re: Programming DMX512 in Python or other languges Hey, that's pretty awesome. I'm not the person to write the python class either, but I'm wondering if you have tried multiple universes? With 2 of those usb breakout dongles, it seems you would just have: [CODE] #set serial bus addresses universe1=serial.Serial(3) universe2=serial.Serial(4) #this writes the initialization codes to the DMX universe1.write( DMXOPEN+DMXINIT1+DMXCLOSE) universe1.write( DMXOPEN+DMXINIT2+DMXCLOSE) universe2.write( DMXOPEN+DMXINIT1+DMXCLOSE) universe2.write( DMXOPEN+DMXINIT2+DMXCLOSE) #etc. . . [/CODE] Right? Going by the sample code on your blog. (Tried to reply there, but it wouldn't take my comment.) [/QUOTE]
Insert quotes…
Verification
Post reply
Home
Forums
Low Earth Orbit
Lighting & Electrical
Programming DMX512 in Python or other languges
Top
Bottom
Sign-up
or
log in
to join the discussion today!