Author Topic: ws2811 magic dream colour rgb strips  (Read 1688 times)

Offline bazzabee

  • Newbie
  • *
  • Posts: 11
    • View Profile
ws2811 magic dream colour rgb strips
« on: July 17, 2016, 03:47:38 PM »
hi in the latest version of xlights under set up o f models would I put these strips down as 3 channel rgb? and also what would be the size of the pixel<

all help much appreciated

thankyouhttp://nutcracker123.com/forum/Smileys/default/smiley.gif


Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: ws2811 magic dream colour rgb strips
« Reply #1 on: July 17, 2016, 04:03:40 PM »
I think "3 channel RGB" is only there to support it being a legacy option.  You can select that or "RGB" and you get the same thing.

Offline bazzabee

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: ws2811 magic dream colour rgb strips
« Reply #2 on: July 18, 2016, 10:10:46 AM »
Hi
Thankyou for your reply,
Just a quick question what distance would you say you could put the main pixel controller front any models.
I'm using alpha pix v2 16 outputs.

Thankyou.

Barry

Offline sean

  • Administrator
  • Hero Member
  • *****
  • Posts: 1727
    • View Profile
    • Xlights and Nutcracker Forum
Re: ws2811 magic dream colour rgb strips
« Reply #3 on: July 18, 2016, 10:50:46 AM »
20-30 ft would probably be a good number.

Sean
Littleton, CO
Latest releases http://nutcracker123.com/nutcracker/releases
xLights/Nutcracker Forum http://nutcracker123.com/forum/index.php
Fbook [url=https://www.facebook.com/groups/62

Offline sean

  • Administrator
  • Hero Member
  • *****
  • Posts: 1727
    • View Profile
    • Xlights and Nutcracker Forum
Re: ws2811 magic dream colour rgb strips
« Reply #4 on: July 18, 2016, 10:54:47 AM »
I think "3 channel RGB" is only there to support it being a legacy option.  You can select that or "RGB" and you get the same thing.

There is one difference between RGB and 3 color RGB

If you have a string of 50 nodes of dumb rgb
1x50 RGB                would draw 50 bulbs on preview but would be 150 channels
1x50 3 channel RGB would draw 50 bulbs on preview  but would be 3 channels screen.
Sean
Littleton, CO
Latest releases http://nutcracker123.com/nutcracker/releases
xLights/Nutcracker Forum http://nutcracker123.com/forum/index.php
Fbook [url=https://www.facebook.com/groups/62

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: ws2811 magic dream colour rgb strips
« Reply #5 on: July 18, 2016, 11:43:27 AM »
I think "3 channel RGB" is only there to support it being a legacy option.  You can select that or "RGB" and you get the same thing.

There is one difference between RGB and 3 color RGB

If you have a string of 50 nodes of dumb rgb
1x50 RGB                would draw 50 bulbs on preview but would be 150 channels
1x50 3 channel RGB would draw 50 bulbs on preview  but would be 3 channels screen.

Searching the code for "3 Channel RGB" it didn't look like they were treated differently so I'm not sure how we are accomplishing that difference.

Offline sean

  • Administrator
  • Hero Member
  • *****
  • Posts: 1727
    • View Profile
    • Xlights and Nutcracker Forum
Re: ws2811 magic dream colour rgb strips
« Reply #6 on: July 18, 2016, 01:18:29 PM »
i dont know how it is done but i just created a 10x50 tree starting at channel 1:

10x50 as rgb shows channels 1-1500
10x50 as 3 channel rgb shows 1-30
for the channel ranges
Sean
Littleton, CO
Latest releases http://nutcracker123.com/nutcracker/releases
xLights/Nutcracker Forum http://nutcracker123.com/forum/index.php
Fbook [url=https://www.facebook.com/groups/62

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: ws2811 magic dream colour rgb strips
« Reply #7 on: July 18, 2016, 06:45:11 PM »
Yeah I got home and found it.  It's not obvious but any string type that doesn't end in " Nodes" is mapped as a single node model.

    static bool HasSingleNode(const std::string& StrType)
    {
        static std::string Nodes(" Nodes");
        if (Nodes.size() > StrType.size()) return false;
        return !std::equal(Nodes.rbegin(), Nodes.rend(), StrType.rbegin());
    }