Start a new topic

DMX USB PRO COMMANDS

OK The DMX USB PRO on my Windows 11 PC shows up as a serial port (COM2).  All I need is to output over DMX 2 bytes at a time, the channel number and the value.  I assumed this should be really easy. Looks like you send to the serial port 7E followed by some "label value" of which I cannot figure out, followed by two bytes indicating the message length (in this case 2 bytes) LSB=2 then MSB=0, then the message (in this case 2 bytes) followed by E7. Seven bytes total, but it does not work. Can anyone help?

Mark


OK After a LOT of pulling my hair out.......I have found that the ENTTEC API 70304 PDF file is wrong.

It states that to output your DMX values for your "Universe" as Start of message delimiter, hex 7E, followed by the Label to identify type of message (=6 for the DMX Universe), followed by Data Length LSB, then Data Length MSB, followed by the bytes for the DMX values by channel order, followed by the end of message delimiter, hex E7. This is incomplete as there is an extra byte required called the "startcode byte". 


So the correct data stream is:

Hex 7E, followed by the Label to identify type of message (=6 for the DMX Universe), followed by Data Length LSB, then Data Length MSB, then startcode byte=00, followed by the bytes for the DMX values by channel order, followed by the end of message delimiter, hex E7.  I have also found that you either output channels 1-256 or channels 1-512.  No other number for the universe worked for me.


Here is the output to the virtual COM port for a 512 channel universe:

7E + 6 + 1 + 2 + 0 + 512 bytes (values for ch's 1-512)  + E7

 

Hope this helps someone



1 person likes this

Just to clarify the label=6 does mention the startcode in it's description but does not mention that the startcode=0


1 person likes this

Sorry I did not quite get your issue. DMX USB PRO has resources at the web site https://www.enttec.com/product/dmx-usb-interfaces/dmx-usb-pro-professional-1u-usb-to-dmx512-converter/ 

You can find the .NET working sample there. Its fully working & open source.


Do not understand what you are saying....I can send either all 256 bytes (channels) or 512 Bytes to the DMX Pro but cannot send any other number.  Problem is I want to create a strobe on ONE channel only but still have to send the whole universe to the DMX PRO. I clicked your link and do not see and .NET working examples, but I do have it working.

Bought two DMX USB PRO units.....Yes they do work fine with the limitations I mentioned above.  Ended up with the Lixada USB to DMX devices only $29.  I can output approx the same speed to the lights.  The ENTTEC's may have better ESD/transient protection but unfortunately I cannot see any other advantages.  If I could just output to one channel to create a strobe I would be happy, but I always have to output the entire universe,  Slows things down when none of the other channels have changed.

 

Login or Signup to post a comment