Jump to content

DOF Help with addressable LED's


Recommended Posts

I'm having some issues getting DOF to work with my Teensy. I also have a sainsmart relay module and that is working great. I have check with DirectOutputConfigTester and this is what I'm getting. 

image.png.1a1735936cbb200bf2db1413990f4504.png

 

I have also attached my LOG as well. Any help will be greatly appreciated.! 

 

**LOG**

---------------------------------------------------------------------------------
DirectOutput Version 3.1.6656.21457, built 2018.03.23 11:55
MJR Grander Unified DOF R3++ edition feat. Djrobx, Rambo3, and Freezy
DOF created by SwissLizard | https://github.com/mjrgh/DirectOutput
2019.07.22 23:54:50.683    DirectOutput Logger initialized
2019.07.22 23:54:50.659    Pre-loading DLL Ciloci.Flee.dll from C:\DirectOutput\Ciloci.Flee.dll : ok
2019.07.22 23:54:50.661    Pre-loading DLL Extensions.dll from C:\DirectOutput\Extensions.dll : ok
2019.07.22 23:54:50.661    Pre-loading DLL FTD2XX32.dll from C:\DirectOutput\FTD2XX32.dll : ok
2019.07.22 23:54:50.662    Pre-loading DLL Newtonsoft.Json.dll from C:\DirectOutput\Newtonsoft.Json.dll : ok
2019.07.22 23:54:50.663    Pre-loading DLL PacDrive32.dll from C:\DirectOutput\PacDrive32.dll : ok
2019.07.22 23:54:50.664    Pre-loading DLL Q42.HueApi.ColorConverters.dll from C:\DirectOutput\Q42.HueApi.ColorConverters.dll : ok
2019.07.22 23:54:50.664    Pre-loading DLL Q42.HueApi.dll from C:\DirectOutput\Q42.HueApi.dll : ok
2019.07.22 23:54:50.669    Global config filename is "C:\DirectOutput\Config\GlobalConfig_B2SServer.xml"
2019.07.22 23:54:50.683    Global config loaded from: C:\DirectOutput\Config\GlobalConfig_B2SServer.xml
2019.07.22 23:54:50.683    Loading Pinball parts
2019.07.22 23:54:50.683    Loading cabinet
2019.07.22 23:54:50.684    Will load cabinet config file: C:\DirectOutput\Config\Cabinet.xml
2019.07.22 23:54:50.693    EXCEPTION: Could not load cabinet config from XML data.
2019.07.22 23:54:50.693    EXCEPTION: Thread: 
2019.07.22 23:54:50.693    EXCEPTION: Message: Exception --> Could not deserialize the cabinet config from XML data.
2019.07.22 23:54:50.693    EXCEPTION: A exception occured when loading cabinet config file: C:\DirectOutput\Config\Cabinet.xml
2019.07.22 23:54:50.693    EXCEPTION: Thread: 
2019.07.22 23:54:50.693    EXCEPTION: Message: NullReferenceException --> Object reference not set to an instance of an object.
2019.07.22 23:54:50.695    EXCEPTION: Stacktrace:    at DirectOutput.Log.Exception(String Message, Exception E)
2019.07.22 23:54:50.695    EXCEPTION: Stacktrace:    at DirectOutput.Cab.Cabinet.GetCabinetFromConfigXml(String ConfigXml)
2019.07.22 23:54:50.695    EXCEPTION: Stacktrace:    at DirectOutput.Cab.Cabinet.GetCabinetFromConfigXmlFile(String FileName)
2019.07.22 23:54:50.695    EXCEPTION: Stacktrace:    at DirectOutput.Cab.Cabinet.GetCabinetFromConfigXmlFile(FileInfo CabinetConfigFile)
2019.07.22 23:54:50.695    EXCEPTION: Stacktrace:    at DirectOutput.Pinball.Setup(String GlobalConfigFilename, String TableFilename, String RomName)
2019.07.22 23:54:50.695    EXCEPTION: Targetsite: Void Exception(System.String, System.Exception)
2019.07.22 23:54:50.695    No cabinet config file loaded. Will use AutoConfig.
2019.07.22 23:54:50.696    Cabinet auto configuration started
2019.07.22 23:54:50.740    PhilipsHueAutoConfigurator.AutoConfig started...note, actual connection detection will happen asynchronously, and device disabled if not succesfull (check further down in the log)
2019.07.22 23:54:50.749    Opening 32-bit LedWiz driver...
2019.07.22 23:54:50.752    Detected and added LedWiz Nr. 1 with name LedWiz 01
2019.07.22 23:54:50.752    Added LedwizEquivalent Nr. 1 with name LedWiz 01 Equivalent for Ledwiz Nr. 1
2019.07.22 23:54:50.756    Cabinet auto configuration finished
2019.07.22 23:54:50.756    Cabinet loaded
2019.07.22 23:54:50.756    Loading table config
2019.07.22 23:54:50.756    No TableFilename specified, will use empty tableconfig
2019.07.22 23:54:50.756    Will try to load configs from DirectOutput.ini or LedControl.ini file(s) for RomName blackblt
2019.07.22 23:54:50.758    Loading LedControl file C:\DirectOutput\config\directoutputconfig.ini
2019.07.22 23:54:50.761    Min DOF Version is 0.8 for file directoutputconfig.ini
2019.07.22 23:54:50.965    Loading LedControl file C:\DirectOutput\config\directoutputconfig30.ini
2019.07.22 23:54:50.967    Min DOF Version is 0.8 for file directoutputconfig30.ini
2019.07.22 23:54:51.200    2 directoutputconfig.ini or ledcontrol.ini files loaded.
2019.07.22 23:54:51.202    Config for RomName blackblt exists in LedControl data. Updating cabinet and config.
2019.07.22 23:54:51.219    Table config loading finished: romname=blackblt, tablename=blackblt
2019.07.22 23:54:51.220    Pinball parts loaded
2019.07.22 23:54:51.221    Starting processes
2019.07.22 23:54:51.221    Initializing cabinet
2019.07.22 23:54:51.221    Debug: Initializing output controllers
2019.07.22 23:54:51.221    Debug: Initializing LedWiz Nr. 01
2019.07.22 23:54:51.223    LedWiz Nr. 01 initialized and updater thread initialized.
2019.07.22 23:54:51.223    Debug: Output controllers initialized
2019.07.22 23:54:51.224    Updater thread for LedWiz 01 started.
2019.07.22 23:54:51.226    Cabinet initialized
2019.07.22 23:54:51.229    Loading shape definition file: C:\DirectOutput\config\DirectOutputShapes.xml
2019.07.22 23:54:51.272    Framework initialized.
2019.07.22 23:54:51.272    Have fun! :)

**LOG**

Link to comment
Share on other sites

  • 5 weeks later...

Since we are talking issues here---been fighting this for months.   Issue is the LED's are mostly malformed---I don't see the shapes in most cases (other than the chasing lights on the matrix)  No Triangles,  Diamonds or the "cool" MX effects other than blobs.  I have solder pins 15/16, loaded both beta and alpha firmware and tried about 15 different variants of the Cabinet file and the led patterns to no difference.   It is really just the LED effect shapes on the back matrix (8*64).,   Attached are the files and this is the nasty error message  (repeats per color)

 

Would love an extra set of eyes!   Thanks!

 

DirectOutput Version 3.1.7011.27968, built 2019.03.13 15:32
MJR Grander Unified DOF R3++ edition feat. Djrobx, Rambo3, and Freezy
DOF created by SwissLizard | https://github.com/mjrgh/DirectOutput
2019.08.20 18:13:32.130    DirectOutput Logger initialized
2019.08.20 18:13:32.108    Global config filename is "D:\DIRECTOUTPUT\config\GlobalConfig_B2SServer.xml"
2019.08.20 18:13:32.130    Global config loaded from: D:\DIRECTOUTPUT\config\GlobalConfig_B2SServer.xml
2019.08.20 18:13:32.130    Loading Pinball parts
2019.08.20 18:13:32.130    Loading cabinet
2019.08.20 18:13:32.131    Will load cabinet config file: D:\DirectOutput\Config\cabinet.xml
2019.08.20 18:13:32.351    1 output controller defnitions and 5 toy definitions loaded from cabinet config.
2019.08.20 18:13:32.351    Cabinet config file has AutoConfig feature enabled. Calling AutoConfig.
2019.08.20 18:13:32.351    Cabinet auto configuration started
2019.08.20 18:13:32.387    Detected and added Pinscape Controller Nr. 1 with name Pinscape Controller 01
2019.08.20 18:13:32.387    Added LedwizEquivalent Nr. 51 with name Pinscape Controller 01 Equivalent for Pinscape Controller Nr. 1, 22
2019.08.20 18:13:32.395    PhilipsHueAutoConfigurator.AutoConfig started...note, actual connection detection will happen asynchronously, and device disabled if not succesfull (check further down in the log)
2019.08.20 18:13:32.407    LedWiz-like device at VID=9639, PID=64103, product string=2.4G Receiver, manufacturer string=CX
2019.08.20 18:13:32.414    LedWiz-like device at VID=9639, PID=64103, product string=2.4G Receiver, manufacturer string=CX
2019.08.20 18:13:32.420    LedWiz-like device at VID=9639, PID=64103, product string=2.4G Receiver, manufacturer string=CX
2019.08.20 18:13:32.422    LedWiz-like device at VID=64250, PID=240, product string=LED-Wiz+GP 1, manufacturer string=GGG
2019.08.20 18:13:32.422    HID caps: usage page=1, usage=4, number of link collection nodes=2, output report byte length=9
2019.08.20 18:13:32.424    LedWiz-like device at VID=64250, PID=247, product string=Pinscape Controller, manufacturer string=mjrnet
2019.08.20 18:13:32.424    HID caps: usage page=1, usage=4, number of link collection nodes=1, output report byte length=9
2019.08.20 18:13:32.430    LedWiz-like device at VID=9639, PID=64103, product string=2.4G Receiver, manufacturer string=CX
2019.08.20 18:13:32.437    LedWiz-like device at VID=9639, PID=64103, product string=2.4G Receiver, manufacturer string=CX
2019.08.20 18:13:32.440    Opening 32-bit LedWiz driver...
2019.08.20 18:13:32.441    Detected and added LedWiz Nr. 1 with name LedWiz 01
2019.08.20 18:13:32.441    Added LedwizEquivalent Nr. 1 with name LedWiz 01 Equivalent for Ledwiz Nr. 1
2019.08.20 18:13:32.441    Opening 32-bit LedWiz driver...
2019.08.20 18:13:32.441    Detected and added LedWiz Nr. 8 with name LedWiz 08
2019.08.20 18:13:32.441    Added LedwizEquivalent Nr. 8 with name LedWiz 08 Equivalent for Ledwiz Nr. 8
2019.08.20 18:13:32.444    Cabinet auto configuration finished
2019.08.20 18:13:32.444    Autoconfig complete.
2019.08.20 18:13:32.444    Cabinet config loaded successfully from D:\DirectOutput\Config\cabinet.xml
2019.08.20 18:13:32.444    Cabinet loaded
2019.08.20 18:13:32.444    Loading table config
2019.08.20 18:13:32.445    Warning: No table config file found. Will try to load config from LedControl file(s).
2019.08.20 18:13:32.445    Will try to load configs from DirectOutput.ini or LedControl.ini file(s) for RomName twenty4_150
2019.08.20 18:13:32.447    Loading LedControl file D:\DirectOutput\Config\directoutputconfig.ini
2019.08.20 18:13:32.450    Min DOF Version is 0.8 for file directoutputconfig.ini
2019.08.20 18:13:32.706    Loading LedControl file D:\DirectOutput\Config\directoutputconfig30.ini
2019.08.20 18:13:32.723    Min DOF Version is 0.8 for file directoutputconfig30.ini
2019.08.20 18:13:33.207    Failed: YELLOW
2019.08.20 18:13:33.207    Warning: Cant parse the trigger part YELLOW of the ledcontrol table config setting Yellow AL0 AT10 AW100 AH8 L3.
2019.08.20 18:13:33.207    EXCEPTION: Could not parse setting Yellow AL0 AT10 AW100 AH8 L3 in column data Yellow AL0 AT10 AW100 AH8 L3/ Yellow AL0 AT40 AW100 AH8 L3/ Yellow AL0 AT80 AW100 AH8 L3/W41 Aqua 50 AH100 ADU AS300/W15 Red 700 AT85 AH15 AFDEN40 AFMIN100 AFMAX160/W16 Blue 100 AT80 AH20 ADD AS300/S19|S20 White L13 AT0 AFDEN15 AFMIN10 AFMAX20/W73|W72 Dark_violet L13 AT0 AFDEN8 AFMIN150 AFMAX250 AFFADE150/W71 Red 60 AW100 AH100 ADD AS300/W81|W82|W83|W84|W85 Red M50 MAX50 AH100 ADU AS300/W66 Dark_violet 80 AT40 AL0 AH10 AW100 AS400 ADU L25/W66 Dark_violet 80 AT50 AL0 AH10 AW100 AS400 ADD L25/W78 Yellow 40 AT40 AL0 AH10 AW100 AS400 ADU L25/W78 Yellow 40 AT50 AL0 AH10 AW100 AS400 ADD L25/W52|W62 Blue 100 W300 AH80 ADD AS300 L25.
2019.08.20 18:13:33.208    EXCEPTION: Thread: 
2019.08.20 18:13:33.208    EXCEPTION: Message: Exception --> Cant parse the part YELLOW of the ledcontrol table config setting Yellow AL0 AT10 AW100 AH8 L3.
2019.08.20 18:13:33.210    EXCEPTION: Stacktrace:    at DirectOutput.LedControl.Loader.TableConfigSetting.ParseSettingData(String SettingData)
2019.08.20 18:13:33.210    EXCEPTION: Stacktrace:    at DirectOutput.LedControl.Loader.TableConfigSetting..ctor(String SettingData)
2019.08.20 18:13:33.210    EXCEPTION: Stacktrace:    at DirectOutput.LedControl.Loader.TableConfigColumn.ParseColumnData(String ColumnData, Boolean ThrowExceptions)
2019.08.20 18:13:33.210    EXCEPTION: Targetsite: Void ParseSettingData(System.String)
2019.08.20 18:13:33.210    Failed: YELLOW

 

cabinet.xmlGlobalConfig.xmlGlobalConfig_B2SServer.xmldirectoutputconfig.inidirectoutputconfig30.ini

DirectOutput.log

Link to comment
Share on other sites

Those error messages in the log will only affect those few games
Otherwise I'm not seen any reason Why it shouldn't work but I am far from the expert
You could try this for the hell of it

Try adding  this line to your -- GlobalConfig_B2SServer.xml  Below thie line -->    <IniFilesPath>D:\DirectOutput\Config\</IniFilesPath>

  <ShapeDefintionFilePattern>D:\DirectOutput\config\DirectOutputShapes.xml</ShapeDefintionFilePattern>

 

Link to comment
Share on other sites

Appreciate the response---same behavior. after that line.  The malformed shapes appear on every table so this feels global to me.   I even uninstalled and reinstalled the DOF R++ last night with the same outcome.   Like I mentioned, been fighting this for months and tried just about everything I can think of----was hoping someone saw something goofy.   My next step is some rewiring---b/c---why not?  

Link to comment
Share on other sites

  • 4 months later...

I did.   Turned out my side rail LED's count was off.  To this day, I count the LED's and that number is NOT the number I put in my config.  I subtracted 1 LED from the count and wallah--all worked.  Doesn't make any sense but hey it works.   The big tell tale sign to me was on some tables,  the back matrix  had one LED that stayed lit.   That light I think was the end of the undercab strip and was the reason for the scrambled letters.   As the others that were wired in series were off by 1 LED.  It makes technical sense but man, the physical count was off.  Goofy for sure.   

(and yes I can count and add on most days)  :)

 

 

Link to comment
Share on other sites

Thanks bluejy2 I give that a try tonight hopefully works would you share your cabinet. Xml to see your changes did you take off 1 led each side stripe as well as your number of leds so where you had 28 before did you change it to 27 thank you for your help. 

<NumberOfLedsStrip1>28</NumberOfLedsStrip1>

Link to comment
Share on other sites

  • 3 months later...
On 1/21/2020 at 12:26 PM, darklink1987 said:

Thanks bluejy2 I give that a try tonight hopefully works would you share your cabinet. Xml to see your changes did you take off 1 led each side stripe as well as your number of leds so where you had 28 before did you change it to 27 thank you for your help. 

<NumberOfLedsStrip1>28</NumberOfLedsStrip1>

Hi darklink1987 did you manage to sort this out? ive been having similar issue and has been driving me crazy as ive tried everything i can think of, I've got a back matrix made up of 8x32, 8x8, 8x8, 8x8 and 2x144 side strips. i get all led effects and random shapes fine but certain shapes miss led's and i cant get any writing spelt such as 'SHIFT' in the Getaway table (get half of each letters show up)  altho i get VROOM spelt fully  correctly so i know the  LEDSTRIPARRANGMENT setting within cabinet.xml is correct. I have even disconnected the strips to just leave 8x32, changed no.of leds to 256 but still have the same issue. I have flashed both Alpha and Beta teensy firmwares. When  i load the Getaway table in dofconfigTester i get the following errors:-

2020.05.18 20:13:24.591    Will try to load configs from DirectOutput.ini or LedControl.ini file(s) for RomName gw
2020.05.18 20:13:24.593    Loading LedControl file C:\DirectOutput\directoutputconfig.ini
2020.05.18 20:13:24.596    Min DOF Version is 0.8 for file directoutputconfig.ini
2020.05.18 20:13:24.923    Loading LedControl file C:\DirectOutput\directoutputconfig19.ini
2020.05.18 20:13:24.925    Min DOF Version is 0.8 for file directoutputconfig19.ini
2020.05.18 20:13:24.969    Failed: CE150
2020.05.18 20:13:24.969    Warning: Cant parse the trigger part CE150 of the ledcontrol table config setting  CE150 White.
2020.05.18 20:13:24.970    EXCEPTION: Could not parse setting  CE150 White in column data E130 CYellow/ CE150 White/E151 CWhite.
2020.05.18 20:13:24.970    EXCEPTION: Thread: 
2020.05.18 20:13:24.970    EXCEPTION: Message: Exception --> Cant parse the part CE150 of the ledcontrol table config setting  CE150 White.
2020.05.18 20:13:24.971    EXCEPTION: Stacktrace:    at DirectOutput.LedControl.Loader.TableConfigSetting.ParseSettingData(String SettingData)
2020.05.18 20:13:24.971    EXCEPTION: Stacktrace:    at DirectOutput.LedControl.Loader.TableConfigSetting..ctor(String SettingData)
2020.05.18 20:13:24.971    EXCEPTION: Stacktrace:    at DirectOutput.LedControl.Loader.TableConfigColumn.ParseColumnData(String ColumnData, Boolean ThrowExceptions)
2020.05.18 20:13:24.971    EXCEPTION: Targetsite: Void ParseSettingData(System.String)
2020.05.18 20:13:24.971    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 of the ledcontrol 

 

not sure what they mean or even if related to the issue i am having? i have resoldered the teensy, bridged the 2 pins and even tried 2 different cat cables with the orange/orange white connected to data green and white wires of the 8x32 matrix. Any ideas???

Link to comment
Share on other sites

Archived

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

×
  • Create New...