Jump to content

Still Struggling With Artnet/dmx


elnino

Recommended Posts

Hi all I've wasted hours and hours on this but I just can not get a single output on Artnet to fire. SwissLizard has helped me out on another forum but suggested the best place for it is this forum.

 

I am trying to get the most basic of output working (flash the start light) but have made no progress in the last 24+ hours so here goes..

 

My (complete) cabinet.xml

<?xml version="1.0"?>
<Cabinet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Name>Pinny</Name>
  <OutputControllers>
    <ArtNet>
      <Name>ArtnetNode1</Name>
      <Universe>0</Universe>
      <BroadcastAddress>2.0.0.255</BroadcastAddress>
    </ArtNet>
	
    <LedWizEquivalent>
      <LedWizNumber>100</LedWizNumber>
      <Name>LedWizEquivalent 100</Name>
      <Outputs>
        <LedWizEquivalentOutput>
          <OutputName>ArtnetNode1\ArtnetNode1.001</OutputName>
          <LedWizEquivalentOutputNumber>1</LedWizEquivalentOutputNumber>
        </LedWizEquivalentOutput>
       </Outputs>
    </LedWizEquivalent>
  </OutputControllers>
</Cabinet>

SwissLizard suggested the Artnet device should be subbed to a LedWizEquivalent device so that's how i have it.

 

I have made no changes to the standard Table config (SS) XML file other than to ensure 

<AddLedControlConfig>true</AddLedControlConfig>

is in there.

 

DirectOutputConfig100.ini

[Colors DOF]

Black=5,5,5
White=48,48,48
Red=48,0,0
Yellow=48,48,0
Orange=48,24,0
Lime=0,48,0
Green=0,24,0
Cyan=0,48,48
Blue=0,0,48
Purple=12,0,24
Violet=24,0,48
Magenta=48,0,48
Brown=24,12,0

[Config DOF]
SS,L88,W18 Blink,ON,L87,ON,ON,S7,0,0,S23/S28/S11/S20,S23/S11,S17/S11,ON,0,0,S5 100 I8,S27/S35/S10/S21,S10/S21,S19/S10,S36/S11/S25,S11/S25,S19/S11,S12/S10/S11/S22,S12/S10/S11,S17/S18/S19/S12/S10/S11,S23/S24/S10/S20,S23/S10,S18/S10,0,0,0,0

When i load the table in the tester:

2013.11.16 10:12:24.469	Global config loaded from: C:\Program Files (x86)\Visual Pinball\Tables\GlobalConfig_B2SServer.xml
2013.11.16 10:12:24.470	Loading Pinball parts
2013.11.16 10:12:24.470	Loading script files
2013.11.16 10:12:24.470	Script files loaded
2013.11.16 10:12:24.470	Loading cabinet
2013.11.16 10:12:24.470	Will load cabinet config file: C:\Program Files (x86)\Visual Pinball\Tables\cabinet.xml
2013.11.16 10:12:24.477	Cabinet config file has AutoConfig feature enable. Calling AutoConfig.
2013.11.16 10:12:24.477	Cabinet auto configuration started
2013.11.16 10:12:24.483	Cabinet auto configuration finished
2013.11.16 10:12:24.483	Cabinet config loaded successfully from C:\Program Files (x86)\Visual Pinball\Tables\cabinet.xml
2013.11.16 10:12:24.483	Cabinet loaded
2013.11.16 10:12:24.483	Loading table config
2013.11.16 10:12:24.483	Will load table config from C:\Program Files (x86)\Visual Pinball\Tables\ScaredStiff_FS_B2S.xml
2013.11.16 10:12:24.485	Table config loaded successfully from C:\Program Files (x86)\Visual Pinball\Tables\ScaredStiff_FS_B2S.xml
2013.11.16 10:12:24.485	Table config allows mix with ledcontrol configs.
2013.11.16 10:12:24.485	Will try to load configs from DirectOutput.ini or LedControl.ini file(s) for RomName SS
2013.11.16 10:12:24.487	Loading LedControl file C:\Program Files (x86)\Visual Pinball\Tables\DirectOutputconfig100.ini
2013.11.16 10:12:24.488	1 directoutput.ini or ledcontrol.ini files loaded.
2013.11.16 10:12:24.488	Config for RomName SS exists in LedControl data. Updating cabinet and config.
2013.11.16 10:12:24.488	Table config loading finished
2013.11.16 10:12:24.488	Pinball parts loaded
2013.11.16 10:12:24.488	Starting processes
2013.11.16 10:12:24.488	Initializing cabinet
2013.11.16 10:12:24.497	ArtNet node ArtnetNode1 (controlling universe 0) initialized and updater thread started.
2013.11.16 10:12:24.497	Cabinet initialized
2013.11.16 10:12:24.498	Framework initialized.
2013.11.16 10:12:24.498	Have fun! 

It looks like everything is sweet but it just does not work!

 

When i load the table config tester, This generates an Artnet packet which I see (all 0 for 512 outputs) and I toggle the L88 output but the artnet packet never sends.

 

Checking the 'Show cabinet config' in the front end, There seems to be a lack of the LedwizEquivalent device in output controllers - Should it be there?

Nor does it list any toys etc.  The window is bare other than the details of the ArtNetNode1

 

Please - This is killing me!  I'd appreciate some further pointers.

 

Thanks

Link to comment
Share on other sites

  • Content Provider

Hi

 

Welcome to the forum.

 

There is a bug in your cabinet.xml. The LedWizEquivalent is not a outputcontroller, but a toy which kind of emulates a ledwiz.

 

Try the following for your cabinet.xml (if you want you can change the broadcast address, but for a start I would keep it like this):

<?xml version="1.0"?>
<Cabinet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Name>Lizard Pin</Name>
  <OutputControllers>
    <ArtNet>
      <Name>Artnet Node 1</Name>
      <Universe>0</Universe>
      <BroadcastAddress>255.255.255.255</BroadcastAddress>
    </ArtNet>
  </OutputControllers>
  <Toys>
    <LedWizEquivalent>
      <Name>LedWizEquivalent 100</Name>
      <LedWizNumber>100</LedWizNumber>
      <Outputs>
        <LedWizEquivalentOutput>
          <OutputName>Artnet Node 1\Artnet Node 1.001</OutputName>
          <LedWizEquivalentOutputNumber>1</LedWizEquivalentOutputNumber>
        </LedWizEquivalentOutput>
      </Outputs>
    </LedWizEquivalent>
  </Toys>
</Cabinet>

Second, as long as you work with config from ini files you dont need table config xml files at all. Just get rid of them or put them in some place where DOF does not see them.

 

Your ini file seems to be OK.

 

So of yuo change the cabinet.xml as mentioned above, I guess the ArtNet support should work.

 

Let me know about your progress. Thanks.

 

Best regards

 

Tom

Link to comment
Share on other sites

Ahhh, FINALLY!

 

Got a nice flashy light!!!

 

All i had to do was move the LewizEquivalent into a toys tag and it's all sweet.

 

FYI, If i set the broadcast to 255.255.255.255 then it only broadcasts on the NIC with the default gateway and this machine has 2 NICs so I had to leave it as it was.

 

Thank you so much for your patience Tom, I cant wait to get some more bling in my cab.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
  • Create New...