Author Topic: Matrix configured, but doesn't output in order  (Read 607 times)

Offline lindsay

  • Newbie
  • *
  • Posts: 7
    • View Profile
Matrix configured, but doesn't output in order
« on: December 22, 2019, 11:37:49 PM »
Hi there.  I have two Matrix setup using Xlights and the Alphapix 16. controllers.  For some reason, the 2nd Matrix just doesn't address properly, yet my settings are the same.  The matrix is 33 pixels high by 63 pixels wide and starts at the bottom left vertically with 33 pixels x5 for 13 total SPI outputs.

I have uploaded screenshots and a video to demonstrate.  The video was a sine wave test and it seems the first 5 columns (SPI 1 ouptut) work, but the following SPI channels are mixed up.  They are all wired the same with bottom left start address (and work in proper order using the test mode)

https://www.dropbox.com/sh/0fgjhqod7vpow4r/AACWaacAtCw9-V7lt2j6JWP0a?dl=0

Am I missing something? Any help would be appreciated. 

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Matrix configured, but doesn't output in order
« Reply #1 on: December 23, 2019, 07:26:49 AM »
Just a quick guess I'd say you have xLights at 512 channels per universe and the controllers want 510

Offline lindsay

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Matrix configured, but doesn't output in order
« Reply #2 on: December 23, 2019, 09:02:35 AM »
Hi Gilrock,

Not sure what you mean?  I set the starting address in Xlights based on the SPI outputs.  What puzzles me is it works fine on my 34x64 matrix, but not on my 33x63 matrix...

Offline Rudy B.

  • Newbie
  • *
  • Posts: 45
    • View Profile
Re: Matrix configured, but doesn't output in order
« Reply #3 on: December 23, 2019, 01:30:02 PM »
Your model setup has 165 nodes/string.....your controller shows 170 per string. Could that cause the problem?
« Last Edit: December 23, 2019, 01:32:18 PM by Rudy B. »

Offline lindsay

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Matrix configured, but doesn't output in order
« Reply #4 on: December 23, 2019, 03:59:04 PM »
Good catch, but no, that doesn't fix it.  As long as the controller is set for = or more than the min. # of nodes you're using it's ok.  I did try that though, but no luck.  What's odd is I know Xlights is addressing this correctly as I can go pixel by pixel through the test software.  It's not until the sequence plays out that it's messed up!

Offline Rudy B.

  • Newbie
  • *
  • Posts: 45
    • View Profile
Re: Matrix configured, but doesn't output in order
« Reply #5 on: December 23, 2019, 04:23:30 PM »
In your model setup...but a check on indiv start channels....do the strings match your controller settings?

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Matrix configured, but doesn't output in order
« Reply #6 on: December 23, 2019, 05:52:02 PM »
In the xLights setup page you have to define the universe outputs and they can be set to many sizes.  If you're controller is expecting 510 channels per universe and you define them as 512 in xLights setup then your universe crossings will be misaligned on the lights.

Offline lindsay

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Matrix configured, but doesn't output in order
« Reply #7 on: December 23, 2019, 06:07:30 PM »
Oh ya, in the Xlights setup it's configured for 510.  But if that was messed up, wouldn't the addressing be messed up during Xlights test mode?