Jump to content

Teensy Behavior


vinw

Recommended Posts

Friends, i'm trying to install 144 leds each side with back matrix 6 x 35 leds in my cabinet.. I have teensy 3.2 with octoWs2811 .. I put 5v and ground in octows2811 and ethernet cable connecting in data and ground of right side of ledstrip ...  After i have download teensy loader and put the last firmware ( https://github.com/DirectOutput/TeensyStripController/wiki/Software:-Teensy-Firmware ) . After this all side strips remain turn on .. back matrix only first led turn on ..  My doubt is after teensy loaded firmware what behavior of leds strips? Leds should be turn off? teensy only remain blink ... I dont know but i think my ethernet cable not connecting with data signal of start ledstrip.. all strips have 5v and ground.. 

Link to comment
Share on other sites

Friends , now i have tested teensy with basic test in octows2811 library .. I have removed  cable 5v in octoWs2811 .. 144 strip leds was inverted because it dont have directional arrow draw .. now sidestrip and matrix works!  but after i put with teensy loader  the last firmware, leds stop works , leds turn on in matrix only ... the side ledstrip have half turn off..   I try test open metallica pro with B2S .. I have activeded B2S plugin settings .. show DOF working .. but nothing happen in table. I have created c:\DirectOutput\config files (cabinet.xml , globalconfig_b2S ,..) .. and  tables\Plugins with shortcut to C:\DirectOutput...    I dont know if DOF only works in VPX or in VP 9 works too..

Quote

 

 

Link to comment
Share on other sites

<?xml version="1.0"?>
<cabinet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <Name>VPin</Name>
       <OutputControllers>
         <TeensyStripController>
           <Name>TeensyStripController</Name>
                <NumberOfLedsStrip1>354</NumberOfLedsStrip1>
              <NumberOfLedsStrip2>0</NumberOfLedsStrip2>
             <NumberOfLedsStrip3>0</NumberOfLedsStrip3>
              <NumberOfLedsStrip4>0</NumberOfLedsStrip4>
              <NumberOfLedsStrip5>0</NumberOfLedsStrip5>
              <NumberOfLedsStrip6>0</NumberOfLedsStrip6>
             <NumberOfLedsStrip7>0</NumberOfLedsStrip7>
             <NumberOfLedsStrip8>0</NumberOfLedsStrip8>
             <ComPortName>COM3</ComPortName>
        </TeensyStripController>
      </OutputControllers>
      <Toys>
       <LedStrip>
          <Name>Matrix Back</Name>
          <Width>35</Width>
          <Height>6</Height>
          <LedStripArrangement>RightLeftAlternateBottomUp</LedStripArrangement>
          <ColorOrder>GRB</ColorOrder>
          <FirstLedNumber>145</FirstLedNumber>
          <FadingCurveName>Linear0To224</FadingCurveName>
          <OutputControllerName>TeensyStripController</OutputControllerName>
        </LedStrip>
    
        < !-- Check comments above for details on the settings -->
        
    
        < !-- Check comments above for details on the settings -->
        <LedStrip>
          <Name>Leds Right</Name>
          <Width>1</Width>
          <Height>144</Height>
          <LedStripArrangement>BottomUpLeftRight</LedStripArrangement>
          <ColorOrder>GRB</ColorOrder>
          <FirstLedNumber>1</FirstLedNumber>
          <FadingCurveName>SwissLizardsLedCurve</FadingCurveName>
          <OutputControllerName>TeensyStripController</OutputControllerName>
        </LedStrip>
    
    
      <LedWizEquivalent>
       <Name>LedWizEquivalent 30</Name>
        <Outputs>
        <LedWizEquivalentOutput>
             <OutputName>Matrix Back</OutputName>
            <LedWizEquivalentOutputNumber>1</LedWizEquivalentOutputNumber>
        </LedWizEquivalentOutput>    
       
       <LedWizEquivalentOutput>
             <OutputName>Leds Right</OutputName>
             <LedWizEquivalentOutputNumber>4</LedWizEquivalentOutputNumber>
       </LedWizEquivalentOutput>
        </Outputs>
       <LedWizNumber>30</LedWizNumber>
        </LedWizEquivalent>
        </Toys>
   
     <AutoConfigEnabled>true</AutoConfigEnabled>
   </Cabinet>

dof1.jpg

dof2.jpg

GlobalConfig_b2SServer.xml

<?xml version="1.0" encoding="utf-8"?>
<!--Global configuration for the DirectOutput framework.-->
<!--Saved by DirectOutput Version 0.9.5850.21660: 2017-09-03 21-32-02-->
<GlobalConfig>
  <LedWizDefaultMinCommandIntervalMs>1</LedWizDefaultMinCommandIntervalMs>
  <LedControlMinimumEffectDurationMs>60</LedControlMinimumEffectDurationMs>
  <LedControlMinimumRGBEffectDurationMs>120</LedControlMinimumRGBEffectDurationMs>
  <IniFilesPath>C:\DirectOutput\config</IniFilesPath>
  <CabinetConfigFilePattern>C:\DirectOutput\config\cabinet.xml</CabinetConfigFilePattern>
  <TableConfigFilePatterns />
  <EnableLogging>true</EnableLogging>
  <ClearLogOnSessionStart>true</ClearLogOnSessionStart>
  <LogFilePattern>.\DirectOutput.log</LogFilePattern>
</GlobalConfig>

 

I have unblocked all dlls and registred COM port .. WIN10 OS..

Link to comment
Share on other sites

---------------------------------------------------------------------------------
2017.09.08 01:14:16.475    DirectOutput Logger initialized
2017.09.08 01:14:16.475    DirectOutput Version 0.9.5850.21660 as of 2016.01.07 12:02
2017.09.08 01:14:16.476    Global config loaded from: C:\DirectOutput\config\GlobalConfig_b2SServer.xml
2017.09.08 01:14:16.476    Loading Pinball parts
2017.09.08 01:14:16.476    Loading cabinet
2017.09.08 01:14:16.478    Will load cabinet config file: C:\DirectOutput\config\cabinet.xml
2017.09.08 01:14:16.492    EXCEPTION: Could not load cabinet config from XML data.
2017.09.08 01:14:16.492    EXCEPTION: Thread:
2017.09.08 01:14:16.501    EXCEPTION: Message: Exception --> Could not deserialize the cabinet config from XML data.
2017.09.08 01:14:16.501    EXCEPTION: A exception occured when loading cabinet config file: C:\DirectOutput\config\cabinet.xml
2017.09.08 01:14:16.501    EXCEPTION: Thread:
2017.09.08 01:14:16.501    EXCEPTION: Message: NullReferenceException --> Referência de objeto não definida para uma instância de um objeto.
2017.09.08 01:14:16.504    EXCEPTION: Stacktrace:    em DirectOutput.Log.Exception(String Message, Exception E)
2017.09.08 01:14:16.504    EXCEPTION: Stacktrace:    em DirectOutput.Cab.Cabinet.GetCabinetFromConfigXml(String ConfigXml)
2017.09.08 01:14:16.504    EXCEPTION: Stacktrace:    em DirectOutput.Cab.Cabinet.GetCabinetFromConfigXmlFile(String FileName)
2017.09.08 01:14:16.504    EXCEPTION: Stacktrace:    em DirectOutput.Cab.Cabinet.GetCabinetFromConfigXmlFile(FileInfo CabinetConfigFile)
2017.09.08 01:14:16.504    EXCEPTION: Stacktrace:    em DirectOutput.Pinball.Setup(String GlobalConfigFilename, String TableFilename, String RomName)
2017.09.08 01:14:16.504    EXCEPTION: Targetsite: Void Exception(System.String, System.Exception)
2017.09.08 01:14:16.504    No cabinet config file loaded. Will use AutoConfig.
2017.09.08 01:14:16.505    Cabinet auto configuration started
2017.09.08 01:14:16.605    Debug: Ledwiz devicelist content. Handles: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, Num devices: 0
2017.09.08 01:14:16.607    Debug: Disposing LedWiz instance -01.
2017.09.08 01:14:16.608    Cabinet auto configuration finished
2017.09.08 01:14:16.608    Cabinet loaded
2017.09.08 01:14:16.608    Loading table config
2017.09.08 01:14:16.610    Warning: No table config file found. Will try to load config from LedControl file(s).
2017.09.08 01:14:16.610    Will try to load configs from DirectOutput.ini or LedControl.ini file(s) for RomName gnr_300
2017.09.08 01:14:16.613    Loading LedControl file C:\DirectOutput\config\directoutputconfig30.ini
2017.09.08 01:14:16.651    Min DOF Version is 0.8 for file directoutputconfig30.ini
2017.09.08 01:14:17.694    1 directoutputconfig.ini or ledcontrol.ini files loaded.
2017.09.08 01:14:17.696    Config for RomName gnr_300 exists in LedControl data. Updating cabinet and config.
2017.09.08 01:14:17.715    Table config loading finished
2017.09.08 01:14:17.715    Pinball parts loaded
2017.09.08 01:14:17.716    Starting processes
2017.09.08 01:14:17.716    Initializing cabinet
2017.09.08 01:14:17.716    Debug: Initializing output controllers
2017.09.08 01:14:17.717    Debug: Output controllers initialized
2017.09.08 01:14:17.717    Cabinet initialized
2017.09.08 01:14:17.721    Loading shape definition file: C:\DirectOutput\config\DirectOutputShapes.xml
2017.09.08 01:14:17.788    Framework initialized.
2017.09.08 01:14:17.788    Have fun! :)
2017.09.08 01:15:20.089    Finishing framework
2017.09.08 01:15:20.090    Finishing cabinet
2017.09.08 01:15:20.091    Debug: Finishing output controllers
2017.09.08 01:15:20.091    Debug: Output controllers finished
2017.09.08 01:15:20.091    Cabinet finished
2017.09.08 01:15:20.091    DirectOutput framework finished.
2017.09.08 01:15:20.091    Bye and thanks for using!
2017.09.08 01:15:20.121    Global config loaded from: C:\DirectOutput\config\GlobalConfig_b2SServer.xml
2017.09.08 01:15:20.121    Loading Pinball parts
2017.09.08 01:15:20.121    Loading cabinet
2017.09.08 01:15:20.121    Will load cabinet config file: C:\DirectOutput\config\cabinet.xml
2017.09.08 01:15:20.122    EXCEPTION: Could not load cabinet config from XML data.
2017.09.08 01:15:20.122    EXCEPTION: Thread:
2017.09.08 01:15:20.122    EXCEPTION: Message: Exception --> Could not deserialize the cabinet config from XML data.
2017.09.08 01:15:20.122    EXCEPTION: A exception occured when loading cabinet config file: C:\DirectOutput\config\cabinet.xml
2017.09.08 01:15:20.122    EXCEPTION: Thread:
2017.09.08 01:15:20.122    EXCEPTION: Message: NullReferenceException --> Referência de objeto não definida para uma instância de um objeto.
2017.09.08 01:15:20.122    EXCEPTION: Stacktrace:    em DirectOutput.Log.Exception(String Message, Exception E)
2017.09.08 01:15:20.122    EXCEPTION: Stacktrace:    em DirectOutput.Cab.Cabinet.GetCabinetFromConfigXml(String ConfigXml)
2017.09.08 01:15:20.122    EXCEPTION: Stacktrace:    em DirectOutput.Cab.Cabinet.GetCabinetFromConfigXmlFile(String FileName)
2017.09.08 01:15:20.122    EXCEPTION: Stacktrace:    em DirectOutput.Cab.Cabinet.GetCabinetFromConfigXmlFile(FileInfo CabinetConfigFile)
2017.09.08 01:15:20.122    EXCEPTION: Stacktrace:    em DirectOutput.Pinball.Setup(String GlobalConfigFilename, String TableFilename, String RomName)
2017.09.08 01:15:20.122    EXCEPTION: Targetsite: Void Exception(System.String, System.Exception)
2017.09.08 01:15:20.123    No cabinet config file loaded. Will use AutoConfig.
2017.09.08 01:15:20.123    Cabinet auto configuration started
2017.09.08 01:15:20.128    Debug: Ledwiz devicelist content. Handles: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, Num devices: 0
2017.09.08 01:15:20.128    Debug: Disposing LedWiz instance -01.
2017.09.08 01:15:20.128    Cabinet auto configuration finished
2017.09.08 01:15:20.128    Cabinet loaded
2017.09.08 01:15:20.128    Loading table config
2017.09.08 01:15:20.129    Warning: No table config file found. Will try to load config from LedControl file(s).
2017.09.08 01:15:20.129    Will try to load configs from DirectOutput.ini or LedControl.ini file(s) for RomName gnr_300
2017.09.08 01:15:20.129    Loading LedControl file C:\DirectOutput\config\directoutputconfig30.ini
2017.09.08 01:15:20.136    Min DOF Version is 0.8 for file directoutputconfig30.ini
2017.09.08 01:15:21.150    1 directoutputconfig.ini or ledcontrol.ini files loaded.
2017.09.08 01:15:21.150    Config for RomName gnr_300 exists in LedControl data. Updating cabinet and config.
2017.09.08 01:15:21.151    Table config loading finished
2017.09.08 01:15:21.151    Pinball parts loaded
2017.09.08 01:15:21.151    Starting processes
2017.09.08 01:15:21.151    Initializing cabinet
2017.09.08 01:15:21.151    Debug: Initializing output controllers
2017.09.08 01:15:21.151    Debug: Output controllers initialized
2017.09.08 01:15:21.151    Cabinet initialized
2017.09.08 01:15:21.152    Loading shape definition file: C:\DirectOutput\config\DirectOutputShapes.xml
2017.09.08 01:15:21.162    Framework initialized.
2017.09.08 01:15:21.162    Have fun! :)
2017.09.08 01:16:09.021    Finishing framework
2017.09.08 01:16:09.021    Finishing cabinet
2017.09.08 01:16:09.021    Debug: Finishing output controllers
2017.09.08 01:16:09.021    Debug: Output controllers finished
2017.09.08 01:16:09.021    Cabinet finished
2017.09.08 01:16:09.021    DirectOutput framework finished.
2017.09.08 01:16:09.021    Bye and thanks for using!
2017.09.08 01:16:09.030    Global config loaded from: C:\DirectOutput\config\GlobalConfig_b2SServer.xml
2017.09.08 01:16:09.030    Loading Pinball parts
2017.09.08 01:16:09.030    Loading cabinet
2017.09.08 01:16:09.031    Will load cabinet config file: C:\DirectOutput\config\cabinet.xml
2017.09.08 01:16:09.031    EXCEPTION: Could not load cabinet config from XML data.
2017.09.08 01:16:09.031    EXCEPTION: Thread:
2017.09.08 01:16:09.031    EXCEPTION: Message: Exception --> Could not deserialize the cabinet config from XML data.
2017.09.08 01:16:09.031    EXCEPTION: A exception occured when loading cabinet config file: C:\DirectOutput\config\cabinet.xml
2017.09.08 01:16:09.031    EXCEPTION: Thread:
2017.09.08 01:16:09.031    EXCEPTION: Message: NullReferenceException --> Referência de objeto não definida para uma instância de um objeto.
2017.09.08 01:16:09.032    EXCEPTION: Stacktrace:    em DirectOutput.Log.Exception(String Message, Exception E)
2017.09.08 01:16:09.032    EXCEPTION: Stacktrace:    em DirectOutput.Cab.Cabinet.GetCabinetFromConfigXml(String ConfigXml)
2017.09.08 01:16:09.032    EXCEPTION: Stacktrace:    em DirectOutput.Cab.Cabinet.GetCabinetFromConfigXmlFile(String FileName)
2017.09.08 01:16:09.032    EXCEPTION: Stacktrace:    em DirectOutput.Cab.Cabinet.GetCabinetFromConfigXmlFile(FileInfo CabinetConfigFile)
2017.09.08 01:16:09.032    EXCEPTION: Stacktrace:    em DirectOutput.Pinball.Setup(String GlobalConfigFilename, String TableFilename, String RomName)
2017.09.08 01:16:09.032    EXCEPTION: Targetsite: Void Exception(System.String, System.Exception)
2017.09.08 01:16:09.032    No cabinet config file loaded. Will use AutoConfig.
2017.09.08 01:16:09.032    Cabinet auto configuration started
2017.09.08 01:16:09.038    Debug: Ledwiz devicelist content. Handles: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, Num devices: 0
2017.09.08 01:16:09.038    Debug: Disposing LedWiz instance -01.
2017.09.08 01:16:09.038    Cabinet auto configuration finished
2017.09.08 01:16:09.038    Cabinet loaded
2017.09.08 01:16:09.038    Loading table config
2017.09.08 01:16:09.038    Warning: No table config file found. Will try to load config from LedControl file(s).
2017.09.08 01:16:09.041    Will try to load configs from DirectOutput.ini or LedControl.ini file(s) for RomName mtl_164
2017.09.08 01:16:09.042    Loading LedControl file C:\DirectOutput\config\directoutputconfig30.ini
2017.09.08 01:16:09.048    Min DOF Version is 0.8 for file directoutputconfig30.ini
2017.09.08 01:16:10.067    1 directoutputconfig.ini or ledcontrol.ini files loaded.
2017.09.08 01:16:10.068    No config for table found in LedControl data for RomName mtl_164.
2017.09.08 01:16:10.068    Table config loading finished
2017.09.08 01:16:10.068    Pinball parts loaded
2017.09.08 01:16:10.068    Starting processes
2017.09.08 01:16:10.069    Initializing cabinet
2017.09.08 01:16:10.069    Debug: Initializing output controllers
2017.09.08 01:16:10.069    Debug: Output controllers initialized
2017.09.08 01:16:10.069    Cabinet initialized
2017.09.08 01:16:10.069    Loading shape definition file: C:\DirectOutput\config\DirectOutputShapes.xml
2017.09.08 01:16:10.103    Framework initialized.
2017.09.08 01:16:10.103    Have fun! :)
2017.09.08 01:16:14.148    Finishing framework
2017.09.08 01:16:14.148    Finishing cabinet
2017.09.08 01:16:14.148    Debug: Finishing output controllers
2017.09.08 01:16:14.148    Debug: Output controllers finished
2017.09.08 01:16:14.148    Cabinet finished
2017.09.08 01:16:14.148    DirectOutput framework finished.
2017.09.08 01:16:14.148    Bye and thanks for using!
2017.09.08 01:16:14.156    Global config loaded from: C:\DirectOutput\config\GlobalConfig_b2SServer.xml
2017.09.08 01:16:14.156    Loading Pinball parts
2017.09.08 01:16:14.156    Loading cabinet
2017.09.08 01:16:14.156    Will load cabinet config file: C:\DirectOutput\config\cabinet.xml
2017.09.08 01:16:14.157    EXCEPTION: Could not load cabinet config from XML data.
2017.09.08 01:16:14.157    EXCEPTION: Thread:
2017.09.08 01:16:14.157    EXCEPTION: Message: Exception --> Could not deserialize the cabinet config from XML data.
2017.09.08 01:16:14.157    EXCEPTION: A exception occured when loading cabinet config file: C:\DirectOutput\config\cabinet.xml
2017.09.08 01:16:14.157    EXCEPTION: Thread:
2017.09.08 01:16:14.157    EXCEPTION: Message: NullReferenceException --> Referência de objeto não definida para uma instância de um objeto.
2017.09.08 01:16:14.157    EXCEPTION: Stacktrace:    em DirectOutput.Log.Exception(String Message, Exception E)
2017.09.08 01:16:14.157    EXCEPTION: Stacktrace:    em DirectOutput.Cab.Cabinet.GetCabinetFromConfigXml(String ConfigXml)
2017.09.08 01:16:14.157    EXCEPTION: Stacktrace:    em DirectOutput.Cab.Cabinet.GetCabinetFromConfigXmlFile(String FileName)
2017.09.08 01:16:14.157    EXCEPTION: Stacktrace:    em DirectOutput.Cab.Cabinet.GetCabinetFromConfigXmlFile(FileInfo CabinetConfigFile)
2017.09.08 01:16:14.157    EXCEPTION: Stacktrace:    em DirectOutput.Pinball.Setup(String GlobalConfigFilename, String TableFilename, String RomName)
2017.09.08 01:16:14.157    EXCEPTION: Targetsite: Void Exception(System.String, System.Exception)
2017.09.08 01:16:14.157    No cabinet config file loaded. Will use AutoConfig.
2017.09.08 01:16:14.157    Cabinet auto configuration started
2017.09.08 01:16:14.163    Debug: Ledwiz devicelist content. Handles: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, Num devices: 0
2017.09.08 01:16:14.163    Debug: Disposing LedWiz instance -01.
2017.09.08 01:16:14.163    Cabinet auto configuration finished
2017.09.08 01:16:14.164    Cabinet loaded
2017.09.08 01:16:14.164    Loading table config
2017.09.08 01:16:14.164    Warning: No table config file found. Will try to load config from LedControl file(s).
2017.09.08 01:16:14.164    Will try to load configs from DirectOutput.ini or LedControl.ini file(s) for RomName mtl_164
2017.09.08 01:16:14.164    Loading LedControl file C:\DirectOutput\config\directoutputconfig30.ini
2017.09.08 01:16:14.171    Min DOF Version is 0.8 for file directoutputconfig30.ini
2017.09.08 01:16:15.187    1 directoutputconfig.ini or ledcontrol.ini files loaded.
2017.09.08 01:16:15.189    No config for table found in LedControl data for RomName mtl_164.
2017.09.08 01:16:15.189    Table config loading finished
2017.09.08 01:16:15.189    Pinball parts loaded
2017.09.08 01:16:15.189    Starting processes
2017.09.08 01:16:15.189    Initializing cabinet
2017.09.08 01:16:15.189    Debug: Initializing output controllers
2017.09.08 01:16:15.189    Debug: Output controllers initialized
2017.09.08 01:16:15.189    Cabinet initialized
2017.09.08 01:16:15.189    Loading shape definition file: C:\DirectOutput\config\DirectOutputShapes.xml
2017.09.08 01:16:15.200    Framework initialized.
2017.09.08 01:16:15.200    Have fun! :)

 

Link to comment
Share on other sites

Don't worry about the Table configuration file I don't have that one either so it never loads but all my stuff works
It looks like it doesn't like something in your cabinet XML file

Just some ideas

This is what swisslizad uses

          <FadingCurveName>SwissLizardsLedCurve</FadingCurveName>
          <OutputControllerName>WS2811Controller</OutputControllerName>

http://vpuniverse.com/forums/topic/2180-addressable-rgbs/?do=findComment&comment=23195

This is what I use

  <FadingCurveName>SwissLizardsLedCurve</FadingCurveName>
      <OutputControllerName>LEDStripController</OutputControllerName>

http://vpuniverse.com/forums/topic/3060-is-there-a-tutorial-for-addressable-led-strips/?do=findComment&comment=34271

Remove this

< !-- Check comments above for details on the settings -->

Link to comment
Share on other sites

Friend,  i give copy and paste in terryred cabinet.xml .. and first time now works pinball X plugin menu..  One table works too (GUns N Roses Table ) matrix flashes working!!!! Now i need download tables and directb2s working with DOF! thank you

Link to comment
Share on other sites

Archived

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

×
  • Create New...