Send DMX from TouchDesigner with the DMX Out CHOP
TL;DR. The DMX Out CHOP sends channel values 0-255 over Art-Net or sACN. The page recommends Rate at or below 44. Art-Net's default network port is 6454.
TouchDesignerIntermediateTouchDesignerArt-NetsACNDMX
What it does
Derivative's DMX Out CHOP page says the operator sends channels to DMX, Art-Net, sACN, KiNET, or FTDI devices. Channel values for DMX are 0 to 255. The first channel into the CHOP is the first DMX address. Adding channels walks the next addresses in order. The page's example is 12 input channels, which control DMX channels 1 through 12.
The interface menu is Enttec Generic Serial, Enttec USB Pro, Enttec USB Pro Mk2, Art-Net, sACN, or KiNET. The page says the DMX support was developed on the ENTTEC DMX USB Pro and on ENTTEC's DMX-over-Ethernet devices, and that it should work for many devices and programs that speak those protocols. It points at ENTTEC's NMU, the Node Management Utility, to configure and inspect ENTTEC devices on the network. For the USB Pro on macOS, the page says the device may not connect automatically, and it prints this Terminal command to enable it: sudo kextunload -b com.apple.driver.AppleUSBFTDI.
Active connects while it is on. Format is Packet Per Sample or Packet Per Channel. Packet Per Sample treats each channel as one DMX channel, and the page's note is 512 channels for one universe. Packet Per Channel treats each sample in a channel as a DMX channel, so one channel of 512 samples is one universe, and more channels are more universes. Rate is how often data is sent, per second. The warning on that parameter says DMX512 devices have a maximum refresh rate of 44 Hz, and it recommends Rate less than or equal to 44.
On Art-Net, Net is 0 to 127. The page says a net is a group of 16 consecutive subnets, or 256 consecutive universes, and that this is not an IP address. Subnet is 0 to 15, a group of 16 consecutive universes, and it is not a subnet mask. Universe is 0 to 15. One universe is one DMX512 frame of 512 channels. Network Address is the receiving device. The default 255.255.255.255 broadcasts to every device on the network, and the page says the receiver's Art-Net net, subnet, and universe still have to match the CHOP. Local Address picks which adapter sends, by that adapter's IP. Local Port defaults to -1, which the page says means the operating system assigns the port. Use Custom Port turns on Network Port. The page says that port is 6454 by the Art-Net spec and should be changed only in rare cases.
Send ArtSync, when on, waits until every ArtDmx packet has finished, then sends an ArtSync packet so multiple universes can line up. ArtSync Timeout is how many milliseconds that wait lasts. If the ArtDmx packets are not all sent when the timeout hits, ArtSync stops and the ArtSync packet is not sent. A new frame of ArtDmx packets is then sent and a new ArtSync starts. CID is the sender's unique id. Source is a name you assign, described as informative. Priority is the priority of this data when more than one source is sending.
sACN uses the same network address field, and Multicast builds the IP from the net, subnet, and universe so one CHOP can address several universes. The routing-table note says the first available sACN universe is index 1, because universe 0 is reserved by the system for future use.
Packet Per Channel for Art-Net or sACN can take a Routing Table DAT. Each row can set net, subnet, universe, and netaddress. Any of those columns can be left out, and the CHOP parameter fills in for the missing column. If you clear the Routing Table parameter, the page says the address you set is used for the first channel and the other channels take the following addresses.
Bridge DMX, Art-Net and sACN with Open Lighting Architecture is a separate daemon and a web UI on port 9090. This page is the CHOP inside the TouchDesigner process.
How to set it up
- Add a DMX Out CHOP and feed it channels whose values sit between 0 and 255. The first channel is DMX address 1. Twelve channels are addresses 1 through 12.
- Set Interface to Art-Net or sACN. Set Rate to 44 or below. The page says DMX512's maximum refresh is 44 Hz and recommends that limit for reliable performance.
- For Art-Net, set Net, Subnet, and Universe to the receiver. Those ranges are 0 to 127, 0 to 15, and 0 to 15. Leave Network Address at
255.255.255.255to broadcast, or set the node's IP. Leave the network port at 6454 unless the receiver is actually on another port. - For sACN, turn Multicast on if you want the IP built from net, subnet, and universe. Start at universe 1. The page says universe 0 is reserved.
- Turn Active on. If several universes must start together, turn Send ArtSync on and set ArtSync Timeout in milliseconds. The page says a timeout that expires does not send the ArtSync packet.
Source: DMX Out CHOP.
FAQ
Does universe 0 work on sACN?
The routing-table note says the first available sACN universe has index 1, because universe 0 is reserved for future use. Art-Net's Universe parameter on this CHOP is 0 to 15, and that range is separate from the sACN note.
Will a Rate of 60 reach a DMX512 device?
The parameter warning says DMX512 devices have a maximum refresh of 44 Hz and recommends Rate less than or equal to 44. Rate is how many times a second the CHOP sends.
Is 255.255.255.255 a substitute for the Art-Net universe?
The page says that default address broadcasts, and that the receiver's Art-Net net, subnet, and universe still have to match the CHOP. Net, Subnet, and Universe on this page are not an IP address and not a subnet mask.
Also on this rig
Original source: https://docs.derivative.ca/DMX_Out_CHOP