Author Topic: Node count and layer size  (Read 1753 times)

Offline Ebuechner

  • Hero Member
  • *****
  • Posts: 750
    • View Profile
Node count and layer size
« on: October 15, 2016, 05:19:42 PM »
Have one nagging thing that pops up when I'm running robo gil. I have 8 Coro stars that are just RGB not smart pixels and I get warning star model star 1 node count and layer size allocations don't match. I have the star model set with 1 string 50 lights per string 5 Points layer sizes 20. Everything works fine and I get the image I need in the layout I would just like that warning to go away. What am I missing?

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Node count and layer size
« Reply #1 on: October 15, 2016, 08:20:10 PM »
If you had layer sizes of 50, 30, 20 that's a total of 100 pixels so if you have anything but 100 listed in that case it would generate the warning.

Offline Ebuechner

  • Hero Member
  • *****
  • Posts: 750
    • View Profile
Re: Node count and layer size
« Reply #2 on: October 16, 2016, 06:57:30 AM »
It's still there. I attached a screenshot of the offending star and it's setup. It's a very minor problem but it bugs me
« Last Edit: October 16, 2016, 07:01:37 AM by Ebuechner »

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Node count and layer size
« Reply #3 on: October 16, 2016, 07:16:08 AM »
You have it set wrong.  I'm not sure you know what "Layer Sizes" is supposed to mean.  You have it set to 20 which is going to produce a single layer star with 20 lights but you specified 100 lights so that's why you are getting the warning.  For a single layer star "Layer Sizes" should really be blank.  It's only needed when you define a multi-layer concentric star.  It defines the number of lights for each layer.  And if you add up all the numbers in "Layer Sizes" it must equal the number of lights in the other field or you get the warning.

Offline Ebuechner

  • Hero Member
  • *****
  • Posts: 750
    • View Profile
Re: Node count and layer size
« Reply #4 on: October 16, 2016, 08:11:37 AM »
Thanks. My error was that I thought I needed a layer size defined even if it was only 1, and thinking layer size wasn't related to pixel count. I backed out of the layer size leaving it blank setting the lights to 20 and I still get the warning. Could this be because I have one string set as 3 channel RGB?

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Node count and layer size
« Reply #5 on: October 16, 2016, 08:15:45 AM »
Are you sure you latched the change when you blanked it out?  You need to click in another field or something to latch the change.  I just caused the warning and then I blanked out the field and the warning went away.

Offline Ebuechner

  • Hero Member
  • *****
  • Posts: 750
    • View Profile
Re: Node count and layer size
« Reply #6 on: October 16, 2016, 08:26:22 AM »
Yep I'm sure I set all 8 Stars. Even restarted Xlights and confirmed the changes before I ran the check sequence

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Node count and layer size
« Reply #7 on: October 16, 2016, 08:27:37 AM »
Well post the xlights_rgbeffects.xml file.

Offline Ebuechner

  • Hero Member
  • *****
  • Posts: 750
    • View Profile
Re: Node count and layer size
« Reply #8 on: October 16, 2016, 08:28:08 AM »
Screen shot

Offline Ebuechner

  • Hero Member
  • *****
  • Posts: 750
    • View Profile
Re: Node count and layer size
« Reply #9 on: October 16, 2016, 08:31:05 AM »
Ok hear you go

Offline Ebuechner

  • Hero Member
  • *****
  • Posts: 750
    • View Profile
Re: Node count and layer size
« Reply #10 on: October 16, 2016, 08:36:14 AM »
Hey gil if you don't have time this is nothing more than an annoyance. I got 23 songs done and needed a break and I thought I would clean a few things up.

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Node count and layer size
« Reply #11 on: October 16, 2016, 08:39:16 AM »
So this looks like a bug in the check sequence code.  Since you are using "3 channel RGB" its treating it as just 1 node.  If you change the Layer Sizes to a 1 the warning goes away but then it does draw correctly.  I'll log an issue.

Offline Ebuechner

  • Hero Member
  • *****
  • Posts: 750
    • View Profile
Re: Node count and layer size
« Reply #12 on: October 16, 2016, 08:49:33 AM »
Thanks for the help. I think I added the layer size trying to get the warning to go away. I think at this point I tried every combination numbers known to man except for 1 because it didn't draw correctly and that just didn't make sense to me.