Author Topic: Nutcracker: New program proposal to solve my 8833 channels of stuff  (Read 1499 times)

Offline smeighan

  • Moderator
  • Sr. Member
  • *****
  • Posts: 2285
    • Nutcracker RGB Sequence Builder
Well, my lights on party was a scuccess. around 30 neighbors came out.

We had a table with hot chocolate and mulled cider.

I had two fm radios out by the sidewalk.

What was working last night
20x120 megatree (just finished doldering up SSC's that afternoon
6x64 arches
2x120 windows
60 smart rgb coro star
EDM  transmitter
3 sequenced so, Wizards, Sarajevo, Christmas Canon by TSO
Not connected: 6x128 strings on the eaves, 3 Aether II's


Of all the effects, i think people liked twinkle. bars. spirals and butterfly

So, i had applause after the first song, many questions.

A success.

Luckily the audience is not more aware of what it should have looked like.

When The megatree got to strand 11, it went past channel 4096. This was half way up the strand. At this point all the colors shifted. So my Green Meteor was half green on the left side and Blue on the right.

Also Pixel #1 shifted so that what should have been the bottom of each strand was now half way up the rights side of the tree.

On effects like butterfly and twinkle it didnt matter. Other effects, not what i expected.

I was still programming start channels at 4pm with the show at 6pm. So I am happy it came out ok.

Now to address the channels on my 3 hubs.

Ok; i am going to make a new ability in nutcracker.

I will prompt for  multiple nc files and create one larger vix file from it. Since i am using Vixen this season, I will focus on that.

So here is what i think as channel assignments for my 3 16 port hubs



I will make a form that i will fill in

dmx.nc
star.nc
dummy1.nc ( I may just let you enter the number of dummy channels)
A~f149.nc (This is my mtree)
dummy2.nc
A~f152.nc (This is my arches)
A~f162.mc (This is my boys window)
A~f163.nc (This is the guest window)

I will name this collection, Wizards in Winter.

It will then stitch all of these files together and produce one vix/vir file.

I will start coding and see if my idea works.

Do I have the concept right?


thanks
Sean
Littleton, CO
Latest releases You are not allowed to view links. Register or Login
xLights/Nutcracker Forum You are not allowed to view links. Register or Login
Fbook You are not allowed to view links. Register or Login

Offline onesmoothhead

  • Sr. Member
  • ****
  • Posts: 865
  • 87031
    • Listen to the Lights New Mexico
Great job Sean! I betit was a blast!

Offline kgustafson

  • Coop Manager
  • Sr. Member
  • *
  • Posts: 1120
    • Lost Weekend Productions
You are not allowed to view links. Register or Login
Well, my lights on party was a scuccess. around 30 neighbors came out.

We had a table with hot chocolate and mulled cider.

I had two fm radios out by the sidewalk.

What was working last night
20x120 megatree (just finished doldering up SSC's that afternoon
6x64 arches
2x120 windows
60 smart rgb coro star
EDM  transmitter
3 sequenced so, Wizards, Sarajevo, Christmas Canon by TSO
Not connected: 6x128 strings on the eaves, 3 Aether II's


Of all the effects, i think people liked twinkle. bars. spirals and butterfly

So, i had applause after the first song, many questions.

A success.

Luckily the audience is not more aware of what it should have looked like.

When The megatree got to strand 11, it went past channel 4096. This was half way up the strand. At this point all the colors shifted. So my Green Meteor was half green on the left side and Blue on the right.

Also Pixel #1 shifted so that what should have been the bottom of each strand was now half way up the rights side of the tree.

On effects like butterfly and twinkle it didnt matter. Other effects, not what i expected.

I was still programming start channels at 4pm with the show at 6pm. So I am happy it came out ok.

Now to address the channels on my 3 hubs.

Ok; i am going to make a new ability in nutcracker.

I will prompt for  multiple nc files and create one larger vix file from it. Since i am using Vixen this season, I will focus on that.

So here is what i think as channel assignments for my 3 16 port hubs



I will make a form that i will fill in

dmx.nc
star.nc
dummy1.nc ( I may just let you enter the number of dummy channels)
A~f149.nc (This is my mtree)
dummy2.nc
A~f152.nc (This is my arches)
A~f162.mc (This is my boys window)
A~f163.nc (This is the guest window)

I will name this collection, Wizards in Winter.

It will then stitch all of these files together and produce one vix/vir file.

I will start coding and see if my idea works.

Do I have the concept right?


thanks

Sean, you are recreating project.  This is how project works currently (creates a series of NC files and stitches them together).
------
Visit at: You are not allowed to view links. Register or Login

Offline kgustafson

  • Coop Manager
  • Sr. Member
  • *
  • Posts: 1120
    • Lost Weekend Productions
You are not allowed to view links. Register or Login
You are not allowed to view links. Register or Login
Well, my lights on party was a scuccess. around 30 neighbors came out.

We had a table with hot chocolate and mulled cider.

I had two fm radios out by the sidewalk.

What was working last night
20x120 megatree (just finished doldering up SSC's that afternoon
6x64 arches
2x120 windows
60 smart rgb coro star
EDM  transmitter
3 sequenced so, Wizards, Sarajevo, Christmas Canon by TSO
Not connected: 6x128 strings on the eaves, 3 Aether II's


Of all the effects, i think people liked twinkle. bars. spirals and butterfly

So, i had applause after the first song, many questions.

A success.

Luckily the audience is not more aware of what it should have looked like.

When The megatree got to strand 11, it went past channel 4096. This was half way up the strand. At this point all the colors shifted. So my Green Meteor was half green on the left side and Blue on the right.

Also Pixel #1 shifted so that what should have been the bottom of each strand was now half way up the rights side of the tree.

On effects like butterfly and twinkle it didnt matter. Other effects, not what i expected.

I was still programming start channels at 4pm with the show at 6pm. So I am happy it came out ok.

Now to address the channels on my 3 hubs.

Ok; i am going to make a new ability in nutcracker.

I will prompt for  multiple nc files and create one larger vix file from it. Since i am using Vixen this season, I will focus on that.

So here is what i think as channel assignments for my 3 16 port hubs



I will make a form that i will fill in

dmx.nc
star.nc
dummy1.nc ( I may just let you enter the number of dummy channels)
A~f149.nc (This is my mtree)
dummy2.nc
A~f152.nc (This is my arches)
A~f162.mc (This is my boys window)
A~f163.nc (This is the guest window)

I will name this collection, Wizards in Winter.

It will then stitch all of these files together and produce one vix/vir file.

I will start coding and see if my idea works.

Do I have the concept right?


thanks

Sean, you are recreating project.  This is how project works currently (creates a series of NC files and stitches them together).

Never mind.  I see the subtle difference (multiple targets).  This is what was intended for the 'mega project' concept, but I thought we were holding off until next season for this.

Kurt
------
Visit at: You are not allowed to view links. Register or Login

Offline Voltorb

  • Sr. Member
  • ****
  • Posts: 136
Necessity is the mother of invention!  This FANTASTIC program came about because Sean wanted an easy tool to sequence.  You guys did a FANTASTIC job!  Can't wait to see what happens with Nutcracker in the off season for next year.  Thank you for sharing!
It's not the fast pace of life that bothers me....
....It's the sudden stop at the end!

Offline smeighan

  • Moderator
  • Sr. Member
  • *****
  • Posts: 2285
    • Nutcracker RGB Sequence Builder
You are not allowed to view links. Register or Login
You are not allowed to view links. Register or Login
You are not allowed to view links. Register or Login
Well, my lights on party was a scuccess. around 30 neighbors came out.

We had a table with hot chocolate and mulled cider.

I had two fm radios out by the sidewalk.

What was working last night
20x120 megatree (just finished doldering up SSC's that afternoon
6x64 arches
2x120 windows
60 smart rgb coro star
EDM  transmitter
3 sequenced so, Wizards, Sarajevo, Christmas Canon by TSO
Not connected: 6x128 strings on the eaves, 3 Aether II's


Of all the effects, i think people liked twinkle. bars. spirals and butterfly

So, i had applause after the first song, many questions.

A success.

Luckily the audience is not more aware of what it should have looked like.

When The megatree got to strand 11, it went past channel 4096. This was half way up the strand. At this point all the colors shifted. So my Green Meteor was half green on the left side and Blue on the right.

Also Pixel #1 shifted so that what should have been the bottom of each strand was now half way up the rights side of the tree.

On effects like butterfly and twinkle it didnt matter. Other effects, not what i expected.

I was still programming start channels at 4pm with the show at 6pm. So I am happy it came out ok.

Now to address the channels on my 3 hubs.

Ok; i am going to make a new ability in nutcracker.

I will prompt for  multiple nc files and create one larger vix file from it. Since i am using Vixen this season, I will focus on that.

So here is what i think as channel assignments for my 3 16 port hubs



I will make a form that i will fill in

dmx.nc
star.nc
dummy1.nc ( I may just let you enter the number of dummy channels)
A~f149.nc (This is my mtree)
dummy2.nc
A~f152.nc (This is my arches)
A~f162.mc (This is my boys window)
A~f163.nc (This is the guest window)

I will name this collection, Wizards in Winter.

It will then stitch all of these files together and produce one vix/vir file.

I will start coding and see if my idea works.

Do I have the concept right?


thanks

Sean, you are recreating project.  This is how project works currently (creates a series of NC files and stitches them together).

Never mind.  I see the subtle difference (multiple targets).  This is what was intended for the 'mega project' concept, but I thought we were holding off until next season for this.

Kurt

This will end up in projects next season. I am making a prototype that will do this for vixen so i can get mega projects by this next week. What I learn will become the specs for you to do mega projects next year.

Vixen and Hls are easier because their files do not need channel info.

Lor and lms will take some time.


Sean
Littleton, CO
Latest releases You are not allowed to view links. Register or Login
xLights/Nutcracker Forum You are not allowed to view links. Register or Login
Fbook You are not allowed to view links. Register or Login

Offline kgustafson

  • Coop Manager
  • Sr. Member
  • *
  • Posts: 1120
    • Lost Weekend Productions
I have a humongous task ahead to un-ID everything (to make all the data transparent between database systems).  Will slowly work on this over the next couple of months.  Once this is done (and everything is 'un-normalized') I will be ready to tackle the mega-projects.  I think your approach is exactly the way I would approach this, so your logic is sound.

Kurt
------
Visit at: You are not allowed to view links. Register or Login

Offline rrowan

  • Administrator
  • Sr. Member
  • *****
  • Posts: 5899
  • 08096
You are not allowed to view links. Register or Login
I think your approach is exactly the way I would approach this, so your logic is sound.

Kurt

I just wish I could have sound logic. No one has every consider me sound  ::)

btw: Great job Sean and Kurt

Rick R.
Light Animation Hobby - Having fun and Learning at the same time. (21st member of DLA)
You are not allowed to view links. Register or Login
Warning SOME assembly required

Offline kgustafson

  • Coop Manager
  • Sr. Member
  • *
  • Posts: 1120
    • Lost Weekend Productions
Sean,

Thinking about this a bit.  So I think you are proposing to have an input table that lists all of the NC files that have been created (either effects or via projects) and be able to set the start addresses for each NC file.  In this manner you can have address gaps between each NC file.  So you are really mapping the left side of your grid to each NC file.

There are two ways to do this:  One would be to list each NC file to include then put the address you want each NC file to start at.

The other way (which may be safer) is to list each NC file you wish to include (without an address) and/or add address 'gaps' either before or after each NC file.

Both probably would be fine to work, the first would require some error checking for overlap in addresses.  The second requires a bit more coding to add the gap behavior.  Either way seems very 'do' able!

Kurt
------
Visit at: You are not allowed to view links. Register or Login

Offline smeighan

  • Moderator
  • Sr. Member
  • *****
  • Posts: 2285
    • Nutcracker RGB Sequence Builder
You are not allowed to view links. Register or Login
Sean,

Thinking about this a bit.  So I think you are proposing to have an input table that lists all of the NC files that have been created (either effects or via projects) and be able to set the start addresses for each NC file.  In this manner you can have address gaps between each NC file.  So you are really mapping the left side of your grid to each NC file.

There are two ways to do this:  One would be to list each NC file to include then put the address you want each NC file to start at.

The other way (which may be safer) is to list each NC file you wish to include (without an address) and/or add address 'gaps' either before or after each NC file.

Both probably would be fine to work, the first would require some error checking for overlap in addresses.  The second requires a bit more coding to add the gap behavior.  Either way seems very 'do' able!

Kurt

Coding is nearly complete for the first choice.

This is turning into a profile generator for Vixen. Notice, that i cheated here. Since my total channel count for megatree is 7200 it fits within two 16 port hubs. I shifted the megatree start channel so that it would split a strand evenly on the second hub. What if I had a full megatree instead of a half? I would have 14400 channels and require (4) 16 port hubs. I could no longer make hub2 and hub3 break correctly without adding channels. When i generate a 14400 channel sequence there would be 14400 consecutive rows of data in the megatree  nc file. Inserting some additional blank channels will now need to be done in the make_buff() routine.

This can be done, but it will be a next year task.

I imagine feeding everything you might have in your show, in my example

128 dmx channels, 180 chnnaels rgb for star, 7200 rgb for megatree, 1070 channels for arches, 750 channels for windows

and let Nutcracker  produce a form like i attached from excel. Let it calculate the start channels for each device . I would then go and program the ssc's to match those channels and i am done.

for now, i just want to get my megatree to look correct for this  years show. My tree currently is schizophrenic.
My green meteor is half green and half blue.





Sean
Littleton, CO
Latest releases You are not allowed to view links. Register or Login
xLights/Nutcracker Forum You are not allowed to view links. Register or Login
Fbook You are not allowed to view links. Register or Login