Sign up Calendar Latest Topics
 
 
 


Reply
  Author   Comment   Page 1 of 2      1   2   Next
makphisto

Registered:
Posts: 15
Reply with quote  #1 
So I got all my hardware connected. I'm using the ENTTEC Open DMX USB control and an inexpensive can light. I used the DMX Commander tool (thanks!) and can get everything working the way I want. But when I take that same file and place it in the Artemis folder on the server, and then run the game... nothing.

Here is my xml file.

I don't really know enough about this to know how to start troubleshooting. I know all the hardware works. I know it works in the tool. I just don't know how to make it work in game.

Any advice is appreciated.
notsabbat

Avatar / Picture

Registered:
Posts: 1,178
Reply with quote  #2 

So we were actually troubleshooting a very similar problem in another thread. It was with a smart controller, but the the basics are the same. The troubleshooting starts at post #11. Read through it and se if it helps you out. There is a lot of stuff there. Here is the link to the thread.


http://artemis.forumchitchat.com/post/cheap-usb-interface-and-dmx-led-strip-build-7833577?pid=1292306390


__________________
-Captain of the TSN Gungnir JN-001
-Eastern Front online group member
-My continuing bridge build:
http://artemis.forumchitchat.com/post/immersion-bridge-build-in-progress-7335195?pid=1290158413
makphisto

Registered:
Posts: 15
Reply with quote  #3 
Thanks, I read through that thread. I decided to sleep on it and try fresh. I used a fresh DMXcommands.xml.

Dip switches on the back of the can are set at 1 and 10, which if I understand correctly, put it in DMX mode. That's all the configuration there, right?
Everything else appears to be plug and play other than the DMXcommands itself, correct? I can still get it working in DMX Commander, but I can't get it to work in game. 

Argh! If I could only get RED ALERT to throw a red light, I'd be happy at this point.
notsabbat

Avatar / Picture

Registered:
Posts: 1,178
Reply with quote  #4 
Ah, I think the dip switches are your problem. The Dip switches will assign the channels used by the device. There is a kind of complicated code to it, but for this all you really need to know is that if you set switch 1 to the "on" position and all other in the "off" position, your device will be set to start at channel 1 (which is where it needs to be.) and will use channels 1-3. the 10 dip switch is usually a demo mode and will often flash all kinds of colors if it is plugged in.

I actually talk about this a little bit in the first post of the thread I posted a link to.

so put your #1 switch to ON an all other to off and try it again.


Also:
here is a calculator if you want to know how the dip addressing works.
https://www.holidaycoro.com/kb_results.asp?ID=88

__________________
-Captain of the TSN Gungnir JN-001
-Eastern Front online group member
-My continuing bridge build:
http://artemis.forumchitchat.com/post/immersion-bridge-build-in-progress-7335195?pid=1290158413
MarkBell

Avatar / Picture

Administrator
Registered:
Posts: 1,850
Reply with quote  #5 
Some cans actually use one of the address switches to set it into DMX Slave mode or Autorun mode - you technically only need 9 switches to delineate 512 addresses, so if there's a 10th it's often a mode select.

That being said, do you have a link to the instructions that came with your particular light?

The fact that it runs with DMX Commander means it may not be something with your light specifically.  Is the address you use in your DMX file adjusted for the auto increment that Artemis uses?  (i.e. if you're at address 1, your DMX file uses address 0)  Do you get anything at all from the light when you start an Artemis game?  How many Artemis windows are you using to test?  If you're running multiple instances for testing, you need to make sure you're using the first game window as your Server - additional instances don't talk to the Com ports.

__________________
Note - this is in no way intended to be an official position of Thom or Artemis, as I am not an official representative of the creator or game.
makphisto

Registered:
Posts: 15
Reply with quote  #6 
I'm not at home right now, so I can't mess with the dip switches. But in answer to your questions:

HERE is the PDF of the instructions (sorry, poor quality scan).

Is the address you use in your DMX file adjusted for the auto increment that Artemis uses?
I.... don't know? The file I'm using (the one generated from DMX Commander) can be seen HERE.

Do you get anything at all from the light when you start an Artemis game?
No, nothing.

How many Artemis windows are you using to test?
Two. One PC is the server - I start it FIRST and it's what the DMX setup is connected to. The second PC I use as the "bridge".
MarkBell

Avatar / Picture

Administrator
Registered:
Posts: 1,850
Reply with quote  #7 
Hmm.  Neither link is working for me right now, but I'll try it later at home.

It doesn't sound like the multiple instances is the problem - since you're only running one PC as the server, it should take over DMX no problem.

The fact that nothing at all happens is curious.  If it were misaddressed by 1, then instead of white for normal mode you'd see either yellow or teal, depending on which way it was off.  Assuming you've got more code than just red alert, of course.  If all you have is red alert, then being off by 1 address will may miss the light - you'd either miss the light or you'd be flashing green.

I'll try checking the documents again later to see if there's something there I can spot.

__________________
Note - this is in no way intended to be an official position of Thom or Artemis, as I am not an official representative of the creator or game.
notsabbat

Avatar / Picture

Registered:
Posts: 1,178
Reply with quote  #8 
Ah, so looks like I learn something everyday. Looks like turning 10 switch to on turns on DMX, so yes, 1 and 10 being on is the correct settings.
I wonder, do you close DMX commander before starting Artemis? Because those programs can grab the DMX signal and not let go.


__________________
-Captain of the TSN Gungnir JN-001
-Eastern Front online group member
-My continuing bridge build:
http://artemis.forumchitchat.com/post/immersion-bridge-build-in-progress-7335195?pid=1290158413
makphisto

Registered:
Posts: 15
Reply with quote  #9 
Quote:
Originally Posted by makphisto
So I got all my hardware connected. I'm using the ENTTEC Open DMX USB control and an inexpensive can light. I used the DMX Commander tool (thanks!) and can get everything working the way I want. But when I take that same file and place it in the Artemis folder on the server, and then run the game... nothing.

Here is my xml file.

I don't really know enough about this to know how to start troubleshooting. I know all the hardware works. I know it works in the tool. I just don't know how to make it work in game.

Any advice is appreciated.

 
Attached Files
pdf xl35_mini_par_light.pdf (138.70 KB, 8 views)
txt DMXcommands.txt (19.72 KB, 7 views)

makphisto

Registered:
Posts: 15
Reply with quote  #10 

Clearly I don't know how to use the message board. :/

I've attached the files to the post above. The DMXCommands I had to attach as a TXT because it wouldn't accept XML. Hopefully you can see them.

Quote:
I wonder, do you close DMX commander before starting Artemis?


I think so? I'll have to run it again this evening and make sure.

MarkBell

Avatar / Picture

Administrator
Registered:
Posts: 1,850
Reply with quote  #11 
I'm sure it's fine, my network here is weird about dropbox sometimes.

OK, so while the instructions text won't get any marks for grammar, there is something sort of interesting.  What's the difference between Master-Slave mode and DMX mode?  I suspect the M-S mode is for when there's no DMX input to the Master light, it'll act as a controller and transmit it's current settings to all of the attached Slave lights.  I'm not sure why they felt the need to use the same switch settings for this, but I guess adding two more switches was too much trouble.

When you get a chance, try starting up Artemis, then turning the light on.  I wonder if it's getting stuck in M-S mode and not breaking out for some reason, which might be due to the signal not being present at start up.  I don't think that'll fix it, but it's worth a shot.  Also, what Com port is being generated for the Enttec Open device?

The other thing you may want to think about (not specifically related to your current problem) is setting your CH0 and CH1 to 255 in the Normal event and leaving them there - all of the fidelity you can get from the light intensity channel can largely be duplicated through the three channels, and tracking 5 channels through the file can get much more tedious than 3, especially as you add lights.  There are definitely reasons for adjusting the light intensity through that channel, but it's something to think about.

__________________
Note - this is in no way intended to be an official position of Thom or Artemis, as I am not an official representative of the creator or game.
makphisto

Registered:
Posts: 15
Reply with quote  #12 
OK, so. I set everything back up again. One server, one client. Dip switches set to 1 and 10. DMXCommander is OFF. I have a fresh DMXcommands.xml and in it I change *only* the Normal Conditions to green:


  <event type="NORMAL_CONDITION_1" continuous="yes">
    <!-- steady soft white light -->
    <timeblock mseconds="1000">
      <setvalue index="0" value="140" change="0"/>
      <!-- strobe value of first light box -->
      <setvalue index="1" value="255" change="0"/>
      <!-- brightness value of first light box -->
      <setvalue index="2" value="0" change="0"/>
      <!-- red value of first light box -->
    <setvalue index="3" value="255" change="0"/>
      <!-- green value of first light box -->
    </timeblock>
  </event>


Run Artemis server FIRST then client. Annnnnnnd, nothing. Close all Artemis, open DMXCommander and simulate Normal Condition. Green works. AARGH!

I even tried turning the dip switches on and off (1 and 10) just to see if that made a difference. None.

TO answer some unanswered questions:
Quote:
Also, what Com port is being generated for the Enttec Open device?

I don't even know what this means.

MarkBell

Avatar / Picture

Administrator
Registered:
Posts: 1,850
Reply with quote  #13 
Have you tried setting index="0" to 255?  

When you plug in your Enttec Open, it'll be seen by the computer as a USB-Serial device (which it is). If you go into System Properties, then Device Manager, then to Ports, it'll give you a list of Com ports that your computer is currently using.

__________________
Note - this is in no way intended to be an official position of Thom or Artemis, as I am not an official representative of the creator or game.
notsabbat

Avatar / Picture

Registered:
Posts: 1,178
Reply with quote  #14 
Also, did you start a game of Artemis? Normally Artemis doesn't start DMX until the game actually starts.


__________________
-Captain of the TSN Gungnir JN-001
-Eastern Front online group member
-My continuing bridge build:
http://artemis.forumchitchat.com/post/immersion-bridge-build-in-progress-7335195?pid=1290158413
makphisto

Registered:
Posts: 15
Reply with quote  #15 
Quote:
Originally Posted by MarkBell
Have you tried setting index="0" to 255? 

Yes.

Quote:
Originally Posted by MarkBell
When you plug in your Enttec Open, it'll be seen by the computer as a USB-Serial device (which it is). If you go into System Properties, then Device Manager, then to Ports, it'll give you a list of Com ports that your computer is currently using.

COM3

Quote:
Originally Posted by notsabbat
Also, did you start a game of Artemis?

Yes.
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.