Author Topic: *******Solved***LSP and XLights help - Can't get it working  (Read 6329 times)

Offline peteandvanessa

  • Sr. Member
  • ****
  • Posts: 492
So I have LSP and have followed the set up doc to export from LSP, convert and play in Xlights.

I've followed the guide here  (I've followed the guide exactly, well at least I think I did):
You are not allowed to view links. Register or Login

I have 16 LED Flexstrips connected to two 16 Port Active Hubs.
All the strips are number sequentially, then I have two D-Light AC16's.

All work in LSP so I've all the H/W is working.

The Hub are connected to my PC via the etherdongle.

My Laptop is connected to the Etherdongle wirelessly using the E131 protocol. Etherdongle and hubs are flashed for Pixelnet.

Here's the set up of my file for setnet.py:

    networks = [{'stIndex':1,'endIndex':180, 'net':0},
                {'stIndex':181,'endIndex':540, 'net':1},
                {'stIndex':541,'endIndex':612, 'net':2},
      {'stIndex':613,'endIndex':792, 'net':3},
      {'stIndex':793,'endIndex':1152, 'net':4},
      {'stIndex':1153,'endIndex':1512, 'net':5},
      {'stIndex':1513,'endIndex':1872, 'net':6},
      {'stIndex':1873,'endIndex':1944, 'net':7},
      {'stIndex':1945,'endIndex':2304, 'net':8},
      {'stIndex':2305,'endIndex':2439, 'net':9},
      {'stIndex':2440,'endIndex':2574, 'net':10},
      {'stIndex':2575,'endIndex':2817, 'net':11},
      {'stIndex':2818,'endIndex':3177, 'net':12},
      {'stIndex':3178,'endIndex':3537, 'net':13},
      {'stIndex':3538,'endIndex':3897, 'net':14},
      {'stIndex':4097,'endIndex':4456, 'net':15},
      {'stIndex':4457,'endIndex':4473, 'net':16},
      {'stIndex':4474,'endIndex':4490, 'net':17},]

Here's my hardware set up in Xlights:


When I run the final file in Xlights, some of the LED's light up, but not correctly, wrong colors, wrong flex strips. The AC16's do not respond at all. I can light up the flexstrips and the AC16's with the H/W test in Xlights, I just can't get the converted sequence to run correctly. Any tips or pointers to get this to work?
« Last Edit: April 20, 2012, by peteandvanessa »

Offline Mickpat

  • Beta Tester
  • Sr. Member
  • *****
  • Posts: 556
Re: LSP and XLights help - Can't get it working
« Reply #1 on: April 15, 2012, »
The start and end values in the network section of the python file doesn't look right.  Typically this is in groups of 512 and should match what you have in xLights.  Where did you get these values from?

Offline peteandvanessa

  • Sr. Member
  • ****
  • Posts: 492
Re: LSP and XLights help - Can't get it working
« Reply #2 on: April 15, 2012, »
You are not allowed to view links. Register or Login
The start and end values in the network section of the python file doesn't look right.  Typically this is in groups of 512 and should match what you have in xLights.  Where did you get these values from?

The values above were my real address numbers for each SSC, so I guess that's wrong.

I'll try with this address approach:

  networks =[{'stIndex':1,'endIndex':512, 'net':0},
               {'stIndex':513,'endIndex':1024, 'net':1},
               {'stIndex':1025,'endIndex':1536, 'net':2},
               {'stIndex':1537,'endIndex':2048, 'net':3},
               {'stIndex':2049,'endIndex':2560, 'net':4},
               {'stIndex':2561,'endIndex':3072, 'net':5},
               {'stIndex':3073,'endIndex':3583, 'net':6},
               {'stIndex':3584,'endIndex':4095, 'net':7},
               {'stIndex':4096,'endIndex':4607, 'net':8},
               {'stIndex':4608,'endIndex':5119, 'net':9},
               {'stIndex':5120,'endIndex':5631, 'net':10},
               {'stIndex':5632,'endIndex':6143, 'net':11},
               {'stIndex':6144,'endIndex':6655, 'net':12},
               {'stIndex':6656,'endIndex':7168, 'net':13}]

Offline peteandvanessa

  • Sr. Member
  • ****
  • Posts: 492
Re: LSP and XLights help - Can't get it working
« Reply #3 on: April 15, 2012, »
I tried the conversion using the above settings in the setnet.py file.

Same as before, still doesn't work. I must be doing something wrong.

Offline angus40

  • Sr. Member
  • ****
  • Posts: 154
Re: LSP and XLights help - Can't get it working
« Reply #4 on: April 15, 2012, »

It looks like your trying to output 8 universes , according to the etd thread the etd will out put 4 universes .

I would try to just get 1 universe at a time established and working.

You are not allowed to view links. Register or Login
So I have LSP and have followed the set up doc to export from LSP, convert and play in Xlights.

I've followed the guide here  (I've followed the guide exactly, well at least I think I did):
You are not allowed to view links. Register or Login

I have 16 LED Flexstrips connected to two 16 Port Active Hubs.
All the strips are number sequentially, then I have two D-Light AC16's.

All work in LSP so I've all the H/W is working.

The Hub are connected to my PC via the etherdongle.

My Laptop is connected to the Etherdongle wirelessly using the E131 protocol. Etherdongle and hubs are flashed for Pixelnet.

Here's the set up of my file for setnet.py:

    networks = [{'stIndex':1,'endIndex':180, 'net':0},
                {'stIndex':181,'endIndex':540, 'net':1},
                {'stIndex':541,'endIndex':612, 'net':2},
      {'stIndex':613,'endIndex':792, 'net':3},
      {'stIndex':793,'endIndex':1152, 'net':4},
      {'stIndex':1153,'endIndex':1512, 'net':5},
      {'stIndex':1513,'endIndex':1872, 'net':6},
      {'stIndex':1873,'endIndex':1944, 'net':7},
      {'stIndex':1945,'endIndex':2304, 'net':8},
      {'stIndex':2305,'endIndex':2439, 'net':9},
      {'stIndex':2440,'endIndex':2574, 'net':10},
      {'stIndex':2575,'endIndex':2817, 'net':11},
      {'stIndex':2818,'endIndex':3177, 'net':12},
      {'stIndex':3178,'endIndex':3537, 'net':13},
      {'stIndex':3538,'endIndex':3897, 'net':14},
      {'stIndex':4097,'endIndex':4456, 'net':15},
      {'stIndex':4457,'endIndex':4473, 'net':16},
      {'stIndex':4474,'endIndex':4490, 'net':17},]

Here's my hardware set up in Xlights:


When I run the final file in Xlights, some of the LED's light up, but not correctly, wrong colors, wrong flex strips. The AC16's do not respond at all. I can light up the flexstrips and the AC16's with the H/W test in Xlights, I just can't get the converted sequence to run correctly. Any tips or pointers to get this to work?

Offline Mickpat

  • Beta Tester
  • Sr. Member
  • *****
  • Posts: 556
Re: LSP and XLights help - Can't get it working
« Reply #5 on: April 15, 2012, »
It sounds like an issue with the LMS file since the hardware tests work fine.  Did you run the script to update the Unit number in the LMS file?

XMLSearchReplace.exe /F="c:\convert\new*.LMS" /S="unit" /R="1" /O=va


The Etherdongle supports 4 Pixelnet universes (4 Hubs.)  E1.31 supports more than 4 DMX universes.  I am running 16 DMX universes.

Offline peteandvanessa

  • Sr. Member
  • ****
  • Posts: 492
Re: LSP and XLights help - Can't get it working
« Reply #6 on: April 15, 2012, »
You are not allowed to view links. Register or Login
It sounds like an issue with the LMS file since the hardware tests work fine.  Did you run the script to update the Unit number in the LMS file?

XMLSearchReplace.exe /F="c:\convert\new*.LMS" /S="unit" /R="1" /O=va


The Etherdongle supports 4 Pixelnet universes (4 Hubs.)  E1.31 supports more than 4 DMX universes.  I am running 16 DMX universes.
I sure did,  yes not sure what to check next,

Offline Mickpat

  • Beta Tester
  • Sr. Member
  • *****
  • Posts: 556
Re: LSP and XLights help - Can't get it working
« Reply #7 on: April 15, 2012, »
And in the LMS file, all of the unit numbers are 1?

Offline peteandvanessa

  • Sr. Member
  • ****
  • Posts: 492
Re: LSP and XLights help - Can't get it working
« Reply #8 on: April 16, 2012, »
You are not allowed to view links. Register or Login
And in the LMS file, all of the unit numbers are 1?

Hi Mickpat, I'm not sure what you mean by "all the unit numbers are 1" can you clarify, I can then check the file that have been exported from LSP into an LMS file.

Offline rm357

  • Sr. Member
  • ****
  • Posts: 1282
  • 31088
LSP and XLights help - Can't get it working
« Reply #9 on: April 16, 2012, »
Each pixelnet universe is 8 of the e1.31 universes
Each DMX universe is 1 of the e1.31 universes.

Assuming the EtD is loaded with the pixelnet firmware, it will receive a total of 32 of the e1.31 universes and output it as 4 pixelnet universes...

Which 32 depends on which of the three available firmware files is loaded...

RM
Robert
Warner Robins, Georgia, USA

Offline caretaker

  • Sr. Member
  • ****
  • Posts: 1770
Re: LSP and XLights help - Can't get it working
« Reply #10 on: April 16, 2012, »
<?xml version="1.0" encoding="utf-8"?>
<sequence saveFileVersion="3" author="Jeff Squires" createdAt="12/10/2011 12:11:23 PM" musicFilename="C:\Users\Jeff\Documents\My LightShow Music\2011 Intro.mp3">
   <channels>
      <channel name="Mega Tree Clr 1" color="16777215" centiseconds="113379" deviceType="LOR" unit="1" circuit="1" savedIndex="0">
         <effect type="intensity" startCentisecond="51" endCentisecond="100" intensity="0" />
         <effect type="intensity" startCentisecond="100" endCentisecond="101" startIntensity="25" endIntensity="26" />
         <effect type="intensity" startCentisecond="101" endCentisecond="301" startIntensity="0" endIntensity="100" />
         <effect type="intensity" startCentisecond="301" endCentisecond="501" startIntensity="100" endIntensity="0" />
         <effect type="intensity" startCentisecond="501" endCentisecond="651" intensity="0" />
         <effect type="intensity" startCentisecond="651" endCentisecond="700" intensity="0" />
         <effect type="intensity" startCentisecond="700" endCentisecond="701" startIntensity="25" endIntensity="26" />
         <effect type="intensity" startCentisecond="701" endCentisecond="901" startIntensity="0" endIntensity="100" />
         <effect type="intensity" startCentisecond="901" endCentisecond="1101" startIntensity="100" endIntensity="25" />
         <effect type="intensity" startCentisecond="1101" endCentisecond="1251" intensity="0" />
         <effect type="intensity" startCentisecond="1251" endCentisecond="1300" intensity="0" />
         <effect type="intensity" startCentisecond="1300" endCentisecond="1301" startIntensity="25" endIntensity="26" />
         <effect type="intensity" startCentisecond="1301" endCentisecond="1501" startIntensity="0" endIntensity="100" />
         <effect type="intensity" startCentisecond="1501" endCentisecond="1701" startIntensity="100" endIntensity="25" />
         <effect type="intensity" startCentisecond="1701" endCentisecond="1851" intensity="0" />
         <effect type="intensity" startCentisecond="1851" endCentisecond="1901" startIntensity="0" endIntensity="26" />
         <effect type="intensity" startCentisecond="1901" endCentisecond="2101" startIntensity="0" endIntensity="100" />
         <effect type="intensity" startCentisecond="2101" endCentisecond="2301" startIntensity="100" endIntensity="25" />
         <effect type="intensity" startCentisecond="2301" endCentisecond="2451" intensity="0" />
         <effect type="intensity" startCentisecond="2451" endCentisecond="2501" startIntensity="0" endIntensity="26" />
         <effect type="intensity" startCentisecond="2501" endCentisecond="2701" startIntensity="0" endIntensity="100" />
         <effect type="intensity" startCentisecond="2701" endCentisecond="2901" startIntensity="100" endIntensity="25" />
         <effect type="intensity" startCentisecond="2901" endCentisecond="3051" intensity="0" />
         <effect type="intensity" startCentisecond="3051" endCentisecond="3100" intensity="0" />
         <effect type="intensity" startCentisecond="3100" endCentisecond="3101" startIntensity="25" endIntensity="26" />
         <effect type="intensity" startCentisecond="3101" endCentisecond="3301" startIntensity="0" endIntensity="100" />
         <effect type="intensity" startCentisecond="3301" endCentisecond="3459" startIntensity="100" endIntensity="0" />
         <effect type="intensity" startCentisecond="3459" endCentisecond="3701" intensity="0" />
         <effect type="intensity" startCentisecond="3701" endCentisecond="3901" startIntensity="0" endIntensity="100" />
         <effect type="intensity" startCentisecond="3901" endCentisecond="4100" startIntensity="100" endIntensity="0" />
         <effect type="intensity" startCentisecond="4100" endCentisecond="4301" intensity="0" />
         <effect type="intensity" startCentisecond="4301" endCentisecond="4501" startIntensity="0" endIntensity="100" />
         <effect type="intensity" startCentisecond="4501" endCentisecond="4700" startIntensity="100" endIntensity="0" />
         <effect type="intensity" startCentisecond="4700" endCentisecond="4901" intensity="0" />
         <effect type="intensity" startCentisecond="4901" endCentisecond="5101" startIntensity="0" endIntensity="100" />
         <effect type="intensity" startCentisecond="5101" endCentisecond="5400" startIntensity="100" endIntensity="0" />
         <effect type="intensity" startCentisecond="5400" endCentisecond="5509" intensity="0" />
         <effect type="intensity" startCentisecond="5509" endCentisecond="113379" intensity="0" />
      </channel>
      <channel name="Mega Tree Clr 2" color="16777215" centiseconds="113379" deviceType="LOR" unit="1" circuit="2" savedIndex="1">
In the above LMS file you will see "Channel Name",  "Color", "centiseconds", "deviceType" then "unit" which should equal 1 ^  circuit is your channel number. If you have looked over this post it might help: You are not allowed to view links. Register or Login
Jeff Squires
You are not allowed to view links. Register or Login

Offline peteandvanessa

  • Sr. Member
  • ****
  • Posts: 492
Re: LSP and XLights help - Can't get it working
« Reply #11 on: April 16, 2012, »
I think I know what is happening now.

I have two 16 Channel AC controllers (similar to LOR controllers)

It's listing those first in the exported files and then adds the LED Flex strips.

Not sure how to re-order them in the xml files or whether I should just re-order them in Light Show Pro and then export the file again.

As least I know it's an issue with the exported file.

Offline Mickpat

  • Beta Tester
  • Sr. Member
  • *****
  • Posts: 556
Re: LSP and XLights help - Can't get it working
« Reply #12 on: April 16, 2012, »
Are the PixelNets working?  For the LOR controllers, you may need to set those to another unit number in the LMS file.  Not sure.  I do know the script sets all the unit numbers to 1 which may not be correct if you are using another protocol/dongle.

If you have LOR controllers, I would run everything using DMX.  You can output DMX from one of the pixelNet hubs. I found this to simplify things.

Offline peteandvanessa

  • Sr. Member
  • ****
  • Posts: 492
Re: LSP and XLights help - Can't get it working
« Reply #13 on: April 17, 2012, »
I can confirm that the Pixelnet Flexstrip are NOT working. Only the first string is working, although the addresses look correct in the converted XML file.

The AC16 controllers are using a non-Lynx USB dongle. I have some new chips coming this week so I can convert them to DMX, so that might help some and might simplify the problems I am seeing.

It's frustrating since the H/W tests work in Xlights perfectly, it's just the conversion of the XML file that isn't. I've tried moving the AC16 controllers in LSP to order them last, in the outputted XML file, but even then it doesn't work.

I've even deleted the AC16 controllers so that they aren't in the XML file, but again, the LED flexstrips don't work once the file is converted to XLights.
« Last Edit: April 17, 2012, by peteandvanessa »

Offline Mickpat

  • Beta Tester
  • Sr. Member
  • *****
  • Posts: 556
Re: LSP and XLights help - Can't get it working
« Reply #14 on: April 17, 2012, »
You may have already answered this, but do the lights work in LSP?