Solved here for the curious: https://gist.github.com/evantahler/9755268

On Tuesday, March 25, 2014 8:33:32 PM UTC-7, Evan wrote:
>
> Anyone here have experience creating DMX (the lighting proticol) buffers 
> with node?  
> I'm having some trouble crafting my message packet and would love some 
> help.
>
> Here's a gist of what I've got so far 
> https://gist.github.com/evantahler/9755268'
>
> ---
>
> I need help talking to the Enttec Open DMX 
> USB<http://www.enttec.com/index.php?main_menu=Products&pn=70303> DMX 
> controller. I feel that I'm very close, and only have trouble with forming 
> the DMX buffer itself (starting on line 
> 101)<https://gist.github.com/evantahler/9755268#file-dmx-js-L101-L123>
>
>    - The excellent fdti <https://github.com/KABA-CCEAC/node-ftdi> package 
>    for node easly fins the device and can connect to it.
>       - if you are on Maverics, you need to unload the built-in OSX FTDI 
>       driver with sudo kextunload -b com.apple.driver.AppleUSBFTDI
>    - The DMX device relies on the computer to continuously send data 
>    (there is no onboard clock)
>       - DMX operates at about 40 fames/sec, so we send the universe every 
>       ~20 ms (the exact frequency shouldn't matter, as DMX devices will keep 
>       their last state until the next signal)
>    - The DMX start/stop codes, baudrate, etc have been confirmed and 
>    validated by both this 
> ruby<https://github.com/crux/enttec-dmx-usb-pro-tools/blob/master/lib/enttec-dmx-usb-pro-tools/rdmx.rb>
>     and 
> node<https://github.com/wiedi/node-dmx/blob/master/drivers/enttec-usb-dmx-pro.js>
>     package
>    - I can confirm that I can talk to the dmx device and the hardware 
>    works by using this OSX product <http://lightning-dmxcontrol.com/>
>       - I can "reach" the dimmer pack, as when I send a signal, it does 
>       register a DMX signal... hence my supposition that the message is 
> malformed.
>    
>

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nodejs+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to