Author Topic: Release 4.01.01. Import of LSP now matches to xLights effects.  (Read 18892 times)

Offline gerry

  • Hero Member
  • *****
  • Posts: 695
    • View Profile
Re: Release 4.01.01. Import of LSP now matches to xLights effects.
« Reply #15 on: June 10, 2015, 07:51:04 PM »
Hi,

You need to double click in the cells  on the right hand side (try the one against node 1 ) and you will be able to see the LSP channels.

But as per Dans post of today , and if u are using the release of yesterday , you should be able to select by strand (ie entire controller in LSP speak).

I have not tried that as yet , but will do so this evening , so u may wish to hold off until I can then post more stuff.

If u are new to xlights, better IMO , to try a new sequence and get to understand how to use it.
You need to understand creating models , creating effects etc first.
There are many videos and one that Sean has just done .
 
There are diff ways to import LSP data (with diff results) and I have been though all of them the last month.

Gerry

Offline logandc99

  • Sr. Member
  • ****
  • Posts: 257
    • View Profile
Re: Release 4.01.01. Import of LSP now matches to xLights effects.
« Reply #16 on: June 10, 2015, 08:46:06 PM »
Thanks Gerry,
I have played around a little bit with Xlights and have started doing some sequencing on some mini trees and arches and megatree that I have created models for. It does seem very user friendly.
With regards to the importing of LSP sequences, I must be doing something very wrong. I have the version that allows me to Map by Strand but  double clicking the any of the boxes/cells on the Map Channels window does nothing for me.
I'll be keen to hear you get on with it when you give it a go tonight and hopefully I can find out where I am going wrong
Cheers

Offline gerry

  • Hero Member
  • *****
  • Posts: 695
    • View Profile
Re: Release 4.01.01. Import of LSP now matches to xLights effects.
« Reply #17 on: June 10, 2015, 09:12:53 PM »
You can also import as a data layer.
So after  you have created a new seq or opened an existing one , click on Settings, Sequence settings , data layers, then Import.

Select the msq file . This will bring the entire LSP seq in as a data layer in one shot.

Save the sequence, then play it. You should see the preview window play the effects if you have already defined all the models etc.

The individual effects cannot be directly modified with this way, but this approach is useful if u wish to get all the LSP stuff into xlights and then add new elements . Also quicker to save etc.


 

Gerry

Offline logandc99

  • Sr. Member
  • ****
  • Posts: 257
    • View Profile
Re: Release 4.01.01. Import of LSP now matches to xLights effects.
« Reply #18 on: June 10, 2015, 09:29:59 PM »
Update: Just had success!  ;D
I was clicking on the channels column before but nothing happened. Tried it again clicking multiple times and suddenly the elements from LSP appeared. I could select "spiral tree 1" hit ok and the effects loaded into the sequencer. At first they appeared all white or grey but then started to change to colour and the sequence played ok in the preview window. Must have been the mouse playing up the first time.
Thanks for the help. Very happy now  ;D

Offline gerry

  • Hero Member
  • *****
  • Posts: 695
    • View Profile
Re: Release 4.01.01. Import of LSP now matches to xLights effects.
« Reply #19 on: June 10, 2015, 09:38:11 PM »
Nothing to do with the mouse. That is how it currently works.

I was initially stuck on the same problem , but Dennis put me right at the Sydney mini

Gerry

Offline gerry

  • Hero Member
  • *****
  • Posts: 695
    • View Profile
Re: Release 4.01.01. Import of LSP now matches to xLights effects.
« Reply #20 on: June 11, 2015, 04:19:08 AM »
Try clicking on the "Map by Strand" check box.   The nodes should go away.   The drop down should then just have "Fence Arch 1" on it.   Select that for your Strand 1 source and it should automatically grab all the individual channels.

Hi Dan,

This is simply great ! I did a few arches and the results look very nice.

I also tried importing multiple models (using by strand) at the same time (ie two arches) and that was also very successful.
Tomorrow or on the weekend I will try and create/save definitions which have many more elements in them  so that I can then apply them to import all my sequences. I make divide my models into three lots and do one lot at a time per sequence to limit the number of channels being parsed at a time.
I couple of minor comments.
- If there can be some indication (even a brief hovering tip/message) that the user needs to double click in the channel column to get the list of strands/channels as this has caught and will catch a number of people out the first time.
- When the initial msq file is selected to import (and also when the import is being done) , for obvious reasons it takes a while with LSP . Perhaps a message in the status bar down or elsewhere to the user that the import is occurring etc as it appears for a good many seconds that nothing has occurred or is occurring.

Regards
Gerry

Offline scuba

  • Sr. Member
  • ****
  • Posts: 349
    • View Profile
Re: Release 4.01.01. Import of LSP now matches to xLights effects.
« Reply #21 on: June 12, 2015, 06:29:59 AM »
I'm not able to complete the import of a LSP .msq file.  I'm getting an unhandled  exception  error. 

 Is there a tutorial ?

Do the LSP controller names have to match the xlights model names? For example I've got a Xlights model name of Arch 1 which is named Arch 1 E680 in LSP sequences.

Offline gerry

  • Hero Member
  • *****
  • Posts: 695
    • View Profile
Re: Release 4.01.01. Import of LSP now matches to xLights effects.
« Reply #22 on: June 12, 2015, 02:01:50 PM »
Hi,
No they do not have to match, because when using the import effects option, you select the xlights model or models first, then tick the by strand option , double click under channels and then select the LSP controller name to match.
In my case arch 1 in xl is Fence arch 1 in LSP.
Try doing one LSP channel first and see if it works.
What exception are you getting and its a debug generated ?
Gerry

Offline scuba

  • Sr. Member
  • ****
  • Posts: 349
    • View Profile
Re: Release 4.01.01. Import of LSP now matches to xLights effects.
« Reply #23 on: June 12, 2015, 03:27:35 PM »
Thanks Gerry

Quick outline:
New Sequence; add media , no timing marks
Import effects option open LSP  .msq file
I get "Map Channels Screen, but with no data
Pull down has nothing; I get a header: Model/Strrand/Node/Channel/Color; NO Table below
Am I waiting long enough?
Clicked on everything....Nothing!

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Release 4.01.01. Import of LSP now matches to xLights effects.
« Reply #24 on: June 12, 2015, 04:16:03 PM »
Funny that you ask whether you were waiting long enough.  When I was trying to debug using your files I closed things down twice thinking it was locked up.  Finally I got distracted after trying to launch the program in the debugger and when I got back to the PC sure enough it finally loaded your stuff.  Not sure what is taking so long with your layout.  The debugger is always slower but I've never seen it take that long.

Offline gerry

  • Hero Member
  • *****
  • Posts: 695
    • View Profile
Re: Release 4.01.01. Import of LSP now matches to xLights effects.
« Reply #25 on: June 13, 2015, 01:16:09 AM »
Thanks Gerry

Quick outline:
New Sequence; add media , no timing marks
Import effects option open LSP  .msq file
I get "Map Channels Screen, but with no data
Pull down has nothing; I get a header: Model/Strrand/Node/Channel/Color; NO Table below
Am I waiting long enough?
Clicked on everything....Nothing!

Hi,

How many channels do you have ?
Also , when I first selected the MSQ file , there was a pause of quite a few seconds (but less than 30) before the map channels screen appears.
Have you added models to the sequencer ? Before u do the import , you must go to the sequencer tab , right click , chose the option to "edit...(am not on my computer), and add the models to the sequencer. (unlike LSP they are not copied in when u create a new seq). Then only can u do the import and the map channels screen should allow u do select the models you have added to sequencer. (just add one to try out) . Select a model and click "ADD.." , you should see all nodes pop down in the lsit for the model. (tick the By strand option just before this ) Then DOUBLE CLICK a couple of times in the right hand side column and u should see a list of LSP channels..  Select and start and after a few secs (< 30 for me) , it should be done.
Sorry am not at the xl computer , but have tried this a few times .
Gerry

Offline MrChristmas2000

  • Sr. Member
  • ****
  • Posts: 293
    • View Profile
Re: Release 4.01.01. Import of LSP now matches to xLights effects.
« Reply #26 on: June 13, 2015, 11:55:06 AM »
Think of the import this way.

You are not importing effects as per se. You are importing all the data in each LSPs controllers channels.

Let's say you have an LSP sequence that you wish to import the programming you have done on an an arch element.

Let's say for example you have 4 arches. In LSP you can either have those 4 arches defined in one controller or have each arch defined as individual controllers. It does not matter what type of controller just how you have structured it in LSP.

The way I have my arches defined in LSP is each arch has it's own controller definition.

For this example let's say that my first arch controller is called ARCH01. I have also changed the labels on each of the arch channels to be something like Arch 01 - Ch  1 etc. The starting address of this arch is 12331 and the length is 105 pixels.

In Nutcracker you will need to define an Arch model with a starting address of 12331 and a strand length of 105.

This process covers any LSP/Nutcracker element/model match up.

In this example I will only walk through importing this one arch.

First you open Nutcracker.
Select the 'Sequencer' tab.
Click on the 'New Sequence' icon or do 'File' -> 'New Sequence' or Ctrl + n
In the 'Sequencer settings' window select 'Musical Sequence'.
The select an audio file for this new sequence.
Om the next window select your desired time slice selection, I have just started using 25ms so I can do much finer timing on some of my elements.
In the 'Import Data(Optional):' select 'Skip>>'
In the 'Other Optional Tasks:' select 'Done>>'
When NC opens up a window with the 'New Timing' icon showing, right click on that icon and select 'Edit display elements'.

I just drag the 'Sequence Elements' window out onto the timing grid for better viewing.
click on the 'Add Models' button.
From the 'Add Models' window select the Nutcracker arch model you have previously defined and click 'Add'.
Then just click the 'x' on the window to close it. There is no 'finished, exit, or close' button in this window, or you could just drag the window back into the column and drop it, either way is fine.
If you want to see all the nodes in the Nutcracker 'arch' model just double click on the archs label and all the node channels will appear.
Next click 'Import' in the menu strip and select 'Import' effects.
Using the dropdown menu above the 'Open and Cancel' buttons select 'LSP2.x Sequence(*.msq).

NOTE OF CAUTION here. Version 2.0 sequences are completely different from 2.5 and 2.8 sequences and the importer is not configured to do the 2.0 sequences.

I put all my incoming files into my 'Nutcracker media files' folder but you could actually have them in any folder you like.

Browse to where you LSP sequence that you are going to import data from and select it, then click 'Open'.
Nutcracker is now analyzing your LSP file.
Then when the 'Map channels window opens your are ready to map your LSP elements/controllers to Nutcracker models.
There is a drop down menu button beside the 'Add Model For Import' button. Click that 'BLANK' button to locate the correct Nutcracker model. Highlight that model, btw you can click on multiple models and add them all at once, then click hte 'Add Model For Import' button.

Now it matters how you structured you controllers in LSP. If you have separated your controllers into individual controllers for each arch you should click the checkbox beside the 'Map by Strand/CCR'. Then on the left side all the nodes will disappear. Click tin the row where you see the 'Strand 1' under Strand. You have to click several times before the drop down window appears. When it does you will see the corresponding LSP Arch controller, highlight that controller and you have successfully mapped your LSP arch to your Nutcracker arch.

HIGHLY RECOMMENDED at this point to 'Save this mapping before clicking 'OK'. Give this mapping file an easily remembered name. It will be saved in one of your Nutcracker data folders depending on how you have NC configured for single or dual folders.

After you have saved this mapping click 'OK'.

Once the import is done double click on the arch model name and you will see all the imported data (effects) from your LSP sequence. Initially all you will see is white effects and icons. You just have to click one of the effects, IF RGB, and all the effects will change to their appropriate colors.

NOW FOR THE DOWNSIDE OF THE MAPPING.
If you have all of your controllers in LSP assigned to a single controller the 'Map by Strand/CCR' function will generally not work. You would then have to map each individual pixel in LSP to the associated pixel in the NC model. You can actually build a mapping file manually but if you don't have an excel spreadsheet with all your channels and controllers identified in it the process will be long and tedious.

Best solution and least timely would be to open your LSP sequence and split a controller with multiple arches or other similar elements into individual controllers.

I have my LSP megatree broken down into a controller for each strand of the tree. Some people have their megatree defined as a single controller. This may still allow for the use of the 'Map by Strand/CCR' option but I have not tried it yet.

Other mappings will have to be tested to determine the best methodology to accomplish it.

Offline scuba

  • Sr. Member
  • ****
  • Posts: 349
    • View Profile
Re: Release 4.01.01. Import of LSP now matches to xLights effects.
« Reply #27 on: June 17, 2015, 06:25:11 AM »
Sorry guys for the delay...just got back into town and I'll try the recommendations tonight
Thanks again
John

Offline scuba

  • Sr. Member
  • ****
  • Posts: 349
    • View Profile
Re: Release 4.01.01. Import of LSP now matches to xLights effects.
« Reply #28 on: June 17, 2015, 08:07:03 PM »
Well I gave it the good old college try!
"unhandled exception" error...I followed the instructions from Mr. Christmas.....This is a big MSQ file ~35MB.  I imported a single model/controller: Arch 1.  It "ran for about 3 minutes, then crashed
?

Offline gerry

  • Hero Member
  • *****
  • Posts: 695
    • View Profile
Re: Release 4.01.01. Import of LSP now matches to xLights effects.
« Reply #29 on: June 17, 2015, 08:15:50 PM »
Yes , there is an issue with these large LSP files.
the size of the xml is becoming too large to load into memory

You can import as a data layer ie via the settings , sequence settings , data layer tab , but this has to be exported out of LSP as a conductor file.

Import as effects
You can split the import into say two different imports ie 1/2 the channels in one and 1/2 in the other.
After each of the imports , use the 'promote node effects' against each model imported .
Right click against the model name on the sequencer tab (latest release)
Then save and see if the overall size of the xml is small enough.

Gerry