I am trying to use this script to input a network but I have a few questions:
* Should I be using "Single Network" or "Multi-Network" in xLights?
A "clean" export of a four universe setup from LSP I get this in the LMS file:
----------------------------
<channel name="Channel #1" color="255" centiseconds="113379" deviceType="LOR" unit="1" circuit="1" savedIndex="0">
<effect type="intensity" startCentisecond="910" endCentisecond="9905" intensity="0" />
<effect type="intensity" startCentisecond="9905" endCentisecond="113379" intensity="0" />
</channel>
<channel name="Channel #1" color="32768" centiseconds="113379" deviceType="LOR" unit="1" circuit="2" savedIndex="1">
<effect type="intensity" startCentisecond="910" endCentisecond="9905" intensity="0" />
<effect type="intensity" startCentisecond="9905" endCentisecond="113379" intensity="0" />
</channel>
<channel name="Channel #1" color="16711680" centiseconds="113379" deviceType="LOR" unit="1" circuit="3" savedIndex="2">
<effect type="intensity" startCentisecond="910" endCentisecond="9905" intensity="0" />
<effect type="intensity" startCentisecond="9905" endCentisecond="113379" intensity="0" />
</channel>
---------------------------------
After I run it through "SetNet" it changes it to:
---------------------------------
<channel centiseconds="113379" circuit="1" color="255" deviceType="LOR" name="Channel #1" savedIndex="0" unit="1">
<effect endCentisecond="9905" intensity="0" startCentisecond="910" type="intensity" />
<effect endCentisecond="113379" intensity="0" startCentisecond="9905" type="intensity" />
</channel>
<channel centiseconds="113379" circuit="2" color="32768" deviceType="LOR" name="Channel #1" network="1" savedIndex="1" unit="1">
<effect endCentisecond="9905" intensity="0" startCentisecond="910" type="intensity" />
<effect endCentisecond="113379" intensity="0" startCentisecond="9905" type="intensity" />
</channel>
<channel centiseconds="113379" circuit="3" color="16711680" deviceType="LOR" name="Channel #1" network="1" savedIndex="2" unit="1"> <effect endCentisecond="9905" intensity="0" startCentisecond="910" type="intensity" />
<effect endCentisecond="113379" intensity="0" startCentisecond="9905" type="intensity" />
</channel>
--------------------------
My settings in SetNet are:
networks = [{'stIndex':1,'endIndex':512, 'net':1},
{'stIndex':513,'endIndex':1024, 'net':2},
{'stIndex':1025,'endIndex':1536, 'net':3},
{'stIndex':1537,'endIndex':2048, 'net':4}]
In LSP I have 4 E131 universes, each with 512 channels numbered sequentally:
Universe 1 - 1 -512
Universe 2 - 513-1024
Universe 3 - 1025-1536
Universe 4 - 1537-2049
While it works fine for output in LSP, I can't get it to output in xLights. Any help you can provide would be appreciated!
David