Custom Fixture XML - CLOSED

declare your DMX fixtures
Post Reply
flipc
Posts: 9
Joined: Tue Oct 01, 2024 9:18 pm
Location: USA

Custom Fixture XML - CLOSED

Post by flipc »

First reviewing XML file(s) it seems anything that does not have multiple levels does not need a level identifier.
Nor do they need closing

Code: Select all

 </Channel>
The following XMl I created for a light but within LC2 it only shows to CH 7 - Shutter. Then within that it suedo list the rest of the channels.
LC2-Fixture-XML-Issue.jpg
LC2-Fixture-XML-Issue.jpg (129.08 KiB) Viewed 1056 times
I did attempt to set a level for shutter and close it. But that didnt change anything.
So what is wrong with the following XML?

Code: Select all

<?xml version='1.0' encoding='UTF-8'?>
<Model brand="JC Lights" category="">
  <Mode modified="TRUE" name="12CH">
    <View>
      <Type>VIEW_TYPE_HEAD</Type>
      <Power>VIEW_POWER_4</Power>
      <AnglePan>540</AnglePan>
      <AngleTilt>270</AngleTilt>
      <AngleBeam>24</AngleBeam>
      <AngleBeamZoom>24</AngleBeamZoom>
      <ReversePan>FALSE</ReversePan>
      <ReverseTilt>FALSE</ReverseTilt>
      <ReverseDimmer>FALSE</ReverseDimmer>
      <ReverseIris>FALSE</ReverseIris>
      <Color>#ffffff</Color>
    </View>
<Channels>
      <Channel name="pan" path="pan-tilt/"/>
      <Channel name="pan_fine" path="pan-tilt/"/>
      <Channel name="tilt" path="pan-tilt/"/>
      <Channel name="tilt_fine" path="pan-tilt/"/>
      <Channel name="pan-tilt_speed" path="pan-tilt/"/>
      <Channel name="dimmer" path="dimmer/"/>
      <Channel name="shutter" path="shutter/">
      <Channel name="color_wheel" path="color_wheel/">
        <Level end="15" name="open" start="0"/>
        <Level end="31`" name="white" start="16"/>
        <Level end="47" name="dark_green" start="32"/>
        <Level end="63" name="dark_blue" start="48"/>
        <Level end="79" name="dark_yellow" start="64"/>
        <Level end="95" name="orange" start="80"/>
        <Level end="111" name="indigo" start="96"/>
        <Level end="127" name="blue" start="112"/>
        <Level end="191" name="rotate_right" start="128"/>
        <Level end="255" name="rotate_left" start="192"/>
      </Channel>
      <Channel name="gobo_wheel" path="gobo_wheel/">
        <Level end="7" name="gobo_generic/open" start="0"/>
        <Level end="15" name="metal/rr1b14" start="8"/>
        <Level end="23" name="metal_basic/GM009" start="16"/>
        <Level end="31" name="Miscellaneous/strobe" start="24"/>
        <Level end="39" name="metal_basic/sh11" start="32"/>
        <Level end="47" name="metal_basic/Z04773-11" start="40"/>
        <Level end="55" name="metal_basic/GM064" start="48"/>
        <Level end="63" name="metal_basic/GM032" start="56"/>
        <Level end="73" name=" metal_basic/GM030" start="64"/>
        <Level end="82" name="gobo_metal_complex/bricks" start="74"/>
        <Level end="91" name="gobo_generic/gobo9" start="93"/>
        <Level end="100" name="gobo_generic/gobo8" start="92"/>
        <Level end="109" name="gobo_generic/gobo7" start="101"/>
        <Level end="118" name="gobo_generic/gobo6" start="110"/>
        <Level end="127" name="gobo_generic/gobo5" start="119"/>
        <Level end="191" name="Miscellaneous/right_rotate" start="128"/>
        <Level end="255" name="Miscellaneous/left_rotate" start="192"/>
      </Channel>
      <Channel name="prism_rotate" path="prism/">
        <Level end="7" name="no_function" start="0"/>
        <Level end="127" name="prism" start="8"/>
        <Level end="255" name="rotate_counter_clockwise" start="128"/>
      </Channel>
       <Channel name="macros" path="macros/">
        <Level end="49" name="DMX" start="0"/>
        <Level end="200" name="auto1" start="50"/>
        <Level end="255" name="audio1" start="201"/>
      </Channel>
      <Channel name="reset" path="reset/">
        <Level end="240" name="closed" start="0"/>
        <Level end="255" name="reset" start="241"/>
      </Channel>
     </Channels>
  </Mode>
</Model>

Last edited by flipc on Tue Oct 01, 2024 10:27 pm, edited 1 time in total.
flipc
Posts: 9
Joined: Tue Oct 01, 2024 9:18 pm
Location: USA

Re: Custom Fixture XML

Post by flipc »

So I have gotten it sorted.
It seems you must restart LC2 every time you make a change to the XML file. I was assuming that loading for "External" would force update but it wasnt.

The other portion of my fix was to add 2 levels to my shutter

Code: Select all

      <Channel name="shutter" path="shutter/">
        <Level end="1" name="closed" start="0"/>
        <Level end="255" name="open" start="2"/>
      </Channel>
Which doesn't make since. It should allow just the single line. Like dimmer ...
support
Site Admin
Posts: 216
Joined: Wed Jan 17, 2024 12:30 pm

Re: Custom Fixture XML - CLOSED

Post by support »

Could you please post :
- a link to download the manual of your DMX fixture
- a ZIP of the library of the DMX fixture (the XML file)
It will help us a lot to understand your fixture and make the correct library.
It seems you must restart LC2 every time you make a change to the XML file. I was assuming that loading for "External" would force update but it wasnt.
Our software is supposerd to update in real time the rest of the lightshow following a DMX fixtures change.
However that the running scenes need to be switched off & on to get the changes.
That said, update everything in the lightshow (Generator, Boards, Timeline) following a DMX fixtures change is very sensible. So there may be still some problems. If you are able to reproduce one easily, please post a video showing that. Then we will work on it.
Loading for "External" will not change the problem.
flipc
Posts: 9
Joined: Tue Oct 01, 2024 9:18 pm
Location: USA

Re: Custom Fixture XML - CLOSED

Post by flipc »

You assume every light has a downloadable manual... Nope. Just a cheap ight with photocopied bad English instructions.

The XML was posted. Info within it was/is correct.
As noted I have sorted that issue and marked thread CLOSED. BUT WHY did the fix I posted make it work?
No running scenes as I haven't gotten that far yet.

I am working on another fixture profile XML right now. After which I will proceed to replicate the "have to restart" issue.
That will either be later tonight (17:16 here and off work at 18:00) or tomorrow.
support
Site Admin
Posts: 216
Joined: Wed Jan 17, 2024 12:30 pm

Re: Custom Fixture XML - CLOSED

Post by support »

The channel "shutter" is supposed to have at least the levels "closed" and "open".
It has sometimes the level "dimmer", but in your case the function "dimmer" is in a separate channel.
Here is the revised profile.
There is still a problem with the channel 'gobo'. We suspect some levels are gobos with shake effect, but we can not check without the manual.

We suggest you to edit our file and yours to watch the differences.
Attachments
JcXgpCkx.xml
(3.78 KiB) Downloaded 99 times
Post Reply