- This topic has 15 replies, 2 voices, and was last updated 3 years, 4 months ago by mazzaneo.
-
AuthorPosts
-
January 4, 2021 at 11:44 pm #218227
Hi all,
I have set almost everything up on my newly built cabinet but cannot get my LED’s to work, if I had any hair I would have pulled it out!
Here’s a quick overview of what I have in my machine…
I have an EZ Installer Kit from Zeb (Brilliant!) Connected to this is a teensy controller.
Running on DATA1: 2 x 144 pixel Led Strips running from Top Left down to Bottom Left across to Bottom Right then up to Top Right.
Running on DATA2: An LED Matrix for back effects. 32 x 8 pixels.
I have spoken to Zeb about my issue but neither of us seems to have a solution at this point.
THE ISSUE:
Basically the issue is that when i load a table the LED’s don’t work. I have downloaded the Arduino software with teensy support and run a simple test and can confirm that the LED’s are functioning.
I will run you through the steps I have taken thus far:-
1. Created a cabinet file that looks 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>Virtual Pinball</Name>
<OutputControllers>
<TeensyStripController>
<Name>LEDStripController</Name>
<NumberOfLedsStrip1>288/NumberOfLedsStrip1>
<NumberOfLedsStrip2>256</NumberOfLedsStrip2>
<NumberOfLedsStrip3>0</NumberOfLedsStrip3>
<NumberOfLedsStrip4>0</NumberOfLedsStrip4>
<NumberOfLedsStrip5>0</NumberOfLedsStrip5>
<NumberOfLedsStrip6>0</NumberOfLedsStrip6>
<NumberOfLedsStrip7>0</NumberOfLedsStrip7>
<NumberOfLedsStrip8>0</NumberOfLedsStrip8>
<ComPortName>COM10</ComPortName></OutputControllers>
<Toys>
<LedStrip>
<Name>PF Left</Name>
<Width>144</Width>
<Height>1</Height>
<LedStripArrangement>TopDownRightLeft</LedStripArrangement>
<ColorOrder>GRB</ColorOrder>
<FirstLedNumber>1</FirstLedNumber>
<FadingCurveName>SwissLizardsLedCurve</FadingCurveName>
<OutputControllerName>LEDStripController</OutputControllerName>
</LedStrip><LedStrip>
<Name>PF Right</Name>
<Width>144</Width>
<Height>11</Height>
<LedStripArrangement>TopDownRightLeft</LedStripArrangement>
<ColorOrder>GRB</ColorOrder>
<FirstLedNumber>145</FirstLedNumber>
<FadingCurveName>SwissLizardsLedCurve</FadingCurveName>
<OutputControllerName>LEDStripController</OutputControllerName>
</LedStrip><LedStrip>
<Name>Matrix</Name>
<Width>32</Width>
<Height>8</Height>
<LedStripArrangement>TopDownAlternateLeftRight</LedStripArrangement>
<ColorOrder>GRB</ColorOrder>
<FirstLedNumber>289</FirstLedNumber>
<FadingCurveName>SwissLizardsLedCurve</FadingCurveName>
<OutputControllerName>LEDStripController</OutputControllerName>
</LedStrip><Outputs>
<LedWizEquivalentOutput>
<OutputName>PF Left</OutputName>
<LedWizEquivalentOutputNumber>1</LedWizEquivalentOutputNumber>
</LedWizEquivalentOutput><LedWizEquivalentOutput>
<OutputName>PF Right</OutputName>
<LedWizEquivalentOutputNumber>4</LedWizEquivalentOutputNumber>
</LedWizEquivalentOutput><LedWizEquivalentOutput>
<OutputName>Matrix</OutputName>
<LedWizEquivalentOutputNumber>7</LedWizEquivalentOutputNumber>
</LedWizEquivalentOutput></Outputs>
</Toys>
<AutoConfigEnabled>true</AutoConfigEnabled>
</Cabinet>
2. Used the globalconfigeditor and pointed it to my cabinet file. Saved as both globalconfig.xml and GlobalConfig_B2SServer.xml
3. Excecuted RegisterDirectOutputComObject.exe
Note: All files saved into my config folder.
I have a suspicion that it is pulling the info from the GlobalConfig_B2SServer.xml instead of the globalconfig.xml. Maybe that’s the problem? (no idea how to fix that)
See a portion log Below:-
DirectOutput Version 3.1.7527.20768, built 2020.08.10 11:32
MJR Grander Unified DOF R3++ edition feat. Djrobx, Rambo3, and Freezy
DOF created by SwissLizard | https://github.com/mjrgh/DirectOutput
2021.01.05 07:18:52.238 DirectOutput Logger initialized
2021.01.05 07:18:52.222 Global config filename is “C:\DIRECTOUTPUT\config\GlobalConfig_B2SServer.xml”
2021.01.05 07:18:52.238 Global config loaded from: C:\DIRECTOUTPUT\config\GlobalConfig_B2SServer.xml
2021.01.05 07:18:52.238 Loading Pinball parts
2021.01.05 07:18:52.238 Loading cabinet
2021.01.05 07:18:52.239 Will load cabinet config file: C:\DirectOutput\Config\Cabinet.xml
2021.01.05 07:18:52.275 EXCEPTION: Could not load cabinet config from XML data.
2021.01.05 07:18:52.275 EXCEPTION: Thread:
2021.01.05 07:18:52.275 EXCEPTION: Message: Exception –> Could not deserialize the cabinet config from XML data.
2021.01.05 07:18:52.275 EXCEPTION: A exception occured when loading cabinet config file: C:\DirectOutput\Config\Cabinet.xml
2021.01.05 07:18:52.275 EXCEPTION: Thread:
2021.01.05 07:18:52.275 EXCEPTION: Message: NullReferenceException –> Object reference not set to an instance of an object.
2021.01.05 07:18:52.277 EXCEPTION: Stacktrace: at DirectOutput.Log.Exception(String Message, Exception E)
2021.01.05 07:18:52.277 EXCEPTION: Stacktrace: at DirectOutput.Cab.Cabinet.GetCabinetFromConfigXml(String ConfigXml)
2021.01.05 07:18:52.277 EXCEPTION: Stacktrace: at DirectOutput.Cab.Cabinet.GetCabinetFromConfigXmlFile(String FileName)
2021.01.05 07:18:52.277 EXCEPTION: Stacktrace: at DirectOutput.Cab.Cabinet.GetCabinetFromConfigXmlFile(FileInfo CabinetConfigFile)
2021.01.05 07:18:52.277 EXCEPTION: Stacktrace: at DirectOutput.Pinball.Setup(String GlobalConfigFilename, String TableFilename, String RomName)
2021.01.05 07:18:52.277 EXCEPTION: Targetsite: Void Exception(System.String, System.Exception)
2021.01.05 07:18:52.277 No cabinet config file loaded. Will use AutoConfig.
2021.01.05 07:18:52.278 Cabinet auto configuration started
2021.01.05 07:18:52.385 PhilipsHueAutoConfigurator.AutoConfig started…note, actual connection detection will happen asynchronously, and device disabled if not succesfull (check further down in the log)
2021.01.05 07:18:52.403 LedWiz-like device at VID=10462, PID=4418, product string=Steam Controller, manufacturer string=Valve Software
2021.01.05 07:18:52.403 LedWiz-like device at VID=1256, PID=40961, product string=Broadcom Bluetooth Wireless Keyboard , manufacturer string=Broadcom Corp.
2021.01.05 07:18:52.415 LedWiz-like device at VID=10462, PID=4418, product string=Steam Controller, manufacturer string=Valve Software
2021.01.05 07:18:52.427 LedWiz-like device at VID=10462, PID=4418, product string=Steam Controller, manufacturer string=Valve Software
2021.01.05 07:18:52.427 LedWiz-like device at VID=1256, PID=40961, product string=Broadcom Bluetooth Wireless Keyboard , manufacturer string=Broadcom Corp.
2021.01.05 07:18:52.432 LedWiz-like device at VID=8352, PID=241, product string=ZB 24Port DEV2, manufacturer string=Zebsboards.com
2021.01.05 07:18:52.432 HID caps: usage page=65280, usage=1, number of link collection nodes=1, output report byte length=9
2021.01.05 07:18:52.433 LedWiz-like device at VID=1256, PID=40961, product string=Broadcom Bluetooth Wireless Keyboard , manufacturer string=Broadcom Corp.
2021.01.05 07:18:52.445 LedWiz-like device at VID=10462, PID=4418, product string=Steam Controller, manufacturer string=Valve Software
2021.01.05 07:18:52.451 LedWiz-like device at VID=8352, PID=16822, product string=Zebsboards Plunger, manufacturer string=Zebsboards
2021.01.05 07:18:52.451 LedWiz-like device at VID=1256, PID=40961, product string=Broadcom Bluetooth Wireless Keyboard , manufacturer string=Broadcom Corp.
2021.01.05 07:18:52.452 LedWiz-like device at VID=1118, PID=2052, product string=, manufacturer string=
2021.01.05 07:18:52.453 LedWiz-like device at VID=3468, PID=258, product string=USB Sound Device , manufacturer string=<not available>
2021.01.05 07:18:52.453 LedWiz-like device at VID=1256, PID=40961, product string=Broadcom Bluetooth Wireless Keyboard , manufacturer string=Broadcom Corp.
2021.01.05 07:18:52.456 Opening 32-bit LedWiz driver…
2021.01.05 07:18:52.457 Detected and added LedWiz Nr. 2 with name LedWiz 02
2021.01.05 07:18:52.458 Added LedwizEquivalent Nr. 2 with name LedWiz 02 Equivalent for Ledwiz Nr. 2
2021.01.05 07:18:52.460 Cabinet auto configuration finished
2021.01.05 07:18:52.460 Cabinet loaded
2021.01.05 07:18:52.460 Loading table config
2021.01.05 07:18:52.460 Warning: No table config file found. Will try to load config from LedControl file(s).
2021.01.05 07:18:52.460 Will try to load configs from DirectOutput.ini or LedControl.ini file(s) for RomName cp_16
2021.01.05 07:18:52.462 Loading LedControl file C:\DIRECTOUTPUT\config\directoutputconfig.ini
2021.01.05 07:18:52.469 Min DOF Version is 0.8 for file directoutputconfig.ini
2021.01.05 07:18:52.469 Resolving Tables Variables
2021.01.05 07:18:52.470 Resolving Global Variables
2021.01.05 07:18:52.526 Failed: CE150
2021.01.05 07:18:52.526 Warning: Cant parse the trigger part CE150 of the ledcontrol table config setting CE150 White.
2021.01.05 07:18:52.526 EXCEPTION: Could not parse setting CE150 White in column data E130 CYellow/ CE150 White/E151 CWhite.
2021.01.05 07:18:52.526 EXCEPTION: Thread:
2021.01.05 07:18:52.527 EXCEPTION: Message: Exception –> Cant parse the part CE150 of the ledcontrol table config setting CE150 White.
2021.01.05 07:18:52.527 EXCEPTION: Stacktrace: at DirectOutput.LedControl.Loader.TableConfigSetting.ParseSettingData(String SettingData)
2021.01.05 07:18:52.527 EXCEPTION: Stacktrace: at DirectOutput.LedControl.Loader.TableConfigSetting..ctor(String SettingData)
2021.01.05 07:18:52.527 EXCEPTION: Stacktrace: at DirectOutput.LedControl.Loader.TableConfigColumn.ParseColumnData(String ColumnData, Boolean ThrowExceptions)
2021.01.05 07:18:52.527 EXCEPTION: Targetsite: Void ParseSettingData(System.String)
2021.01.05 07:18:52.527 Warning: Previous exceptions occured in the line airaces_1974,E130 CYellow/ CE150 White/E151 CWhite,E123 CRed/ CE131 Red/E152 CWhite/E153 CWhite/E105 CBlue,E154 CWhite,E122 CBlue/ CE132 Red/E155 CWhite/E156 CWhite/E106 CBlue,E133 CYellow,E128,On Yellow of the ledcontrol file
2021.01.05 07:18:52.527 Failed: CE131
2021.01.05 07:18:52.527 Warning: Cant parse the trigger part CE131 of the ledcontrol table config setting CE131 Red.
2021.01.05 07:18:52.527 EXCEPTION: Could not parse setting CE131 Red in column data E123 CRed/ CE131 Red/E152 CWhite/E153 CWhite/E105 CBlue.
2021.01.05 07:18:52.527 EXCEPTION: Thread:Any help anyone can give would be greatly appreciated.
Mario
You need to login in order to like this post: click here
January 4, 2021 at 11:56 pm #218231Fix these Lines
See Attach Example<NumberOfLedsStrip1>288/NumberOfLedsStrip1>
<Width>144</Width>
<Height>1</Height>
<Width>144</Width>
<Height>11</Height>
Attachments:
You need to login in order to like this post: click here
January 5, 2021 at 12:03 am #218234Good catch!
still no change to the issue however.
You need to login in order to like this post: click here
January 5, 2021 at 12:05 am #218235Zip up and Attach Cabinet and log file
You need to login in order to like this post: click here
January 5, 2021 at 12:08 am #218236January 5, 2021 at 12:14 am #218239Thanks in advance
Per that cabinet File nothing is changed / Fixed
You need to login in order to like this post: click here
January 5, 2021 at 12:20 am #218240I changed the height from 11 to 1.
Am I supposed to do something with this line too:
<NumberOfLedsStrip1>288/NumberOfLedsStrip1>
Should I have had NumberOfLedsStrip set to something else?
Sorry, this is my first build.
You need to login in order to like this post: click here
January 5, 2021 at 12:45 am #218241I changed the height from 11 to 1.
Am I supposed to do something with this line too:
<NumberOfLedsStrip1>288/NumberOfLedsStrip1>
Should I have had NumberOfLedsStrip set to something else?
Sorry, this is my first build.See Attach Example above
This line you are missing <
<NumberOfLedsStrip1>288/NumberOfLedsStrip1>You need to login in order to like this post: click here
January 5, 2021 at 12:54 am #218242Doh! Ok i fixed that too. See below…
<?xml version=”1.0″?>
<Cabinet xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xmlns:xsd=”http://www.w3.org/2001/XMLSchema”>
<Name>Virtual Pinball</Name>
<OutputControllers><TeensyStripController>
<Name>LEDStripController</Name>
<NumberOfLedsStrip1>288</NumberOfLedsStrip1>
<NumberOfLedsStrip2>256</NumberOfLedsStrip2>
<NumberOfLedsStrip3>0</NumberOfLedsStrip3>
<NumberOfLedsStrip4>0</NumberOfLedsStrip4>
<NumberOfLedsStrip5>0</NumberOfLedsStrip5>
<NumberOfLedsStrip6>0</NumberOfLedsStrip6>
<NumberOfLedsStrip7>0</NumberOfLedsStrip7>
<NumberOfLedsStrip8>0</NumberOfLedsStrip8>
<ComPortName>COM10</ComPortName>Still not working however.
BTW I can confirm that com10 is correct
You need to login in order to like this post: click here
January 5, 2021 at 12:59 am #218243See Attach Example above
Numbers are backwards<Width>144</Width>
<Height>1</Height>You need to login in order to like this post: click here
January 5, 2021 at 1:04 am #218244You are also missing
<LedWizEquivalent>
<Name>LedWizEquivalent 30</Name>And
<LedWizNumber>30</LedWizNumber>
</LedWizEquivalent>You need to login in order to like this post: click here
January 5, 2021 at 1:14 am #218245Based on your suggestions my cabinet.xml now looks 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>Virtual Pinball</Name>
<OutputControllers><TeensyStripController>
<Name>LEDStripController</Name>
<NumberOfLedsStrip1>288</NumberOfLedsStrip1>
<NumberOfLedsStrip2>256</NumberOfLedsStrip2>
<NumberOfLedsStrip3>0</NumberOfLedsStrip3>
<NumberOfLedsStrip4>0</NumberOfLedsStrip4>
<NumberOfLedsStrip5>0</NumberOfLedsStrip5>
<NumberOfLedsStrip6>0</NumberOfLedsStrip6>
<NumberOfLedsStrip7>0</NumberOfLedsStrip7>
<NumberOfLedsStrip8>0</NumberOfLedsStrip8>
<ComPortName>COM10</ComPortName></OutputControllers>
<Toys>
<LedStrip>
<Name>PF Left</Name>
<Width>1</Width>
<Height>144</Height>
<LedStripArrangement>TopDownRightLeft</LedStripArrangement>
<ColorOrder>GRB</ColorOrder>
<FirstLedNumber>1</FirstLedNumber>
<FadingCurveName>SwissLizardsLedCurve</FadingCurveName>
<OutputControllerName>LEDStripController</OutputControllerName>
</LedStrip><LedStrip>
<Name>PF Right</Name>
<Width>1</Width>
<Height>144</Height>
<LedStripArrangement>TopDownRightLeft</LedStripArrangement>
<ColorOrder>GRB</ColorOrder>
<FirstLedNumber>145</FirstLedNumber>
<FadingCurveName>SwissLizardsLedCurve</FadingCurveName>
<OutputControllerName>LEDStripController</OutputControllerName>
</LedStrip><LedStrip>
<Name>Matrix</Name>
<Width>32</Width>
<Height>8</Height>
<LedStripArrangement>TopDownAlternateLeftRight</LedStripArrangement>
<ColorOrder>GRB</ColorOrder>
<FirstLedNumber>289</FirstLedNumber>
<FadingCurveName>SwissLizardsLedCurve</FadingCurveName>
<OutputControllerName>LEDStripController</OutputControllerName>
</LedStrip><LedWizEquivalent>
<Name>LedWizEquivalent 30</Name>
<Outputs>
<LedWizEquivalentOutput>
<OutputName>PF Left</OutputName>
<LedWizEquivalentOutputNumber>1</LedWizEquivalentOutputNumber>
</LedWizEquivalentOutput><LedWizEquivalentOutput>
<OutputName>PF Right</OutputName>
<LedWizEquivalentOutputNumber>4</LedWizEquivalentOutputNumber>
</LedWizEquivalentOutput><LedWizEquivalentOutput>
<OutputName>Matrix</OutputName>
<LedWizEquivalentOutputNumber>7</LedWizEquivalentOutputNumber>
</LedWizEquivalentOutput></Outputs>
<LedWizNumber>30</LedWizNumber>
</LedWizEquivalent>
</Toys>
<AutoConfigEnabled>true</AutoConfigEnabled>
</Cabinet>Sadly, still not working.
Here is a portion of the log:-
DirectOutput Version 3.1.7527.20768, built 2020.08.10 11:32
MJR Grander Unified DOF R3++ edition feat. Djrobx, Rambo3, and Freezy
DOF created by SwissLizard | https://github.com/mjrgh/DirectOutput
2021.01.05 09:07:11.078 DirectOutput Logger initialized
2021.01.05 09:07:11.062 Global config filename is “C:\DIRECTOUTPUT\config\GlobalConfig_B2SServer.xml”
2021.01.05 09:07:11.079 Global config loaded from: C:\DIRECTOUTPUT\config\GlobalConfig_B2SServer.xml
2021.01.05 09:07:11.079 Loading Pinball parts
2021.01.05 09:07:11.079 Loading cabinet
2021.01.05 09:07:11.080 Will load cabinet config file: C:\DirectOutput\Config\Cabinet.xml
2021.01.05 09:07:11.289 EXCEPTION: Could not load cabinet config from XML data.
2021.01.05 09:07:11.289 EXCEPTION: Thread:
2021.01.05 09:07:11.289 EXCEPTION: Message: Exception –> Could not deserialize the cabinet config from XML data.
2021.01.05 09:07:11.289 EXCEPTION: A exception occured when loading cabinet config file: C:\DirectOutput\Config\Cabinet.xml
2021.01.05 09:07:11.289 EXCEPTION: Thread:
2021.01.05 09:07:11.289 EXCEPTION: Message: NullReferenceException –> Object reference not set to an instance of an object.
2021.01.05 09:07:11.293 EXCEPTION: Stacktrace: at DirectOutput.Log.Exception(String Message, Exception E)
2021.01.05 09:07:11.293 EXCEPTION: Stacktrace: at DirectOutput.Cab.Cabinet.GetCabinetFromConfigXml(String ConfigXml)
2021.01.05 09:07:11.293 EXCEPTION: Stacktrace: at DirectOutput.Cab.Cabinet.GetCabinetFromConfigXmlFile(String FileName)
2021.01.05 09:07:11.293 EXCEPTION: Stacktrace: at DirectOutput.Cab.Cabinet.GetCabinetFromConfigXmlFile(FileInfo CabinetConfigFile)
2021.01.05 09:07:11.293 EXCEPTION: Stacktrace: at DirectOutput.Pinball.Setup(String GlobalConfigFilename, String TableFilename, String RomName)
2021.01.05 09:07:11.293 EXCEPTION: Targetsite: Void Exception(System.String, System.Exception)
2021.01.05 09:07:11.293 No cabinet config file loaded. Will use AutoConfig.
2021.01.05 09:07:11.293 Cabinet auto configuration startedYou need to login in order to like this post: click here
January 5, 2021 at 2:10 am #218247Why is it loading the GlobalConfig_B2SServer.xml and not the globalconfig.xml?
You need to login in order to like this post: click here
January 5, 2021 at 10:30 am #218303Why is it loading the GlobalConfig_B2SServer.xml and not the globalconfig.xml?
This is the file it’s supposed to use
GlobalConfig_B2SServer.xmlI have no idea what this file Does, I know I don’t have it
globalconfig.xmlTry the Attach Cabinet file
Attachments:
You need to login in order to like this post: click here
January 5, 2021 at 12:42 pm #218315Thanks outhere, you are amazing!
Tried the file but it didn’t show any led’s, resided that the teensy wasn’t blinking. Wasn’t sure how to get it blinking again so I opened the arduino software and sent it instruction and it started again.
tried again and now it works!
I’m not sure if the cabinet file is 100% correct because the led show seemed a bit random in Champions Pub.
Regardless,  I’m much closer now and will report more tomorrow after I have tested more machines.
thanks again for everything!
You need to login in order to like this post: click here
January 6, 2021 at 4:29 am #218443Side Led are functioning correctly now, had to tweak the cabinet file.
I have come to the conclusion that my Matrix board is broken, led’s will only light to 1/3 of the way down. Have tried a basic test in arduino and it gives me the same conclusion.
Will likely need to purchase another.Thanks for all your help outhere.
You need to login in order to like this post: click here
-
AuthorPosts
Forums are currently locked.