Sean Meighan

Welcome => Do You Need Help? Post it here => Topic started by: Tim Bateson on September 20, 2015, 08:30:37 AM

Title: Not Converting to LMS Correctly
Post by: Tim Bateson on September 20, 2015, 08:30:37 AM
Version 4.2.6
I built a pixel tree a couple years ago, in this upgraded version that still works fine.  However.  I'm adding pixels to my house and that isn't working.
Added all of the Networks.
Added all of the models - not sure how these link to the network setup
Added Display Elements with effects.
Saved all.
Try Convert - Pixel tree always converts, but only a couple of my new models/elements show up.  When looking at the Test tab, again not everything is showing up, just what I'm seeing in the LMS convert - same elements.
Is there a pixel or network limitation?
Title: Re: Not Converting to LMS Correctly
Post by: flyinverted on September 20, 2015, 09:16:23 AM
The test tab is not dynamic. It reads your config once at startup and that's it. You need to exit xLights, start again to read the new config if you make changes.
Title: Re: Not Converting to LMS Correctly
Post by: Gilrock on September 20, 2015, 09:55:37 AM
I think the key to your problems is the statement "not sure how these (models) link to the network setup".  You have to define start channels for each model.  Use the network setup to figure out the start channel for each universe to get your bearings.   If you don't have the start channels defined right then the convert will be putting the data in the wrong spots.
Title: Re: Not Converting to LMS Correctly
Post by: Tim Bateson on September 20, 2015, 11:34:59 AM
Bingo!  It's been too long since I added a Network.  I do however get 177 additional blank channels in my lms file that are not defined anywhere in my system.
Title: Re: Not Converting to LMS Correctly
Post by: Gilrock on September 20, 2015, 11:58:04 AM
Only thing that could be is you used to have that many channels.  When we open up the file we allocate enough channels to hold the data in the FSEQ file.  So when you remove channels from the network page it doesn't automatically reduce the number of channels stored in your sequence because we maintain the size of how many channels were in the file when you opened it.  To reduce the channel count you need to close the sequence, delete the FSEQ file and then reopen the sequence and then we will create the number of channels you have defined in the network page.

It's not exactly how I would like it work but that is the state of the code.  In the future I'd like to see us handle the reduction in channels immediately maybe by popping up a dialog and asking the user if they want the channel data deleted.