DiyLightAnimation

Software => xlights => Topic started by: rdebolt on November 06, 2012,

Title: Xlights set up with LOR and LSP?
Post by: rdebolt on November 06, 2012,
Ok I need some one to hold my hand on how to use xlights with my LSP and LOR Sequences, With LSP exports to .lms (LOR), after converting with Xlights the wrong lights are controlled with some missing. I also have a few short (4 to 5 channel) LOR Built sequences that after converted don't even play. I do not know how to set up my controllers in LOR for Xlights to use. I have LSP 2.5 and LOR 3.8.0. My set up is

Etd\Conductor-Active Hub-TX\RX-LE Controllers-LOR Controllers. Running around 400 channels DMX and around 10,000 Pixelnet. Any help would be appreciated!

1 Note: I do not know code at all! I can barely type my own name.
Title: Re: Xlights set up with LOR and LSP?
Post by: Mickpat on November 06, 2012,
My whitepaper may help. http://diylightanimation.com/index.php?topic=7875.msg112660#msg112660

Title: Re: Xlights set up with LOR and LSP?
Post by: frankr on November 07, 2012,
Hi Roger,

For LSP you can use my tool:
http://diylightanimation.com/index.php?topic=9943.0

The big thing is to make sure we know how your channels are configured in LOR.  If you would like I have a script that will extract channel names and configuration so that you can view them easily in Excel.



how did you set up your networks in xLights before the conversion? What Network did you configure the channels for in LOR?

Have you tested the channels in xLights?

give me some pointers in the right direction and I will be glad to help you out.

Frank
Title: Re: Xlights set up with LOR and LSP?
Post by: rdebolt on November 07, 2012,
You are not allowed to view links. Register or Login
My whitepaper may help. http://diylightanimation.com/index.php?topic=7875.msg112660#msg112660


Thanks Mike, I totally for got about that. Notice that I am the first to post below that!  <fp. But Even with that last year I could still not get Xlights to 100% correct, got frustrated and gave up. Now starting again!

You are not allowed to view links. Register or Login
Hi Roger,

For LSP you can use my tool:
http://diylightanimation.com/index.php?topic=9943.0

The big thing is to make sure we know how your channels are configured in LOR.  If you would like I have a script that will extract channel names and configuration so that you can view them easily in Excel.



how did you set up your networks in xLights before the conversion? What Network did you configure the channels for in LOR?

Have you tested the channels in xLights?

give me some pointers in the right direction and I will be glad to help you out.

Frank

1.I would Love the script.
2. Xlights Network is E131= 32 universes-512 channels each
3. No network set up in LOR, I have my channel set to DMX and the DMX channel number assigned, but that is it since I was not planning on driving show with LOR I did not set up network. I did not think that LOR supported E131 yet.
4. I tried your program last night on one of my LSP sequences. It imported, but I could not get export to do anything.
5. Have Etd I have been testing with flashed for Conductor now, but I do have 2 other Etds that I can flash for Pixelnet and test in Xlights. I could NOT get lights to run in test with Xlights before reflash.

Thanks for the help guys! I would really like to have a reliable show this year! Almost did not do a show this because of the issues I have had the last 2 years. I have decides that this is a "Test" year.

Title: Re: Xlights set up with LOR and LSP?
Post by: rdebolt on November 07, 2012,
Just a note: I can control all of my lights in LSP... well all the DMX anyway, I don't have my Pixelnet out yet. I also ran a test last night, with the lights that I do have up, with the Conductor. Lights ran, but not the correct channels at the correct time...thus my post.
Title: Re: Xlights set up with LOR and LSP?
Post by: frankr on November 07, 2012,
You are not allowed to view links. Register or Login


1.I would Love the script.
2. Xlights Network is E131= 32 universes-512 channels each
3. No network set up in LOR, I have my channel set to DMX and the DMX channel number assigned, but that is it since I was not planning on driving show with LOR I did not set up network. I did not think that LOR supported E131 yet.
4. I tried your program last night on one of my LSP sequences. It imported, but I could not get export to do anything.
5. Have Etd I have been testing with flashed for Conductor now, but I do have 2 other Etds that I can flash for Pixelnet and test in Xlights. I could NOT get lights to run in test with Xlights before reflash.

Thanks for the help guys! I would really like to have a reliable show this year! Almost did not do a show this because of the issues I have had the last 2 years. I have decides that this is a "Test" year.

3.  That Should not matter.  I was not really asking about that.
4.  When you do the export a .xseq, and since you have 32 e.131 networks a .seq file, will be created in the directory where the sequence lives (if it is not there check C:\xlights)
5. AS I understand it from some of the recent threads if an etd is flashed for conductor you will not be able to control it remotely via xLights, or any other software for that matter.

Since you say that the DMX channels were able to be controlled that rules out an unflashed active hub (Been there done that...).

Since the conductor is working that is a good sign.  Now all we have to do is figure out what is going on with the channel mappings.

Frank
Title: Re: Xlights set up with LOR and LSP?
Post by: rdebolt on November 07, 2012,
You are not allowed to view links. Register or Login

3.  That Should not matter.  I was not really asking about that.
4.  When you do the export a .xseq, and since you have 32 e.131 networks a .seq file, will be created in the directory where the sequence lives (if it is not there check C:\xlights)
5. AS I understand it from some of the recent threads if an etd is flashed for conductor you will not be able to control it remotely via xLights, or any other software for that matter.

Since you say that the DMX channels were able to be controlled that rules out an unflashed active hub (Been there done that...).

Since the conductor is working that is a good sign.  Now all we have to do is figure out what is going on with the channel mappings.

Frank

4. I will check tonight when I get home from work.

You are correct about testing with the conductor, but I do have another etd that I can use.

The Channel mapping is what kept me from using Xlights last year. I just could not get it correct. I am sure that it is something that I am doing (or not doing). I just hope that with help I can figure it out.
Title: Re: Xlights set up with LOR and LSP?
Post by: frankr on November 07, 2012,
Hi Roger,

I am hoping to publish a script for you that can parse out the channel configurations in LOR or LSP files into a csv file.  This will give us a nice way to look at potential miss configurations.  How do you have your xlights networks configured? You might want to post a copy of your xlights_networks.xml file just so we can see what you are doing there.

Also, if you use my tool above to do LSP conversions it will create a logfile file with information from the conversion process.  This file my help us identify any collisions of channels etc...

Finally, in my conversion tool is the activity field showing as "Done" or "Error" when you go to export?

Frank
Title: Re: Xlights set up with LOR and LSP?
Post by: rdebolt on November 07, 2012,
Frank I can be a lot more help once I get home today, but your conversion said done. It took a very long time to import, by that I mean 4-5 min maybe (seems longer when you sit there and watch the screen), but then when I went to export it did not appear that anything happened at all. I looked for the file in the same directory, but did not search others.
Title: Re: Xlights set up with LOR and LSP?
Post by: rdebolt on November 07, 2012,
Frank the log file shows generating xseq but I cannot find the files anywhere.
Title: Re: Xlights set up with LOR and LSP?
Post by: rdebolt on November 07, 2012,
I need some help with Mickpat's whitepaper instructions.

Step 6= Copy setnet.py and XMLSearchReplace.exe to the convert directory

There is no setnet.py. There is setnet, but I must have missed something somewhere.

1. Download and install Python. DONE
2. Download and install Xml Search and Replace from http://xmlsearchreplace.codeplex.com/ (Used to replace unit number.) Done
3. Open command prompt. Start / Run / CMD.EXE.
4. Create a new directory called convert. DONE
5. Export from LSP to LMS and save in convert directory. DONE
Title: Re: Xlights set up with LOR and LSP?
Post by: frankr on November 07, 2012,
Did you check the directory where the original sequences reside? There should be a file in that directory with the same name as the original sequence but ending in .xseq and one ending in .log.  IF the files are not there they could be in C:\xlights or whatever directory you have configured under options->settings->temp directory.

Frank
Title: Re: Xlights set up with LOR and LSP?
Post by: rdebolt on November 07, 2012,
Frank I forgot to post. Found in in my LSP directory. It did run in Xlights as well.  Now how do I convert to Conductor format? Also still having trouble with the LOR sequence.
Title: Re: Xlights set up with LOR and LSP?
Post by: frankr on November 07, 2012,
Hi Roger,

If you have the full 16384 channels configured in your network configuration then you will get a .seq file to go with your .xseq file.  The easiest way to get teh right channel count have 32 E1.31 universes configured in the network setup.

Frank
Title: Re: Xlights set up with LOR and LSP?
Post by: rdebolt on November 07, 2012,
Frank I saw an seq file right above the xseq file. I thought that it was the one that I converted yesterday to test the conductor. I will try it tomorrow an see how it runs throught the conductor. Thank you so much for your help and for the program!

Do you know how I can get my LMS file to convert and run?

BTW Sorry to be such a PITA!
Title: Re: Xlights set up with LOR and LSP?
Post by: frankr on November 08, 2012,
You are not allowed to view links. Register or Login
Frank I saw an seq file right above the xseq file. I thought that it was the one that I converted yesterday to test the conductor. I will try it tomorrow an see how it runs throught the conductor. Thank you so much for your help and for the program!

Do you know how I can get my LMS file to convert and run?

BTW Sorry to be such a PITA!

LOL trust me I have lived the pain so you are not a PITA :)  I am glad to help others make it through the pain.

The LMS files should be able to go direct through the xLights conversion tool.  I think we just need to make sure your channels are configured properly there.

Frank
Title: Re: Xlights set up with LOR and LSP?
Post by: Mickpat on November 08, 2012,
You are not allowed to view links. Register or Login
I need some help with Mickpat's whitepaper instructions.

Step 6= Copy setnet.py and XMLSearchReplace.exe to the convert directory

There is no setnet.py. There is setnet, but I must have missed something somewhere.

1. Download and install Python. DONE
2. Download and install Xml Search and Replace from http://xmlsearchreplace.codeplex.com/ (Used to replace unit number.) Done
3. Open command prompt. Start / Run / CMD.EXE.
4. Create a new directory called convert. DONE
5. Export from LSP to LMS and save in convert directory. DONE


In the original post, I included a file called setnet.txt.  Just rename this to setnet.py.  You can open this file in notepad to make any changes.

http://diylightanimation.com/index.php?topic=7875.msg112660#msg112660
Title: Re: Xlights set up with LOR and LSP?
Post by: rdebolt on November 08, 2012,
You are not allowed to view links. Register or Login
The LMS files should be able to go direct through the xLights conversion tool.  I think we just need to make sure your channels are configured properly there.

Frank

First thanks for being patient with me. My LMS channels are very basic. I have one controller set with the first 4 channels to 161-164 on one sequence.... A bell just went off in my head. All of the other channels in that controller are at default LOR settings. Would that make a difference? Should I set them all to DMX 161-177? I'll bet that will fix my issue.
Title: Re: Xlights set up with LOR and LSP?
Post by: rdebolt on November 08, 2012,
Well guys the bell broke!  :-[
After setting up all of the controller channels to DMX using xlights conversion still resulted in no lights. Trying Mickpats instructions I am getting this error. Like I said at the first I am going to need my hand held.
Title: Re: Xlights set up with LOR and LSP?
Post by: frankr on November 09, 2012,
Roger,

If my conversion process worked you should not need to run through Mickpat's.  My tool does the whole thing in one step...

Have you tested the .xseq files generated by my tool?

Note: I did uncover a bug Today that would cause a ramp up of an RGB channel to be treated as a full on.  I'll publish an update Tomorow (or Late Today if you go by the DLA clock...)

Frank
Title: Xlights set up with LOR and LSP?
Post by: tlh on November 09, 2012,
It looks like there's an issue with the setnet.py file, which is still listed as a text file. My hunch is that it still has the txt extension, and windows has the file name as setnet.py.txt

You might try using the cmd prompt to rename the file with the ren command.  With the original setnet file (setnet.txt) in your folder, type the following:

ren setnet.txt setnet.py

Hope that's the issue and helps.
tlh


Sent from my iPhone using Tapatalk
Title: Re: Xlights set up with LOR and LSP?
Post by: rdebolt on November 09, 2012,
Thanks Guys!

Frank this is an LMS file and I thought that your process only did MSQ or LSP files. These are old files of Santa talking and I have several. If I import into LSP the timings are so far off that they are not even workable. To tell you how frustrated I got I purchased S3 just so I could use these files. If all else fails I was going to drive my show with LOR this year. Too tired of fighting another program! I would like to be able to take my wife out to dinner or leave the house for a little bit in December, but that's another story all together. ;)
Title: Re: Xlights set up with LOR and LSP?
Post by: rdebolt on November 09, 2012,
You are not allowed to view links. Register or Login
It looks like there's an issue with the setnet.py file, which is still listed as a text file. My hunch is that it still has the txt extension, and windows has the file name as setnet.py.txt

You might try using the cmd prompt to rename the file with the ren command.  With the original setnet file (setnet.txt) in your folder, type the following:

ren setnet.txt setnet.py

Hope that's the issue and helps.
tlh


Sent from my iPhone using Tapatalk

Comes up with "System cannot find specified file."
Title: Xlights set up with LOR and LSP?
Post by: tlh on November 10, 2012,
You are not allowed to view links. Register or Login

Comes up with "System cannot find specified file."

Do you get this error when using the ren command or the python.exe command?



Sent from my iPhone using Tapatalk
Title: Re: Xlights set up with LOR and LSP?
Post by: rdebolt on November 10, 2012,
You are not allowed to view links. Register or Login

Do you get this error when using the ren command or the python.exe command?



Sent from my iPhone using Tapatalk

Ren command in the cammand prompt. I did change the file name back to .txt and tried as well. Exact same message both times.

I was in the convert file for the command prompt.
Title: Re: Xlights set up with LOR and LSP?
Post by: frankr on November 10, 2012,
Hi Roger,

The problem is that windows is hiding the extension from you.  So right now the filename is actually setnet.py.txt.  try:

ren setnet.py.txt setnet.py

Frank

P.S. You can change your folder options to always show extensions to avoid this confusion in the future.

Frank
Title: Re: Xlights set up with LOR and LSP?
Post by: rdebolt on November 10, 2012,
You are not allowed to view links. Register or Login
Hi Roger,

The problem is that windows is hiding the extension from you.  So right now the filename is actually setnet.py.txt.  try:

ren setnet.py.txt setnet.py

Frank

P.S. You can change your folder options to always show extensions to avoid this confusion in the future.

Frank

That did it! Thanks! Now I will try and convert. I will post my results shortly!
Title: Re: Xlights set up with LOR and LSP?
Post by: rdebolt on November 10, 2012,
Well I'm getting closer. The setnet file worked after I fixed "MY" network errors. Now I get this error when I run the XML search and replace script.
Title: Xlights set up with LOR and LSP?
Post by: tlh on November 10, 2012,
You are not allowed to view links. Register or Login
Well I'm getting closer. The setnet file worked after I fixed "MY" network errors. Now I get this error when I run the XML search and replace script.

Glad you got the rename function to work. This is just a guess, but you might try deleting the space after the * in your convert command line so that it is ..new*.lms

If the script does not handle wildcards (i.e., *), then try using the exact file name.



Sent from my iPhone using Tapatalk
Title: Re: Xlights set up with LOR and LSP?
Post by: rdebolt on November 10, 2012,
You are not allowed to view links. Register or Login

Glad you got the rename function to work. This is just a guess, but you might try deleting the space after the * in your convert command line so that it is ..new*.lms

If the script does not handle wildcards (i.e., *), then try using the exact file name.



Sent from my iPhone using Tapatalk

Believe it or not I did try with and without the space. It did the same on both. I did not try the exact name and will do so now and post results in a minute.
Title: Re: Xlights set up with LOR and LSP?
Post by: rdebolt on November 10, 2012,
Nope same error. I do get a pop up when the error occurs asking to close program or look for a solution online.
Title: Re: Xlights set up with LOR and LSP?
Post by: rdebolt on November 10, 2012,
What is the XML file replacing? Can I just use Notepad++ to rename what needs to be renamed?
Title: Re: Xlights set up with LOR and LSP?
Post by: Mickpat on November 11, 2012,
You are not allowed to view links. Register or Login
Well I'm getting closer. The setnet file worked after I fixed "MY" network errors. Now I get this error when I run the XML search and replace script.

When you downloaded XMLSearchandreplace, did you extract all 3 files to the same location?  There should be three files.  It looks like one of the libraries cannot be found. Maybe my step 6 should have said to copy all 3 xmlsearchandreplace files to the convert directory. 
Title: Re: Xlights set up with LOR and LSP?
Post by: Mickpat on November 11, 2012,
You are not allowed to view links. Register or Login
What is the XML file replacing? Can I just use Notepad++ to rename what needs to be renamed?
Yes, you can hand edit the file and update all of the unit numbers.
Title: Re: Xlights set up with LOR and LSP?
Post by: Mickpat on November 11, 2012,
You are not allowed to view links. Register or Login
Thanks Guys!

Frank this is an LMS file and I thought that your process only did MSQ or LSP files. These are old files of Santa talking and I have several. If I import into LSP the timings are so far off that they are not even workable. To tell you how frustrated I got I purchased S3 just so I could use these files. If all else fails I was going to drive my show with LOR this year. Too tired of fighting another program! I would like to be able to take my wife out to dinner or leave the house for a little bit in December, but that's another story all together. ;)

If you have LMS files that were created from LOR, I don't think you need to go through this script process.  You may need to adjust the network settings in S3 and/or xLights to get them to work properly.
Title: Re: Xlights set up with LOR and LSP?
Post by: rdebolt on November 11, 2012,
You are not allowed to view links. Register or Login
When you downloaded XMLSearchandreplace, did you extract all 3 files to the same location?  There should be three files.  It looks like one of the libraries cannot be found. Maybe my step 6 should have said to copy all 3 xmlsearchandreplace files to the convert directory. 

That fixed it!

I was able to covert the file that I am testing and still no lights. I did not convert to Xlights, but tried to play in Xlights and nothing. Lights do play in LOR. Any Suggestions?

Note: I can control the same channels in Xlights "test".
Title: Re: Xlights set up with LOR and LSP?
Post by: frankr on November 11, 2012,
Hey Roger,

It will depend on your channel configuration in LOR.  You need to  make sure it maps properly through the xLights conversion.   How are your channels configured in LOR?

Frank
Title: Re: Xlights set up with LOR and LSP?
Post by: rdebolt on November 12, 2012,
You are not allowed to view links. Register or Login
Hey Roger,

It will depend on your channel configuration in LOR.  You need to  make sure it maps properly through the xLights conversion.   How are your channels configured in LOR?

Frank

My Channels are configured for DMX universe 1 channel 100-104 for the 1 sequence that I am testing with. My Network in LOR is set up for E131. It is such a simple sequence I cannot believe that I am having so much trouble.

Title: Re: Xlights set up with LOR and LSP?
Post by: frankr on November 12, 2012,
When you run through the xLights conversion what messages do you get? It may not see any channels if the network value in the LOR file is mapping to a network you do not have configured.

What network are the channels assigned to in LOR?  If it is not "Regular" then this could be the source of the problem.

Frank
Title: Re: Xlights set up with LOR and LSP?
Post by: rdebolt on November 12, 2012,
You are not allowed to view links. Register or Login
When you run through the xLights conversion what messages do you get? It may not see any channels if the network value in the LOR file is mapping to a network you do not have configured.

What network are the channels assigned to in LOR?  If it is not "Regular" then this could be the source of the problem.

Frank

I am not sure what network in LOR. They play in the LOR program. Does that matter? It has been a few years since I have worked with LOR so I am a little rusty there.
Title: Re: Xlights set up with LOR and LSP?
Post by: rdebolt on November 12, 2012,
BTW I did not do an Xlights conversion this weekend. Was just tryinh to play the converted lms file as LOR in Xlights.

I also noticed that the "Network" in the conversion is "Network=0" is that correct?
Title: Re: Xlights set up with LOR and LSP?
Post by: frankr on November 12, 2012,
Hi Roger,

Can you post the lms file here so I can take a look at it?

Thank You,

Frank
Title: Re: Xlights set up with LOR and LSP?
Post by: rdebolt on November 12, 2012,
Frank
 Here you go.
Title: Re: Xlights set up with LOR and LSP?
Post by: frankr on November 12, 2012,
Hi Roger,

Go into LOR and set the universe in each channel to 1.  This should solve your problem.

Frank
Title: Re: Xlights set up with LOR and LSP?
Post by: rdebolt on November 13, 2012,
Frank they already are. The file I sent you is one that I have converted from Mickpat's scripts. If you want I can post an original one tonight.

You are not allowed to view links. Register or Login
My Channels are configured for DMX universe 1 channel 100-104 for the 1 sequence that I am testing with. My Network in LOR is set up for E131. It is such a simple sequence I cannot believe that I am having so much trouble.
Title: Re: Xlights set up with LOR and LSP?
Post by: frankr on November 13, 2012,
Hi Roger,

I exchanged some messages with Matt and it turns out that the DMX LOR conversion was not included in xLights 2012b.  Matt is working to release an update very soon that addresses this. 

Frank
Title: Re: Xlights set up with LOR and LSP?
Post by: rdebolt on November 13, 2012,
Great news! Thanks for all of your help Frank. How is your conversion script coming along?
Title: Re: Xlights set up with LOR and LSP?
Post by: rdebolt on November 13, 2012,
So I found an error in my network within the setnet script, but I have a question. In Xlights does it look at Network 0 as LOR Network 1?

For example Etd in LOR or LSP Network= 1-32 @ 512 per universe
Is Xlights Network=0-31?
Title: Re: Xlights set up with LOR and LSP?
Post by: frankr on November 13, 2012,
That is correct.

I do recommended just using light elf so you do not have to go through the LSP->LMS->setnet>xmlreplace->xlights workflow.  It is just LSP->light elf-> play the sequence in xLights.

For LOR sequences you do not need to do anything extra.  An LOR sequence can be played directly in xlights.  The only concern is that the mapping of channels is not quite right if you are using DMX controller settings in LOR, that will be addressed as soon as Matt releases the new version.

Frank
Title: Re: Xlights set up with LOR and LSP?
Post by: rdebolt on November 14, 2012,
Thanks Frank. I will be using your conversion (once updated) to do my msq files, but I have some lms files that I need to convert as well. In the end they ALL need to end up seq files!

I am using LOR in DMX mode as well. My set up will be very similar to yours in the SS Threads.
Title: Re: Xlights set up with LOR and LSP?
Post by: rdebolt on November 17, 2012,
Thanks for all of the help! 2012c fixed my issue and lights will run.