Members | Sign In
All Forums > Hardware and LBE construction
avatar

New to DMX but want to give it a try..

posted Jan 22, 2013 20:30:11 by DeaneGeiken
So I am new to this whole DMX thing but really want to incorporate it into our crew flights when we play. I have read most of the topics in this forum but can someone (in layman's terms) point out what equipment one would need to get started and how it all hooks to the Artemis game for use? Many thanks!
Commander -TSN Belisarius (BS 108)
page   first prev 1 2 3 4 5 6 7 next last
120 replies
avatar
MichaelMesich said Feb 23, 2013 18:25:37
The DMX lights are Base 1, the server XML file is Base 0.

So if you have your PAR set for 0/1/2 in the XML (the default), you need to set your light to DMX channel 1 for it to get R/G/B off of 1/2/3 which is mapped back to 0/1/2 in the XML.

Add one to the first address and you'll be good to go.
avatar
MarkBell said Feb 23, 2013 18:40:10
It really depends on the light, honestly. Each light is different and can interpret the DMX-512 standard however they want. DMX is the communication protocol, like USB. With your setup, try setting the DMXcommands.xml for Red to CH3, Green to CH4, and Blue to CH5 (I think there's an offset in the DMX code). It also looks like the next several DMX control segments relate to motor speeds and such.
avatar
DeaneGeiken said Feb 23, 2013 19:12:47
Again, my apologies for being a slow to take to this... it is all new. If this is the code for DMX in artemis files, for the shields being activated,

<event type="PLAYER_SHIELDS_ON" continuous="yes">

<!-- steady blue light -->
<timeblock mseconds="1000">
<setvalue index="0" value="0" change="0"/>
<!-- red value of first light box -->
<setvalue index="1" value="0" change="0"/>
<!-- green value of first light box -->
<setvalue index="2" value="200" change="0"/>
<!-- blue value of first light box -->
</timeblock>
</event>

What would I change in the code? the index=" " number or something else?

Many thanks guys. I was just saying to one of the game designers how cool it is that the forum people are so creative and helpful.
Commander -TSN Belisarius (BS 108)
avatar
MarkBell said Feb 23, 2013 19:24:26
Yep, the Index is the channel number, so if you're setting R,G,B to 2,3,4 (the channels on your sheet) then it would look like:

<event type="PLAYER_SHIELDS_ON" continuous="yes">

<!-- steady blue light -->
<timeblock mseconds="1000">
<setvalue index="1" value="0" change="0"/>
<!-- red value of first light box -->
<setvalue index="2" value="0" change="0"/>
<!-- green value of first light box -->
<setvalue index="3" value="200" change="0"/>
<!-- blue value of first light box -->
</timeblock>
</event>

(this is accounting for the offset in the DMX code)
avatar
DeaneGeiken said Feb 25, 2013 13:43:10
Thanks guys! That worked! At least for this particular light I suppose I will have more questions when I get the Par Can lights. I think that have DMX settings for 0-511 and more in line with the Artemis DMX coding. Thanks!!
Commander -TSN Belisarius (BS 108)
avatar
MarkBell said Feb 25, 2013 14:14:19
Sweet! put up a picture of your setup sometime, we want to see :)
avatar
DeaneGeiken said Feb 28, 2013 23:51:01
Frak!!! I can't believe this! I just bought a (used) Chauvet ColorSplash Jr light and it comes without a power cord! Anyone have a clue where to find one? It has an odd two prong connection... kind of like the sort used with rope lighting found at Menards or Lowes.

Commander -TSN Belisarius (BS 108)
avatar
DeaneGeiken said May 16, 2013 13:57:34
Help needed again... I am testing out new lights with dipswitches 1-10 and according to the manual, the #10 switch needs to be on and the rest off. I am still not getting correct light responses so I want to go in and edit the DMX settings as suggested above but when I look in the DMX commands in the dat file, I find the DMX commands in a Internet Explorer file/page and cannot edit then in such. Any suggestions on how to work around this? Thanks!
Commander -TSN Belisarius (BS 108)
avatar
MichaelMesich said May 16, 2013 14:58:00
Right-click the file -> Open with ... -> Notepad
avatar
DeaneGeiken said May 16, 2013 18:25:41
Well, that did allow me to edit the code, but still to no effect. Do any of you know what orientation the dip-switches on "Chauvet" brand PAR can styled lights might need to be set to in order to function with the in game coded DMX instructions? I am getting frustrated as I can't think that it is this hard to make lighting work with the game. I must be missing something... currently, according to the manual for the lights, I need to turn ON switch #10 and all others to off for accepting DMX commands. Any other information that I might need would be greatly appreciated! Thanks!
Commander -TSN Belisarius (BS 108)
avatar
RussellAlbrightII said May 18, 2013 21:18:44
Okay noob question for this, but how do I tell Artemis what port my USB-RS485 converter is on? (My USB converter is currently assigned to port 6.

Thank you
avatar
MarkBell said May 18, 2013 22:02:27
Shouldn't matter, honestly. As long as it's the only one connected, it'll go with the FTDI device.
avatar
MichaelMesich said May 18, 2013 23:00:41
Regarding the dip switches ...

http://www.chauvetlighting.com/chauvet-dip-switch-calculator/

Remember that in most of our experience, the port in the DMXCOMMANDS file is one less than the DMX port number.

IE ... channel 0 in the xml file connects to channel 1 on the DMX light.
avatar
MichaelMesich said May 20, 2013 02:30:20
Hey Deane, Looks like I misread your other post.

Anyway .. it would be helpful if you could tell us precisely which model of light you have. I can't find a Chauvet with dip-switches on their website.

You say that switch #10 has to be on. Well there needs to be something else set in order to determine what channels the light will listen for. But if we can get the exact model, we can find the documentation and hopefully get you sorted.
avatar
DeaneGeiken said May 29, 2013 17:33:24
@MichaelMesich, it is a Chauvet Color Splash Jr. Here is a pic of the dip switches. With no editing to the DMX codes and the dipswitch #10 set to on and all others off the light flashes with only Red/Green and if shields are raised, the lights go off. If the ship hits something, the light (red/green only) flash very quickly on and off.
Commander -TSN Belisarius (BS 108)
Login below to reply: